v1

latestOpenAPI 3.0.12026-08-0620949.4 KB
OAuth

Request an access token

Requests an OAuth access token which is required for executing API requests. The token is valid for a maximum of 2 hours, after which a new token must be requested. A client_id and client_secret pair can be generated in the Reload Mailing app under settings -> Reloadify API.

post/oauth/token

Request body

grant_typestring required
client_idstring required
client_secretstring required

Example request

{
  "grant_type": "client_credentials",
  "client_id": "LsU5YC9-FuE2fKImvyeeYQ0oJuog_pbu8Bq2djAck3A",
  "client_secret": "DdvQosnHDSXvkAHvXBt_pkv_12EicjlvTXdi8lenWXU"
}

Response

Access token issued

access_tokenstring
token_typestring
expires_ininteger

The duration in number of seconds

created_atinteger

The number of seconds since the Epoch (January 1, 1970 00:00 UTC) when the token was issued

Example response

{
  "access_token": "0ZcnX9K9xJgCH5Ak_49-aoN_gB4z7qejVpsVazDSrM4",
  "token_type": "Bearer",
  "expires_in": 7200,
  "created_at": 1593683278
}