API overview
18 endpoints in 9 resources, generated from the route registry and the OpenAPI document.
Base URL https://hevia.app/api/v1. Every request needs Authorization: Bearer <key or OAuth access token>; the business always comes from the credential. The machine-readable description is openapi.json (OpenAPI 3.1, generated from the same route registry as the pages below).
Resources
| Resource | Endpoints |
|---|---|
| Contacts | GET /contacts, POST /contacts |
| Conversations | GET /conversations, GET /conversations/{id} |
| Requests | GET /requests, GET /requests/{id} |
| Deals | GET /deals, GET /deals/{id}, POST /deals |
| Quotes | GET /quotes, GET /quotes/{id} |
| Tasks | GET /tasks, POST /tasks, PATCH /tasks/{id} |
| Objects | GET /objects, GET /object-types |
| Customer success | GET /success/health |
| Events | POST /events |
Conventions
- JSON, snake_case. Field names are stable within v1. Times are ISO 8601 in UTC, money is in cents (
value_cents,unit_cents). - Lists take
limit(1 to 100, default 25) andoffset. The answer is{ "data": [...], "pagination": { "limit", "offset", "total", "next_offset" } };next_offsetisnullon the last page. - Single objects come as
{ "data": { ... } }. - Errors are
{ "error": { "code", "message", "field"? } }with a stablecode. See Errors and limits. - Writes that create something honour
Idempotency-Key. See Retries and idempotency. - Versions: send
Hevia-Version: 2026-11-09to pin a version; every answer names the version it ran under. See Versioning. - Headers on every answer:
RateLimit-Limit,RateLimit-Remaining,RateLimit-Reset,Hevia-Version,Hevia-Livemode.