Skip to main content
POST
/
v1
/
cli
/
auth
/
token
Poll for device token
curl --request POST \
  --url https://api.strait.dev/v1/cli/auth/token \
  --header 'Content-Type: application/json' \
  --data '
{
  "device_code": "<string>",
  "grant_type": "<string>"
}
'
{
  "$schema": "<string>",
  "detail": "<string>",
  "errors": [
    {
      "location": "<string>",
      "message": "<string>",
      "value": "<unknown>"
    }
  ],
  "instance": "<string>",
  "status": 123,
  "title": "<string>",
  "type": "about:blank"
}

Documentation Index

Fetch the complete documentation index at: https://docs.strait.dev/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json
device_code
string
required
grant_type
string
required

Response

OK