Skip to main content
POST
Generate Access Token

Body

application/x-www-form-urlencoded

The form-encoded credentials for the client credentials grant.

grant_type
enum<string>
required

The OAuth 2.0 grant type. The supported value is client_credentials.

Available options:
client_credentials
client_id
string
required

Your Workspace ID. The API key dashboard displays the Workspace ID at Settings > Account > API keys.

client_secret
string
required

The API key value. The dashboard displays the API key only once, when you create the key.

Response

MoEngage issued an access token and a refresh token. Store both tokens. The refresh token stays valid for 30 days.

status
string

The status of the request. The value is SUCCESS for a successful request.

Example:

"SUCCESS"

data
object