Skip to main content

https://developers.ringcentral.com/engage/voice/guide/authentication/auth-legacy

Followed the instructions located here to generate an auth token and successfully got an auth token back with a POST to the https://portal.virtualacd.biz/api/v1/auth/login with my username/password. The next step is to use that auth token to generate an API token. I did a POST to https://portal.vacd.biz/api/v1/admin/token 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 https://portal.virtualacd.biz/api/v1/admin/login 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.
https://developers.ringcentral.com/engage/voice/guide/authentication/auth-engage


Please help...

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


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 virtualacd.biz. You should just use that server for your API requests.

To create a permanent API token, use this instead:

POST https://portal.virtualacd.biz/api/v1/admin/token 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: https://developers.ringcentral.com/engage/voice/guide/authentication/auth-engage.


Reply