6. Authentication

To use the Agents Availability API, you need a bearer access token. Your bearer access token authenticates your request to the API. The API will check that you are authorized to make requests. For information about getting and using a bearer access token, see Authentication for Vonage Contact Center APIs (using the new API gateway). When requesting your bearer access token, use agents-availability:read as the value for scope.

Token expiration

Your bearer access token is only valid for use for two hours after being issued. After this time, the token expires and you must request a new token.