OAuth Requests

Create Token

post
Authorizations
Path parameters
partner_idstringRequired
Body
client_idstringRequired
client_secretstringRequired
grant_typestringRequired
codestringRequired
Responses
201

Successful Response

application/json
Responseany
post
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
Body
client_idstringRequired
client_secretstringRequired
tokenstringRequired
Responses
200

Successful Response

application/json
Responseany
post
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

Was this helpful?