Documentation Index
Fetch the complete documentation index at: https://docs.didx.co.za/llms.txt
Use this file to discover all available pages before exploring further.
Error Response Format
All APIs follow the JSON:API error format. Errors are returned as an array in theerrors field:
| Field | Description |
|---|---|
id | Unique identifier for this error occurrence |
status | HTTP status code as a string |
code | Machine-readable error code |
title | Short, human-readable summary of the error |
detail | Specific explanation of what went wrong |
source.pointer | JSON pointer to the request field that caused the error |
source.parameter | Query parameter that caused the error (if applicable) |
meta | Additional metadata about the error (if applicable) |
detail is guaranteed to be present. All other fields are optional.
HTTP Status Codes
| Status | Code | Description |
|---|---|---|
| Unauthorized | 401 | Authentication token is missing or has expired, request a new token |
| Bad Request | 400 | The request contains invalid or malformed parameters |
| Not Found | 404 | The requested resource (template, user, presentation, etc.) doesn’t exist |
| Conflict | 409 | The resource already exists (e.g., duplicate user) |
| Internal Server Error | 500 | An unexpected error occurred on the server. Retry after a short delay; contact support if it persists. |
Common Errors
401 Unauthorized
401 Unauthorized
400 Bad Request
400 Bad Request
The request body contains invalid data. Check the
detail and source fields to identify the issue.404 Not Found
404 Not Found
The resource you referenced doesn’t exist. This typically means a template ID, user ID, or presentation ID is incorrect or has been deleted.
409 Conflict
409 Conflict
The resource you are trying to create already exists.
500 Internal Server Error
500 Internal Server Error
An unexpected error occurred on the server. This is not caused by your request. Retry after a short delay; if the issue persists, contact support.

