Objects
Custom object types (for example vehicle, property, contract) and their records.
Custom object types (for example vehicle, property, contract) and their records.
List custom object records
GET /objects
| Scope | Package | Idempotency-Key |
|---|---|---|
objects:read | Scale (API) | not used |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | 1 to 100. Default 25. |
offset | query | integer | Default 0. |
type_id | query | string (uuid) | |
contact_id | query | string | |
deal_id | query | string (uuid) |
Request
curl "https://hevia.app/api/v1/objects?limit=25" \
-H "Authorization: Bearer $HEVIA_KEY"Response
200 OK.
JSON
{
"data": [
{
"id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"type_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"title": "Website relaunch",
"values": {},
"contact_id": "e:anna@example.com",
"company_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"deal_id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"created_at": "2026-11-10T09:30:00.000Z",
"updated_at": "2026-11-10T09:30:00.000Z"
}
],
"pagination": {
"limit": 25,
"offset": 0,
"total": 1,
"next_offset": null
}
}Fields of ObjectRecord:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
type_id | string (uuid) | |
title | string | |
values | object | |
contact_id | string | null | |
company_id | string | null | |
deal_id | string | null | |
created_at | string (date-time) | |
updated_at | string (date-time) |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | Invalid request |
| 401 | unauthorized | Missing or invalid key |
| 403 | insufficient_scope | The key or token does not have the scope of the endpoint. |
| 403 | plan_required | The business's package does not include the API (Scale) or the feature of the endpoint. |
| 429 | rate_limited | Rate limit (120 requests per minute and key); see the RateLimit-* headers |
List the custom object types and their fields
GET /object-types
| Scope | Package | Idempotency-Key |
|---|---|---|
objects:read | Scale (API) | not used |
Parameters
| Name | In | Type | Description |
|---|---|---|---|
limit | query | integer | 1 to 100. Default 25. |
offset | query | integer | Default 0. |
Request
curl "https://hevia.app/api/v1/object-types" \
-H "Authorization: Bearer $HEVIA_KEY"Response
200 OK.
JSON
{
"data": [
{
"id": "3f1c2a9e-5b7d-4e21-9c0a-6d8e2f4b1a70",
"name": "Anna Example",
"fields": [
{
"key": "example key",
"label": "example label",
"type": "order.paid"
}
]
}
],
"pagination": {
"limit": 25,
"offset": 0,
"total": 1,
"next_offset": null
}
}Fields of ObjectType:
| Field | Type | Description |
|---|---|---|
id | string (uuid) | |
name | string | |
fields | object[] |
Errors
| Status | Code | When |
|---|---|---|
| 400 | invalid_request | Invalid request |
| 401 | unauthorized | Missing or invalid key |
| 403 | insufficient_scope | The key or token does not have the scope of the endpoint. |
| 403 | plan_required | The business's package does not include the API (Scale) or the feature of the endpoint. |
| 429 | rate_limited | Rate limit (120 requests per minute and key); see the RateLimit-* headers |