News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Can I use sms API without .env/.cfg etc?
Tags: sms and text messaging, getting started, rest api
Jul 14, 2021 at 3:07pm   •   2 replies  •  0 likes
Steve Johnson

I'm pretty new to APIs and am having a hard time applying the sms API.

Is there a way to simply save variables like RINGCENTRAL_CLIENT_ID in the actual script?

Python



on Jul 14, 2021 at 3:22pm   •  1 likes

Hey, @Steve Johnson We've moved this to the Developer space for more visibility!

1 Answer
answered on Jul 14, 2021 at 3:31pm  

Absolutely, using the .env or other configurations is just a great way to avoid putting sensitive information such as app credentials, username and password etc, in the code. But if you just want to test or you are sure your code is in a safe place, you can put the value directly on your code.


 1
on Jul 14, 2021 at 3:41pm   •  0 likes

Is there a place I can just post the 10 lines of code?

on Jul 14, 2021 at 3:39pm   •  0 likes

Thanks, so that isn't my mistake

lol there are so many errors thrown that I don't know what's wrong

for instance what am I supposed to do with '404 Client Error: Not Found for url' I've checked it and it is correct



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us