OAuth Requests

Create Token

post
Authorizations
Path parameters
partner_idstringRequired
Query parameters
client_idstringOptional
client_secretstringOptional
grant_typestringOptional
codestringOptional
Body
client_idstringRequired
client_secretstringRequired
grant_typestringRequired
codestringRequired
Responses
201

Successful Response

application/json
Responseany
post
/{partner_id}/oauth/token
POST /{partner_id}/oauth/token HTTP/1.1
Host: 
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 77

{
  "client_id": "text",
  "client_secret": "text",
  "grant_type": "text",
  "code": "text"
}

No content

Revoke Token

post
Authorizations
Path parameters
partner_idstringRequired
Query parameters
client_idstringOptional
client_secretstringOptional
tokenstringOptional
Body
client_idstringRequired
client_secretstringRequired
tokenstringRequired
Responses
200

Successful Response

application/json
Responseany
post
/{partner_id}/oauth/token/revoke
POST /{partner_id}/oauth/token/revoke HTTP/1.1
Host: 
apikey: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 58

{
  "client_id": "text",
  "client_secret": "text",
  "token": "text"
}

No content

Last updated

Was this helpful?