Skip to main content
POST
/
v1
/
auth
/
device
/
start
Start Device Login
curl --request POST \
  --url https://almanac-backend-83vc.onrender.com/v1/auth/device/start \
  --header 'Authorization: Bearer <token>'
{
  "device_code": "<string>",
  "expires_in": 123,
  "user_code": "<string>",
  "verification_uri": "<string>",
  "interval": 5,
  "verification_uri_complete": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

device_code
string
required
expires_in
number
required
user_code
string
required
verification_uri
string
required
interval
number
default:5
verification_uri_complete
string | null