POST

Exchange OAuth Token

/api/oauth2/token

Exchanges an OAuth2 authorization code for an access token.

Authentication

Auth TypeOauth
ScopesNone
Rate LimitDefault

Parameters

No parameters documented.

Code Examples

curl -X POST "https://hammity.app/api/v1/api/oauth2/token" \
  -H "Authorization: Bearer YOUR_TOKEN"

Schemas

Request

{}

Response

{
  "access_token": "...",
  "token_type": "Bearer",
  "expires_in": 3600
}

Try It

Response will appear here.