← All documentation

API quickstart

The public API is available on Starter and Pro under /v1. Dashboard cookies never authenticate API requests.

Create an API key

Create a key in Settings → API and copy it immediately. Store it in a secret manager. Send it as a Bearer token.

curl https://certkit.logicues.com/v1/me \
  -H "Authorization: Bearer ck_live_REPLACE_ME"

Issue a certificate

curl https://certkit.logicues.com/v1/certificates \
  -X POST \
  -H "Authorization: Bearer ck_live_REPLACE_ME" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: completion-88213" \
  --data '{
    "template_id":"tpl_REPLACE_ME",
    "recipient":{"name":"Aisha Verma","email":"[email protected]"},
    "fields":{"course":"Advanced TypeScript","score":"94%"},
    "external_id":"completion-88213",
    "delivery":{"method":"none"}
  }'

Successful responses include request_id, verification and download URLs, render status, and delivery status. Keep the X-Request-Id header when investigating a failure.