API Reference
Post oauth2token
databases
developers
workspaces
API Reference
API Reference
Post oauth2token
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
Body
application/x-www-form-urlencoded
Response
default - application/json
default response
The response is of type any
.
Was this page helpful?
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>"