Skip to content
Documentation
Hevia for developers

Quickstart in 5 minutes

Create a key, make your first call, receive and verify a webhook.

1. Create a key

Open the dashboard, page API (package Scale), create a key with the scopes you need and copy it. It is shown once. Want to try without real data? Create a sandbox and use its hv_test_… key.

Warning

Keep keys on the server. Never put a key into a website, an app bundle or a repository.

2. Make the first call

export HEVIA_KEY=hv_test_...
curl "https://hevia.app/api/v1/contacts?limit=5" \
  -H "Authorization: Bearer $HEVIA_KEY"

The answer is { "data": [...], "pagination": { "limit", "offset", "total", "next_offset" } }. A 401 means the key is missing or wrong, a 403 with insufficient_scope means the key lacks the scope.

3. Write something

curl -X POST "https://hevia.app/api/v1/tasks" \
  -H "Authorization: Bearer $HEVIA_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Call Anna back","due_at":"2026-11-20T09:00:00Z"}'

4. Receive a webhook

Subscribe an https URL on the dashboard page Webhooks and pick events. Verify every delivery with the raw body before you trust it: see Verify a webhook.

Next

Generated from the product's own registries, so the reference matches the API.