Poll the status of a pending device code
curl --request POST \
--url https://breadbox.example.com/api/v1/auth/device-code/poll \
--header 'Content-Type: application/json' \
--data '
{
"device_code": "<string>"
}
'{
"token": "<string>"
}Auth
Poll the status of a pending device code
Unauthenticated; the device_code is the credential. Returns one of:
200 {status: "authorization_pending"}— keep polling200 {status: "approved", token: "bb_..."}— token returned exactly once400 {error: {code: "EXPIRED"}}— past the TTL400 {error: {code: "DENIED"}}— operator refused404 {error: {code: "INVALID_DEVICE_CODE"}}— unknown code
POST
/
api
/
v1
/
auth
/
device-code
/
poll
Poll the status of a pending device code
curl --request POST \
--url https://breadbox.example.com/api/v1/auth/device-code/poll \
--header 'Content-Type: application/json' \
--data '
{
"device_code": "<string>"
}
'{
"token": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://docs.breadbox.sh/llms.txt
Use this file to discover all available pages before exploring further.
⌘I