Device Auth
Poll Device Token
Poll for an API key after device code authorization
POST
Overview
Polls for the result of a device authorization flow. The agent should call this endpoint every 5 seconds (theinterval from the device code response) until it receives an API key or the code expires.
No authentication required.
Body Parameters
The
device_code returned by Create Device CodeResponse
Success (200) — User has authorized
The API key to use for future requests (e.g.,
dk_abc123...)First 8 characters of the key
Pending (428) — User hasn’t authorized yet
interval seconds.
