CAMARA OAuth2 Scheme

Authentication

All Vonage APIs require authentication; most Vonage APIs are accessed using JWT authentication which can be created using the Vonage CLI or the Vonage online tool. The CAMARA APIs can additionally be accessed using the OAuth 2.0 Client Credentials flow by providing a JWT Bearer token to the OAuth Token endpoint (https://api.nexmo.com/oauth2/token).

Example call for token

curl https://api.nexmo.com/oauth2/token\?grant_type\=client_credentials -H "Authorization: Bearer $jwt"

Example flow

Simplified OAuth 2.0 flow with client credentials:

Resource ServerAuthorization ServerClientResource ServerAuthorization ServerClientAccess Token Requestcurl https://api.nexmo.com/oauth2/token\?grant_type\=client_credentials -H "Authorization: Bearer $jwt"Access Token ResponseContains a new JWT tokenCAMARA API RequestSee each of the CAMARA API's documentationfor authentication use the newly generated token