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-urlencoded
collapse 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

Content type
application/json
Copy
Collapse all
{
  • "access_token": "string",
  • "expires_in": 0
}

Encountering issues

Contact our support

What's new? Check out

Release Notes

Unsure about a term? See

Glossary

Research panel

Help shape the future of our products
Learn more
Service status

Copyright @ 2006-2025 Infobip ltd.