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
How to consume the GetAllContents API, what is the account_name & platform_hostname & how to authenticate each request?
Tags: api auth
Jul 12, 2021 at 12:30am   •   3 replies  •  0 likes
Sahoo Suraj

In the curl request, what is the account_name & platform_hostname & how to authenticate each request. For each api request we might need the token, so where do we get that and does the token have a session time out too?

3 Answers
answered on Jul 13, 2021 at 12:15am  

@Craig Chan Will the access token generated have any validity or it has no session end?


 0
on Jul 13, 2021 at 1:01pm   •  0 likes

@Sahoo Suraj, the access token does not expire (no session end), but the token could be disabled by the user or the user themselves could be disabled resulting in the token getting disabled.

answered on Jul 12, 2021 at 10:18am  

account_name: each customer is given their own subdomain name. For instance Sahoo.api.digital.ringcentral.com.

platform_hostname: We have a couple as older accounts are on an older domain (<YOUR-DOMAIN>.api.engagement.dimelo.com) or a newer domain (<YOUR-DOMAIN>.api.digital.ringcentral.com)

You can find details about generating a token here: https://developers.ringcentral.com/engage/digital/guide/basics/access-token


 0
answered on Jul 12, 2021 at 9:43am  

@Phong Vu I believe he is asking the value of these parameter {account_name} {platform_hostname} in the API url

1626108115053.png


 0



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