Authentication

Obtain your `accessToken`

post/api/v1/auth/token

Request

  • Base URL
    https://partner-api.monta.com
  • URL
    https://partner-api.monta.com/api/v1/auth/token
  • Auth
    none required

Request body

clientIdstring required
clientSecretstring required

Response

Successfully created access token

accessTokenstring required

Access token, required to interact with our endpoints.

refreshTokenstring required

Refresh token, required to get a new access token.

accessTokenExpirationDatestring date-time required

Expiration date of access token (1 hour)

refreshTokenExpirationDatestring date-time required

Expiration date of refresh token (24 hours)

Example response

{
  "accessToken": "5a6d4da1-6af3-420b-9c15-6ecb5f6de199",
  "refreshToken": "83b766d4-476e-4dd1-b11e-f57e856c890d",
  "accessTokenExpirationDate": "2022-05-11T07:03:04.675035Z",
  "refreshTokenExpirationDate": "2023-05-12T07:03:04.675055Z"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.