Introduction
This page covers the mechanics you need before writing any request: the base URL, authentication, how to filter and page through results, and the difference between deleting and archiving.
Base URL
All API requests should be made to:
https://api.zero.incAuthentication
All API requests require a Bearer token in the Authorization header:
Authorization: Bearer <your-api-token>Create a key in Settings → Connections → API keys: under Personal API keys, Generate API key, then a name and an expiry. Copy it when it appears — you will not see it again. The same page shows the Workspace ID you pass as workspaceId.
Quick Start
Two requests to get oriented:
Query Parameters
All GET endpoints support the following query parameters for filtering and pagination:
fields
string
* (all)
Comma-separated list of fields to return
where
JSON string
—
Filter conditions
limit
number
100
Maximum records to return
offset
number
0
Pagination offset
orderBy
JSON string
—
Sort order, e.g. {"name":"asc"}
groupBy
string
—
Comma-separated list of fields to group by
Selecting Fields
Ask only for the fields you need:
Including Related Data
Dot notation in fields pulls in related objects: name one field (company.name) or use .* for the whole thing (quotes.*). To-one relations come back as an object, to-many as an array.
Filtering with where
where takes a JSON string:
Top-level conditions are combined with AND; use $or for OR. Which operators apply depends on the field type — $eq, $not, $in, $contains, $startsWith, $exists for text, $gt / $gte / $lt / $lte for numbers and dates, $includes for array fields. Date filters also accept relative macros such as -7d or now(). The API Reference lists the full set for each field type.
Sorting with orderBy
Sort with orderBy:
Response Format
Every endpoint returns the same shape:
For a single record — create, update — data is the record itself:
Deleting Records
Deleting comes in two flavours, and archiving is almost always the one you want:
Archived records keep their history and can be restored by setting archived back to false. A hard delete cannot be undone.
Last updated

