Skip to Content
ZelithoZelitho Docs
Api reference

Initiate Device Pairing

Starts an RFC 8628-style device pairing request for an agent or CLI instance. Requires a `zl_live_` bootstrap key.

POST
/api/v1/auth/pairings

Starts an RFC 8628-style device pairing request for an agent or CLI instance. Requires a zl_live_ bootstrap key.

Authorization

BootstrapKey
headerAuthorizationBearer <token>

Workspace bootstrap key (zl_live_...) used only to initiate /api/v1/auth/pairings.

Request Body

application/json
  1. body
client_instance_id*string
Lengthlength <= 128
connector_label*string
Lengthlength <= 64
requested_scopes*array<>

Response Body

Pairing initiated with pairing_id, device_code, verification_phrase, and approval_url.

Example Request
curl -X POST 'https://app.zelitho.com/api/v1/auth/pairings' \  -H 'Content-Type: application/json' \  -d '{  "client_instance_id": "string",  "connector_label": "string",  "requested_scopes": [    "org_credits:read"  ]}'
Example Response
Empty