Mint a QR device-enrollment ticket for the signed-in user (the dashboard/tenant app renders `qr`).
POST
Secret API key operationId: mint_enrollment_ticket/v1/os/devices/enrollment-ticket Authorization
Server-to-server. Send a secret key as a Bearer token plus the x-application-id header.
Request body · required
labelstring
Responses
201 Ticket (render `qr` as a QR code)
{
"data": {
"application_id": "018f3c4a-7b2e-7c1d-9e0a-1f2b3c4d5e6f",
"expires_at": "2026-01-15T09:30:00Z",
"qr": "string",
"ticket": "string"
},
"error": {
"code": "string",
"message": "string"
},
"meta": {
"timestamp": "string"
},
"success": false
}Request
curl -X POST "https://api.identrahq.com/v1/os/devices/enrollment-ticket" \
-H "Content-Type: application/json" \
-d '{
"label": "string"
}'Try it
live requestPOST
https://api.identrahq.com/v1/os/devices/enrollment-ticket