Rainbow · Example Payload

Rainbow Get Oauth Token Example

CommunicationsCPaaSChatVoiceVideoTelephonyMessagingCollaborationUnified Communications

Rainbow Get Oauth Token Example is an example object payload from Rainbow, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://openrainbow.com/api/rainbow/oauth/token",
    "headers": {
      "Content-Type": "application/x-www-form-urlencoded"
    },
    "body": "grant_type=client_credentials&client_id=YOUR_CLIENT_ID&client_secret=YOUR_CLIENT_SECRET"
  },
  "response": {
    "status": 200,
    "body": {
      "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...",
      "token_type": "Bearer",
      "expires_in": 3600,
      "scope": "all"
    }
  }
}