Access tokens

Create a token

Create a new access token based on client ID and client secret.

post/auth/token

Request

  • Base URL: https://api.sandbox.monite.com/v1
  • URL: https://api.sandbox.monite.com/v1/auth/token
  • Auth: none declared. Required headers: x-monite-version

Headers

x-monite-versionstring required

Request body

client_idstring uuid required

Your partner client ID obtained from the "API Credentials" section of Monite Partner Portal. Note that the sandbox and production environment use different client IDs.

client_secretstring required

Your partner client secret obtained from the "API Credentials" section of Monite Partner Portal. Note that the sandbox and production environment use different client secrets.

entity_user_idstring uuid

ID of the entity user to generate the access token for. Used only if grant_type is entity_user.

grant_type'client_credentials' | 'entity_user' required

Response

Successful Response

access_tokenstring required

The access token. Send it in the Authorization: Bearer ACCESS_TOKEN header in subsequent API calls.

expires_ininteger required

The token expiration time, in seconds.

token_typestring required

Always "Bearer".

Changes

No recorded changes to this operation across all 1 revision of this API.