Device Token Exchange

OAuth 2.0 token endpoint for device authorization. Supports multiple grant types: polling for device authorization (device_code) and refreshing tokens (refresh_token).

Request

client_idstringRequired
Must be a unique identifier per hardware device, such as a unique hardware serial number. Must be the same as the client id used on initial authorization.
client_secretstringRequired

A static string, provided by Frame.io to be embedded for a device manufacturer/model. Acts as an identifier within Frame.io.

grant_typeenumRequired

Grant type - use ‘urn:ietf:params:oauth:grant-type:device_code’ for polling, or ‘refresh_token’ for refreshing an access token

Allowed values:
device_codestringOptional

The device code received from the /v2/auth/device/code endpoint. Required when grant_type is ‘urn:ietf:params:oauth:grant-type:device_code’.

refresh_tokenstringOptional

A valid refresh_token from a previous authorization. Refresh tokens are valid for 14 days from issuance. Required when grant_type is ‘refresh_token’.

Response

OK