The POST /Auth/connect/token
endpoint creates a bearer access token for the provided client credentials.
Panel |
---|
borderColor | #eeeeee |
---|
bgColor | white |
---|
titleColor | white |
---|
borderWidth | 1 |
---|
titleBGColor | #7ec9f4 |
---|
borderStyle | solid |
---|
title | In this page |
---|
|
|
Insert excerpt |
---|
| _ExcerptAPICloudNextGen |
---|
| _ExcerptAPICloudNextGen |
---|
nopanel | true |
---|
|
Request parameters
Insert excerpt |
---|
| _ExcerptAuthenticationAPIRequestParameters |
---|
| _ExcerptAuthenticationAPIRequestParameters |
---|
nopanel | true |
---|
|
Example request
Code Block |
---|
language | powershell |
---|
theme | Midnight |
---|
|
curl -X POST \
https://emea.newvoicemedia.com/Auth/connect/token \
-H 'content-type: application/x-www-form-urlencoded' \
-d 'grant_type=client_credentials&client_id=abcde&client_secret=12345&scope=agents-availability%3Aread' |
Responses
Responses contains the new bearer access token.
Successful response
Successful requests return a 200 Success
code and the token.
Example response
Code Block |
---|
|
{
"access_token": "abcde12345",
"expires_in": 7200,
"token_type": "Bearer"
} |
Insert excerpt |
---|
| _ExcerptRunInPostman |
---|
| _ExcerptRunInPostman |
---|
nopanel | true |
---|
|