Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To use the Interactions API, you need a bearer access token. Your bearer access token authenticates your request to the API.

Getting a bearer access token

Use Vonage Contact Center’s Authentication API to get your bearer access token. For information about using the API to get a bearer access token, see Getting your bearer access token. When requesting your bearer access token, use interactions:write 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.

Using a bearer access token

When you have acquired your bearer access token, you must provide it in every request you make to the Interactions API. For information about using the bearer access token, see Using your bearer access token.