POST
/
oauth2
/
token
curl --request POST \
  --url https://global.thenile.dev/oauth2/token \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'grant_type=<string>' \
  --data 'code=<string>' \
  --data 'code_verifier=<string>' \
  --data 'redirect_uri=<string>' \
  --data 'client_id=<string>' \
  --data 'client_secret=<string>' \
  --data 'refresh_token=<string>' \
  --data 'scope=<string>'
"<any>"

Headers

Authorization
string

Body

application/x-www-form-urlencoded
grant_type
string
code
string
code_verifier
string
redirect_uri
string
client_id
string
client_secret
string
refresh_token
string
scope
string

Response

default - application/json
default response

The response is of type any.