Proof Of Address Certificate API
The API generates a PDF proof of address certificate for a given OkHi location ID. It combines generation and download into a single endpoint.
API Endpoint
Endpoint:
Path Parameter: locationId
(required) - The unique OkHi identifier of the location for which the certificate is requested.
Authentication
This API requires basic authentication. Username branchID
and password: server key
. Find your branch ID
and server key
on OkDash.
Response Formats
Success Responses:
Status Code | Body | Description |
202 Accepted |
| PDF generation initiated, certificate will be available later |
200 OK | PDF file | Certificate generated and downloaded successfully |
Error Responses:
Status Code | Body | Description |
400 |
| Invalid location ID provided |
401 |
| Invalid or missing token |
409 |
| A PDF generation request for the same location ID already exists |
429 |
| Rate limit exceeded |
Usage Example
Request 1: Initiate PDF Generation
Response:
Request 2: Download Generated Certificate
Response:
Last updated