Skip to content

Poll device login for token

POST
/v1/auth/device/token
curl --request POST \
--url https://shareout.site/v1/auth/device/token \
--header 'Content-Type: application/json' \
--data '{ "device_code": "example" }'

Poll with the device_code secret. Returns pending until the browser OAuth step completes, then delivers the so_ token exactly once.

Media type application/json
object
device_code
required
string
Example generated
{
"device_code": "example"
}

Pending or approved

Media type application/json
One of:
object
status
required
string
Allowed values: pending
interval
required
integer
Example
{
"status": "pending"
}

Expired_token, access_denied, or invalid_grant