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.
Overview
All didx:verify API endpoints require an OAuth2 Bearer token with thesc-citizen scope.
Obtaining a Token
Use the OAuth2client_credentials grant with your clientId and clientSecret:
Response
Using the Token
Include the token as a Bearer token in all API requests:Checking System Status
Before making verification calls, you can check whether the Department of Home Affairs (DHA) systems are online:Consent Requirement
Every API request that processes personal information requires"ConsentReceived": true in the request body. This documents that you have obtained the subject’s informed consent to process their personal data, as required by POPIA.
HTTP Status Codes
| Code | Meaning |
|---|---|
200 | Success |
401 | Unauthenticated, token is missing or expired |
403 | Unauthorized, your token doesn’t have access to this resource |
500 | Internal server error |
504 | Backend gateway error, DHA is unavailable |

