Skip to content
Documentation
Hevia for developers

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

ScopePackageIdempotency-Key
objects:readScale (API)not used

Parameters

NameInTypeDescription
limitqueryinteger1 to 100. Default 25.
offsetqueryintegerDefault 0.
type_idquerystring (uuid)
contact_idquerystring
deal_idquerystring (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:

FieldTypeDescription
idstring (uuid)
type_idstring (uuid)
titlestring
valuesobject
contact_idstring | null
company_idstring | null
deal_idstring | null
created_atstring (date-time)
updated_atstring (date-time)

Errors

StatusCodeWhen
400invalid_requestInvalid request
401unauthorizedMissing or invalid key
403insufficient_scopeThe key or token does not have the scope of the endpoint.
403plan_requiredThe business's package does not include the API (Scale) or the feature of the endpoint.
429rate_limitedRate limit (120 requests per minute and key); see the RateLimit-* headers

List the custom object types and their fields

GET /object-types

ScopePackageIdempotency-Key
objects:readScale (API)not used

Parameters

NameInTypeDescription
limitqueryinteger1 to 100. Default 25.
offsetqueryintegerDefault 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:

FieldTypeDescription
idstring (uuid)
namestring
fieldsobject[]

Errors

StatusCodeWhen
400invalid_requestInvalid request
401unauthorizedMissing or invalid key
403insufficient_scopeThe key or token does not have the scope of the endpoint.
403plan_requiredThe business's package does not include the API (Scale) or the feature of the endpoint.
429rate_limitedRate limit (120 requests per minute and key); see the RateLimit-* headers

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