databases

GET /v1/databases/{databaseId}/ca-certificate

The CA certificate that verifies this database's server.

All databases endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

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

NameTypeRequiredWhat it is
databaseId (path)stringYes—

Response

NameTypeRequiredWhat it is
database_idstringYes—
server_castring<platform, operator>Yes—
verify_full_readybooleanYesTrue 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.
filenamestringYes—
pemstringYesThe CA certificate
subjectstringYes—
fingerprint_sha256stringYesSHA-256 fingerprint of the DER certificate, colon-separated hex.
not_afterstringYes—

Errors this endpoint can return

401 · 403 · 404