Skip to content

Exchange credentials for an access token

POST
/oauth/token
curl --request POST \
--url https://api.hedgespecialty.com/api/v1/oauth/token

grant_type=authorization_code (+ PKCE) and grant_type=refresh_token for per-user connections; grant_type=client_credentials with your client_id + client_secret for machine credentials. Form-encoded.

Token response ({access_token, token_type, expires_in, scope})

Invalid request or grant

Invalid credentials