Create OAuth2 token
Generate OAuth2 access token that can later on be used to authenticate other Infobip API calls.
Please log in to see full path URL. Learn why.
post
/auth/1/oauth2/token
Request Body schema:
application/x-www-form-urlencodedcollapse all -
client_id required | string The username created when signing up with Infobip. |
client_secret required | string The password created when signing up with Infobip. |
grant_type required | string Value: "client_credentials" Grant type as defined by the OAuth framework. |
Responses
200
successful response
400
Bad Request
4XX
Error responses
500
Internal Server Error
5XX
Error responses
Response samples
- 200
- 400
- 4XX
- 500
- 5XX
Content type
application/json
Copy
Collapse all {- "access_token": "string",
- "expires_in": 0
}
Need assistance
Encountering issues
What's new? Check out
Unsure about a term? See