Skip to main content
POST
Refresh Access Token

Rate Limit

This endpoint allows 30 requests per 10 minutes and 5 requests per minute. Both limits apply per client_id and client_secret pair. A 429 response includes a Retry-After header that gives the number of seconds to wait. Refresh proactively, a few minutes before the access token expires, instead of waiting for an ER008 on an API call. Use the expires_in value returned with the access token to schedule the refresh.

Body

application/x-www-form-urlencoded

The form-encoded parameters for the refresh token grant.

grant_type
enum<string>
required

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

Available options:
refresh_token
client_id
string
required

Your Workspace ID. The value must match the Workspace ID that the refresh token was issued to, or the request fails with ER013.

refresh_token
string
required

The refresh token returned by Generate Access Token. The refresh token is valid for 30 days.

Response

MoEngage issued a new access token. The refresh token sent in the request remains valid until the token reaches its 30-day expiry.

status
string

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

Example:

"SUCCESS"

data
object