compute
POST /v1/connect/enrol
Redeem a single-use install token (machine-to-engine).
Authentication
This endpoint is public. It takes no credential and no organisation — it is what our own marketing site and AI answer engines read.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X POST https://api.zinndigital.com/v1/connect/enrol \
-H "Content-Type: application/json" \
-d '{ "token": <string>, "os_id": <string>, "os_version": <string> }'Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Called once by the install script. Checks the token (single use, 30 minutes) and the operating system (AlmaLinux 9/10, Rocky 9/10, Ubuntu 24.04/26.04); returns the agent token once (stored as a digest only). Refusal codes: unknown_token 401, token_used 409, token_expired 410, wrong_org 403, unsupported_os / os_mismatch 422. Throttled connect-agent 60/min.
Request body
| Name | Type | Required | What it is |
|---|---|---|---|
token | string | Yes | — |
os_id | string | Yes | — |
os_version | string | Yes | — |
os_name | string | No | — |
hostname | string | No | — |
kernel | string | No | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
data | object | Yes | — |
Errors this endpoint can return
400 · 401 · 403 · 409 · 410 · 422 · 429