Skip to content

Start the device authorization flow

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

RFC 8628. Form-encoded client_id (+ optional scope). Returns a device_code to poll /oauth/token with (grant_type=urn:ietf:params:oauth:grant-type:device_code), plus a user_code and verification_uri the broker opens to approve. Codes expire after 15 minutes; poll no faster than the returned interval.

Device authorization ({device_code, user_code, verification_uri, verification_uri_complete, expires_in, interval})

Unknown client