News & Announcements User Community Developer Community

Welcome to the RingCentral Community

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

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
Engage Access Token / API Token (Unauthorized 401)
Tags: engage voice, rest api
Jul 29, 2021 at 2:18pm   •   2 replies  •  0 likes
Dylan Bowman

Followed the instructions located here to generate an auth token and successfully got an auth token back with a POST to the with my username/password. The next step is to use that auth token to generate an API token. I did a POST to with the "X-Auth-Token" header and value of my auth token and get a 401 unauthorized. I tried to POST to the other one at and get a 404 not found. I am considered a "super admin" with all the privileges I need to be able to access and generate an API token. Why is it saying I am unauthorized?

I have also attempted following these directions to generate an engage access token but have no idea what platformId is and there is no direction as to where I need to find that information from.

Please help...

2 Answers
answered on Jul 30, 2021 at 3:00pm  

Looks like there is a typo there (or cut and paste error).

First, you only belong to one platform "vacd" or "virtualacd". Looks like your account is on You should just use that server for your API requests.

To create a permanent API token, use this instead:

POST X-Auth-Token: {authTokenOrApiToken}

Notice that the endpoint is token and not login.

For platformId, you should contact your CSM. There's an "Also Note" on this page about it:

answered on Jul 30, 2021 at 12:13pm  

I guess @Phong Vu can help here. Tagging him in the question for better visibility

answered on Jul 29, 2021 at 2:55pm  



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

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

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