databases
GET /v1/databases/{databaseId}/ca-certificate
The CA certificate that verifies this database's server.
Authentication
Send an API key as a bearer token. The key must carry the databases.view permission; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/databases/{databaseId}/ca-certificate \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
Gated on databases.view. Returns the Zinn Digital® managed-database root CA in PEM, with its fingerprint and expiry, and whether this server already presents a certificate it signs (verify_full_ready). Use it as sslrootcert with sslmode=verify-full so the client authenticates the server, not merely encrypts.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
databaseId (path) | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
database_id | string | Yes | — |
server_ca | string<platform, operator> | Yes | — |
verify_full_ready | boolean | Yes | True when this server already presents a certificate signed by this CA. False for a server still on the operator's certificate (built before 2026-11-27) until it is moved over. |
filename | string | Yes | — |
pem | string | Yes | The CA certificate |
subject | string | Yes | — |
fingerprint_sha256 | string | Yes | SHA-256 fingerprint of the DER certificate, colon-separated hex. |
not_after | string | Yes | — |
Errors this endpoint can return
401 · 403 · 404