REST APIOAuth
Token
OAuth 2.0 token endpoint. Exchanges an authorization code, client credentials, or refresh token for an access token.
Request Body
application/x-www-form-urlencoded
client_id?|
client_secret?|
code?|
code_verifier?|
grant_type*string
org_id?|
redirect_uri?|
refresh_token?|
user_id?|
Response Body
application/json
application/json
curl -X POST "https://api.poggio.io/v1/oauth/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'grant_type=string'{
"access_token": "string",
"expires_in": 0,
"refresh_token": "string",
"scope": "string",
"token_type": "string"
}{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}