Error
authentication_required
Status 401 Unauthorized. Authentication is required.
What to do
Send a live API key of the brand, or an agent's live credential, in Authorization, as a bearer token.
Who answers it
- Create a challenge
POST /challenges - Read a challenge
GET /challenges/{id} - Cancel a challenge
POST /challenges/{id}/cancel - List a challenge's deliveries
GET /challenges/{id}/deliveries - Read a challenge's frames
GET /challenges/{id}/frames - List events
GET /events - Read an event
GET /events/{id} - Deliver an event again
POST /events/{id}/redeliver - Refer a person
POST /subjects - Search subjects by reference
POST /subjects/search - Read a subject
GET /subjects/{id} - Enroll a reference face
PUT /subjects/{id}/reference-face - Delete a reference face
DELETE /subjects/{id}/reference-face - Ask a person to delegate
POST /delegations - Read a delegation request
GET /delegations/{id}
An example
{
"error": {
"code": "authentication_required",
"message": "Authentication is required.",
"details": [],
"request_id": "01JD2RD9E1G3J5K7M9N1P3R5S7",
"doc_url": "https://xipid.org/errors/authentication_required"
}
}