Pazaroid API

On this page

Everything you can do in Pazaroid, you can do from your own code: create and update leads, read your pipeline, and get notified the moment something happens. The API is plain JSON over HTTPS, so it works from any language and from no-code tools. Use it to connect Yaba or any other service.

Base URL

https://pazaroid.com/api/v1

Format

JSON in and out, UTF-8. Dates are ISO 8601 in UTC.

Try it in one minute

export PAZAROID_API_KEY=hv_your_key

curl https://pazaroid.com/api/v1/me -H "Authorization: Bearer $PAZAROID_API_KEY"

Authentication

Create a key in Pazaroid under Developers > API keys (the API module must be on in your plan). Send it as a bearer token on every request. The x-api-key header is accepted as well. Keys are shown once, stored only as a hash, and act on one workspace. Keep them on your server: never ship a key in browser or mobile code. Revoking a key takes effect immediately.

Authorization: Bearer hv_3f9a1c2b4d5e6f708192a3b4c5d6e7f8a9b0c1d2e3f4a5b6

Errors

Errors use the right HTTP status and always the same JSON envelope. Branch on error.code, not on the message text. Validation problems list every offending field in details.

{
  "error": {
    "code": "invalid_request",
    "message": "Request body failed validation.",
    "details": [
      {
        "path": "email",
        "message": "Invalid email address"
      }
    ]
  }
}
StatusCodeMeaning
400invalid_requestThe body, query string or a path parameter is malformed or fails validation. `details` lists each problem.
401unauthorizedMissing, malformed or revoked API key.
402plan_limit_reachedYour plan's contact limit is reached. Upgrade or delete contacts.
403module_disabledThe API module is not enabled for this workspace, or the workspace is suspended.
404not_foundThe resource does not exist in this workspace.
409request_in_progressAnother request with the same Idempotency-Key is still running.
409conflictAnother contact in this workspace already uses that email or phone.
413payload_too_largeThe request body is larger than 256 KB.
422idempotency_key_reuseThe Idempotency-Key was already used with a different request body.
429rate_limitedToo many requests. Wait for `Retry-After` seconds.
500internal_errorSomething went wrong on our side. Safe to retry.

Every response carries an X-Request-Id header. Quote it when you contact support.

Rate limits

Each API key may make 120 requests per minute (a token bucket: bursts are fine, the average counts). Every response includes X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset (seconds until the bucket is full). When you exceed it you get 429 rate_limited with a Retry-After header: wait that many seconds, then retry.

Honest note: counters live in the memory of each server instance, so on a multi-instance deployment the effective ceiling can be a little higher than the number above. Treat it as a safety net and be gentle: batch work and back off on 429.

Pagination

List endpoints return newest first with cursor pagination. Pass limit (1 to 100, default 25). If pagination.hasMore is true, call again with cursor set to pagination.nextCursor. Cursors are stable while contacts are added or removed. Add include_total=true to also get the total count.

let cursor = null;
do {
  const url = new URL("https://pazaroid.com/api/v1/contacts");
  url.searchParams.set("limit", "100");
  if (cursor) url.searchParams.set("cursor", cursor);
  const page = await (await fetch(url, { headers: { Authorization: `Bearer ${process.env.PAZAROID_API_KEY}` } })).json();
  for (const contact of page.data) console.log(contact.email);
  cursor = page.pagination.nextCursor;
} while (cursor);

Idempotency

POST /contacts is an upsert: sending the same email twice updates one contact instead of creating two, so retrying is naturally safe. On top of that you can send an Idempotency-Key header (any unique string, for example a UUID). Repeating the same key with the same body within 24 hours returns the original response with Idempotent-Replayed: true; the same key with a different body returns 422 idempotency_key_reuse.

Limits, honestly: keys are remembered in the memory of one server instance, not in a shared store. After a restart, or if your retry reaches a different instance, the request is simply processed again (still safe thanks to the upsert). Do not rely on it as a strict exactly-once guarantee. Idempotency keys apply to POST /contacts, POST /companies and POST /deals; unlike contacts, companies and deals are not upserts, so use a key on every create you may retry.

Contacts

get/api/v1/contacts

List contacts

Newest first. Combine filters freely. Use cursor pagination: pass pagination.nextCursor as cursor until hasMore is false.

Query parameters

qstringSearch name, email, phone and company.(max 200 chars)
stagestringStage name (or id).(max 100 chars)
tagstring(max 60 chars)
sourcestringExact source, e.g. `api` or `form:website`.(max 60 chars)
created_afterstring (date-time)ISO 8601 timestamp.
created_beforestring (date-time)
limitinteger(default 25, max 100, min 1)
cursorstring`pagination.nextCursor` from the previous page.(max 200 chars)
include_total"true" | "false"Add `pagination.total` (one extra count query).
curl "https://pazaroid.com/api/v1/contacts?q=jane&tag=trial&limit=25" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "yaba",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "trial"
      ],
      "customFields": {
        "plan": "trial"
      },
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "hasMore": false,
    "nextCursor": null
  }
}
post/api/v1/contacts

Create or update a contact

Upsert: if a contact with the same email (or, without email, phone) already exists, tags and custom fields are merged into it and the response is 200 with created: false. A new contact returns 201. Send Idempotency-Key to make retries safe. To record consent you can prove, send consent together with consentSource and consentEvidence.

Path & header parameters

Idempotency-KeyheaderOptional. Any unique string (max 200 chars), e.g. a UUID. Same key + same body within 24h returns the original response (header `Idempotent-Replayed: true`).

Request body (JSON)

namerequiredstringFull name.(max 200 chars)
emailstring (email) | nullEmail. Contacts are de-duplicated on email, then phone.
phonestring | nullPhone in any format; digits and + are kept.
companystring | null
websitestring | null
sourcestringWhere the lead came from, e.g. `yaba`. Shown in the CRM.(default "api", max 60 chars)
stagestringPipeline stage NAME (see GET /stages). Defaults to the first stage.(max 100 chars)
tagsstring[]
customFieldsobjectCustom field values keyed by field key (see GET /custom-fields). Keys that match a defined field are validated by type (number, date YYYY-MM-DD, dropdown option, ...); errors come back as `invalid_request` with a `details` entry per field. Other keys are stored as free-form data. Merged into existing values for known contacts.
consentobjectConsent per channel. `true` records that the person agreed, `false` records a withdrawal. Only send what you can prove.
consentSourcestringWhere the consent was collected, e.g. `yaba-signup`. Stored as the consent source.(max 100 chars)
consentEvidencestringThe exact consent text the person accepted. Strongly recommended whenever you send `consent`.(max 2000 chars)
curl -X POST "https://pazaroid.com/api/v1/contacts" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Jane Doe","email":"jane@acme.com","phone":"+15550100","source":"yaba","stage":"New","tags":["trial"],"customFields":{"plan":"trial"},"consent":{"email":true,"whatsapp":true},"consentSource":"yaba-signup","consentEvidence":"I agree to be contacted by email and WhatsApp about my trial."}'
Success201Errors400401402403409422429
{
  "data": {
    "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "name": "Jane Doe",
    "email": "jane@acme.com",
    "phone": "+15550100",
    "company": "Acme Inc",
    "website": null,
    "source": "yaba",
    "stage": "New",
    "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
    "score": 0,
    "tags": [
      "trial"
    ],
    "customFields": {
      "plan": "trial"
    },
    "consent": {
      "email": {
        "granted": true,
        "at": "2026-11-14T10:15:00.000Z",
        "source": "form:3f9a1c2b4d5e6f70"
      }
    },
    "doNotContact": false,
    "ownerId": null,
    "createdAt": "2026-11-14T10:15:00.000Z",
    "updatedAt": "2026-11-14T10:15:00.000Z"
  },
  "created": true
}
get/api/v1/contacts/{id}

Get a contact

Path & header parameters

idrequiredstring (uuid), in pathContact id (UUID).
curl "https://pazaroid.com/api/v1/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "name": "Jane Doe",
    "email": "jane@acme.com",
    "phone": "+15550100",
    "company": "Acme Inc",
    "website": null,
    "source": "yaba",
    "stage": "New",
    "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
    "score": 0,
    "tags": [
      "trial"
    ],
    "customFields": {
      "plan": "trial"
    },
    "consent": {
      "email": {
        "granted": true,
        "at": "2026-11-14T10:15:00.000Z",
        "source": "form:3f9a1c2b4d5e6f70"
      }
    },
    "doNotContact": false,
    "ownerId": null,
    "createdAt": "2026-11-14T10:15:00.000Z",
    "updatedAt": "2026-11-14T10:15:00.000Z"
  }
}
patch/api/v1/contacts/{id}

Update a contact

Only the fields you send are changed. Moving a contact to another stage or adding tags fires the matching webhook events.

Path & header parameters

idrequiredstring (uuid), in pathContact id (UUID).

Request body (JSON)

namestring(max 200 chars)
emailstring (email) | null
phonestring | null
companystring | null
websitestring | null
stagestringPipeline stage NAME.(max 100 chars)
scoreinteger(max 100, min 0)
tagsstring[]Replaces the whole tag list.
customFieldsobjectMerged into existing custom fields atomically. Defined fields are validated by type (errors: `invalid_request`, one `details` entry per field). A `null` or empty value removes that key.
doNotContactboolean`true` opts the contact out of all outreach and records withdrawn consent on every channel.
curl -X PATCH "https://pazaroid.com/api/v1/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"stage":"Qualified","tags":["trial","vip"],"customFields":{"plan":"pro","legacyId":null}}'
Success200Errors400401403404409429
{
  "data": {
    "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "name": "Jane Doe",
    "email": "jane@acme.com",
    "phone": "+15550100",
    "company": "Acme Inc",
    "website": null,
    "source": "yaba",
    "stage": "Qualified",
    "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
    "score": 0,
    "tags": [
      "trial",
      "vip"
    ],
    "customFields": {
      "plan": "trial"
    },
    "consent": {
      "email": {
        "granted": true,
        "at": "2026-11-14T10:15:00.000Z",
        "source": "form:3f9a1c2b4d5e6f70"
      }
    },
    "doNotContact": false,
    "ownerId": null,
    "createdAt": "2026-11-14T10:15:00.000Z",
    "updatedAt": "2026-11-14T10:15:00.000Z"
  }
}
delete/api/v1/contacts/{id}

Erase a contact

Permanent erasure (GDPR Art. 17 / KVKK m.7): removes the contact with its notes, messages, consent records and call logs. Cannot be undone. Responds 204 with no body.

Path & header parameters

idrequiredstring (uuid), in pathContact id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/contacts/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404429
get/api/v1/contacts/{id}/notes

List notes of a contact

Path & header parameters

idrequiredstring (uuid), in pathContact id (UUID).
curl "https://pazaroid.com/api/v1/contacts/CONTACT_ID/notes" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": [
    {
      "id": "e1c3b9a4-0f55-4c0e-8f77-2c9f3f1b7a01",
      "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "body": "Asked for a demo on Friday.",
      "createdAt": "2026-11-14T10:20:00.000Z"
    }
  ]
}
post/api/v1/contacts/{id}/notes

Add a note to a contact

Path & header parameters

idrequiredstring (uuid), in pathContact id (UUID).

Request body (JSON)

bodyrequiredstringNote text.(max 5000 chars)
curl -X POST "https://pazaroid.com/api/v1/contacts/CONTACT_ID/notes" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Asked for a demo on Friday."}'
Success201Errors400401403404429
{
  "data": {
    "id": "e1c3b9a4-0f55-4c0e-8f77-2c9f3f1b7a01",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "body": "Asked for a demo on Friday.",
    "createdAt": "2026-11-14T10:20:00.000Z"
  }
}
get/api/v1/custom-fields

List custom field definitions

The custom fields your workspace defined, with their key, type and dropdown options. Send values for these keys in customFields when creating or updating a contact. Value formats: number/currency -> number, date -> YYYY-MM-DD, select -> one of the options, multiselect -> array of options, checkbox -> boolean, others -> string. Query entity: contact (default), company or deal.

curl "https://pazaroid.com/api/v1/custom-fields" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "key": "budget",
      "label": "Budget",
      "type": "currency",
      "options": [],
      "required": false,
      "helpText": null
    },
    {
      "key": "plan",
      "label": "Plan",
      "type": "select",
      "options": [
        "trial",
        "pro"
      ],
      "required": false,
      "helpText": null
    }
  ]
}

Companies

get/api/v1/companies

List companies

Newest first, cursor-paginated like contacts. Requires the Deals module.

Query parameters

qstringSearch name, domain and website.(max 200 chars)
industrystring(max 80 chars)
sizestring(max 20 chars)
owner_idstring (uuid)
limitinteger(default 25, max 100, min 1)
cursorstring`pagination.nextCursor` from the previous page.(max 200 chars)
include_total"true" | "false"
curl "https://pazaroid.com/api/v1/companies" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
      "name": "Acme Inc",
      "domain": "acme.com",
      "website": "https://acme.com",
      "industry": "Software",
      "size": "11-50",
      "phone": null,
      "address": null,
      "ownerId": null,
      "customFields": {},
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "hasMore": false,
    "nextCursor": null
  }
}
post/api/v1/companies

Create a company

A company with the same domain, or the same name ignoring suffixes such as Inc or Ltd, is rejected with 409 conflict and the existing companyId in details. Contacts whose work email matches the domain are linked in the CRM. Fires company.created. Idempotency-Key is supported (best effort, see Idempotency).

Path & header parameters

Idempotency-KeyheaderOptional. Any unique string (max 200 chars).

Request body (JSON)

namerequiredstringCompany name. A company with the same name (ignoring Inc/Ltd) or domain is rejected with `409 conflict`.(max 200 chars)
domainstring | nullWeb domain such as `acme.com`. Derived from `website` when omitted. People with a work email on this domain are linked automatically.
websitestring | null
industrystring | null
sizestring | nullCompany size band, e.g. `11-50`.
phonestring | null
addressstring | null
ownerIdstring (uuid) | nullTeam member id (UUID) who owns the company.
customFieldsobjectCustom field values keyed by field key.
curl -X POST "https://pazaroid.com/api/v1/companies" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"name":"Acme Inc","domain":"acme.com","industry":"Software","size":"11-50"}'
Success201Errors400401403409422429
{
  "data": {
    "id": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "name": "Acme Inc",
    "domain": "acme.com",
    "website": "https://acme.com",
    "industry": "Software",
    "size": "11-50",
    "phone": null,
    "address": null,
    "ownerId": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
get/api/v1/companies/{id}

Get a company

Path & header parameters

idrequiredstring (uuid), in pathCompany id (UUID).
curl "https://pazaroid.com/api/v1/companies/COMPANY_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "name": "Acme Inc",
    "domain": "acme.com",
    "website": "https://acme.com",
    "industry": "Software",
    "size": "11-50",
    "phone": null,
    "address": null,
    "ownerId": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
patch/api/v1/companies/{id}

Update a company

Only the fields you send are changed.

Path & header parameters

idrequiredstring (uuid), in pathCompany id (UUID).

Request body (JSON)

namestringCompany name. A company with the same name (ignoring Inc/Ltd) or domain is rejected with `409 conflict`.(max 200 chars)
domainstring | nullWeb domain such as `acme.com`. Derived from `website` when omitted. People with a work email on this domain are linked automatically.
websitestring | null
industrystring | null
sizestring | nullCompany size band, e.g. `11-50`.
phonestring | null
addressstring | null
ownerIdstring (uuid) | nullTeam member id (UUID) who owns the company.
customFieldsobjectCustom field values keyed by field key.
curl -X PATCH "https://pazaroid.com/api/v1/companies/COMPANY_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"industry":"Retail","size":"51-200"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "name": "Acme Inc",
    "domain": "acme.com",
    "website": "https://acme.com",
    "industry": "Retail",
    "size": "51-200",
    "phone": null,
    "address": null,
    "ownerId": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
delete/api/v1/companies/{id}

Delete a company

People and deals of the company are kept but unlinked. Responds 204.

Path & header parameters

idrequiredstring (uuid), in pathCompany id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/companies/COMPANY_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404429

Deals

get/api/v1/deal-pipelines

List deal pipelines and stages

Use pipeline and stage NAMES (or ids) when creating, filtering or moving deals. The default pipeline is created automatically the first time it is needed.

curl "https://pazaroid.com/api/v1/deal-pipelines" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": [
    {
      "id": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
      "name": "Sales",
      "isDefault": true,
      "stages": [
        {
          "id": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
          "name": "Proposal",
          "position": 1,
          "probability": 40,
          "kind": "open"
        },
        {
          "id": "9a1f6c52-77aa-4a0e-b7a0-2d9e0c6b1f01",
          "name": "Won",
          "position": 3,
          "probability": 100,
          "kind": "won"
        }
      ]
    }
  ]
}
get/api/v1/deals

List deals

Newest first. By default only open deals are returned: pass status=all, won or lost for others. stale_days finds open deals nobody has touched. Amounts are integers in minor units: totals must be summed per currency.

Query parameters

qstringSearch title, company name and contact name.(max 200 chars)
pipelinestringPipeline name or id.(max 100 chars)
stagestringStage name or id.(max 100 chars)
status"open" | "won" | "lost" | "all"(default "open")
owner_idstring (uuid)
contact_idstring (uuid)
company_idstring (uuid)
min_valueintegerMinimum value in minor units.(max 9007199254740991, min 0)
max_valueinteger(max 9007199254740991, min 0)
close_afterstring (date)
close_beforestring (date)
stale_daysintegerOnly open deals with no activity for this many days.(max 3650, min 1)
limitinteger(default 25, max 100, min 1)
cursorstring(max 200 chars)
include_total"true" | "false"
curl "https://pazaroid.com/api/v1/deals" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
      "title": "Acme website redesign",
      "valueCents": 1250000,
      "currency": "USD",
      "pipelineId": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
      "pipeline": "Sales",
      "stageId": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
      "stage": "Proposal",
      "status": "open",
      "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
      "ownerId": null,
      "expectedCloseAt": "2026-12-15T00:00:00.000Z",
      "lostReason": null,
      "wonAt": null,
      "lostAt": null,
      "customFields": {},
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "hasMore": false,
    "nextCursor": null
  }
}
post/api/v1/deals

Create a deal

Fires deal.created. Without pipeline/stage the deal starts in the first open stage of the default pipeline. Idempotency-Key is supported (best effort, see Idempotency).

Path & header parameters

Idempotency-KeyheaderOptional. Any unique string (max 200 chars).

Request body (JSON)

titlerequiredstring(max 200 chars)
valueCentsintegerDeal value in minor units: 12500 means 125.00 in a two-decimal currency.(default 0, max 9000000000000000, min 0)
currencystringISO 4217 code such as `USD`. Defaults to the workspace currency.
pipelinestringPipeline NAME or id (see GET /deal-pipelines). Defaults to the default pipeline.(max 100 chars)
stagestringStage NAME or id. Defaults to the first open stage of the pipeline.(max 100 chars)
contactIdstring (uuid) | null
companyIdstring (uuid) | nullDefaults to the contact's company.
ownerIdstring (uuid) | null
expectedCloseDatestring (date) | nullExpected close date, `YYYY-MM-DD`.
customFieldsobject
curl -X POST "https://pazaroid.com/api/v1/deals" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{"title":"Acme website redesign","valueCents":1250000,"currency":"USD","stage":"Proposal","contactId":"7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11","expectedCloseDate":"2026-12-15"}'
Success201Errors400401403422429
{
  "data": {
    "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "title": "Acme website redesign",
    "valueCents": 1250000,
    "currency": "USD",
    "pipelineId": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
    "pipeline": "Sales",
    "stageId": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
    "stage": "Proposal",
    "status": "open",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "ownerId": null,
    "expectedCloseAt": "2026-12-15T00:00:00.000Z",
    "lostReason": null,
    "wonAt": null,
    "lostAt": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
get/api/v1/deals/{id}

Get a deal

Path & header parameters

idrequiredstring (uuid), in pathDeal id (UUID).
curl "https://pazaroid.com/api/v1/deals/DEAL_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "title": "Acme website redesign",
    "valueCents": 1250000,
    "currency": "USD",
    "pipelineId": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
    "pipeline": "Sales",
    "stageId": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
    "stage": "Proposal",
    "status": "open",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "ownerId": null,
    "expectedCloseAt": "2026-12-15T00:00:00.000Z",
    "lostReason": null,
    "wonAt": null,
    "lostAt": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
patch/api/v1/deals/{id}

Update a deal

Edits fields only. To change the stage use POST /deals/{id}/move, to close it use /won or /lost.

Path & header parameters

idrequiredstring (uuid), in pathDeal id (UUID).

Request body (JSON)

titlestring(max 200 chars)
valueCentsinteger(max 9000000000000000, min 0)
currencystring
contactIdstring (uuid) | null
companyIdstring (uuid) | null
ownerIdstring (uuid) | null
expectedCloseDatestring (date) | null
customFieldsobjectMerged into existing values; send `null` for a key to remove it.
curl -X PATCH "https://pazaroid.com/api/v1/deals/DEAL_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"valueCents":1500000,"expectedCloseDate":"2026-12-31"}'
Success200Errors400401403404429
{
  "data": {
    "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "title": "Acme website redesign",
    "valueCents": 1500000,
    "currency": "USD",
    "pipelineId": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
    "pipeline": "Sales",
    "stageId": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
    "stage": "Proposal",
    "status": "open",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "ownerId": null,
    "expectedCloseAt": "2026-12-15T00:00:00.000Z",
    "lostReason": null,
    "wonAt": null,
    "lostAt": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
post/api/v1/deals/{id}/move

Move a deal to another stage

Fires deal.stage_changed. Moving into a Won stage also wins the deal (deal.won); moving into a Lost stage requires lostReason (deal.lost). Moving a closed deal into an open stage reopens it.

Path & header parameters

idrequiredstring (uuid), in pathDeal id (UUID).

Request body (JSON)

stagerequiredstringStage NAME or id in the deal's pipeline (or another pipeline by id). Moving into a Won stage wins the deal; a Lost stage needs `lostReason`.(max 100 chars)
lostReasonstring(max 500 chars)
curl -X POST "https://pazaroid.com/api/v1/deals/DEAL_ID/move" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"stage":"Negotiation"}'
Success200Errors400401403404429
{
  "data": {
    "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "title": "Acme website redesign",
    "valueCents": 1250000,
    "currency": "USD",
    "pipelineId": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
    "pipeline": "Sales",
    "stageId": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
    "stage": "Negotiation",
    "status": "open",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "ownerId": null,
    "expectedCloseAt": "2026-12-15T00:00:00.000Z",
    "lostReason": null,
    "wonAt": null,
    "lostAt": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
post/api/v1/deals/{id}/won

Mark a deal as won

Moves the deal to the pipeline's Won stage and fires deal.won. Owners and admins are notified in the app.

Path & header parameters

idrequiredstring (uuid), in pathDeal id (UUID).
curl -X POST "https://pazaroid.com/api/v1/deals/DEAL_ID/won" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404409429
{
  "data": {
    "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "title": "Acme website redesign",
    "valueCents": 1250000,
    "currency": "USD",
    "pipelineId": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
    "pipeline": "Sales",
    "stageId": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
    "stage": "Won",
    "status": "won",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "ownerId": null,
    "expectedCloseAt": "2026-12-15T00:00:00.000Z",
    "lostReason": null,
    "wonAt": "2026-12-01T09:00:00.000Z",
    "lostAt": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
post/api/v1/deals/{id}/lost

Mark a deal as lost

A reason is required. Fires deal.lost.

Path & header parameters

idrequiredstring (uuid), in pathDeal id (UUID).

Request body (JSON)

reasonrequiredstringWhy the deal was lost.(max 500 chars)
curl -X POST "https://pazaroid.com/api/v1/deals/DEAL_ID/lost" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reason":"Chose a competitor"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "title": "Acme website redesign",
    "valueCents": 1250000,
    "currency": "USD",
    "pipelineId": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
    "pipeline": "Sales",
    "stageId": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
    "stage": "Lost",
    "status": "lost",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "ownerId": null,
    "expectedCloseAt": "2026-12-15T00:00:00.000Z",
    "lostReason": "Chose a competitor",
    "wonAt": null,
    "lostAt": "2026-12-01T09:00:00.000Z",
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
post/api/v1/deals/{id}/reopen

Reopen a closed deal

Moves a won or lost deal back into the last open stage of its pipeline.

Path & header parameters

idrequiredstring (uuid), in pathDeal id (UUID).
curl -X POST "https://pazaroid.com/api/v1/deals/DEAL_ID/reopen" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404409429
{
  "data": {
    "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "title": "Acme website redesign",
    "valueCents": 1250000,
    "currency": "USD",
    "pipelineId": "0c4e8d3a-5b61-4f7e-9a21-6d3c2b1a0f98",
    "pipeline": "Sales",
    "stageId": "a7c1e2f3-4b5d-4e6f-8a9b-1c2d3e4f5a6b",
    "stage": "Proposal",
    "status": "open",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "ownerId": null,
    "expectedCloseAt": "2026-12-15T00:00:00.000Z",
    "lostReason": null,
    "wonAt": null,
    "lostAt": null,
    "customFields": {},
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
delete/api/v1/deals/{id}

Delete a deal

Permanent. Responds 204.

Path & header parameters

idrequiredstring (uuid), in pathDeal id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/deals/DEAL_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404429

Pipeline

get/api/v1/stages

List pipeline stages

Use the stage name when creating or filtering contacts.

curl "https://pazaroid.com/api/v1/stages" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": [
    {
      "id": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "name": "New",
      "position": 0,
      "kind": "open"
    },
    {
      "id": "9a1f6c52-77aa-4a0e-b7a0-2d9e0c6b1f01",
      "name": "Won",
      "position": 4,
      "kind": "won"
    }
  ]
}

Webhooks

get/api/v1/events

List webhook events

The catalog of events you can subscribe a webhook to, with a sample data object for each.

curl "https://pazaroid.com/api/v1/events" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": [
    {
      "name": "contact.created",
      "label": "A contact is created",
      "description": "A new contact was added: by hand, by a form, by the API, by an import or by a lead source.",
      "sample": {
        "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
        "source": "form:website",
        "contact": {
          "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
          "name": "Jane Doe",
          "email": "jane@acme.com",
          "phone": "+15550100",
          "company": "Acme Inc",
          "website": null,
          "source": "form:website",
          "stage": "New",
          "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
          "score": 0,
          "tags": [
            "Website contact form"
          ],
          "customFields": {},
          "consent": {
            "email": {
              "granted": true,
              "at": "2026-11-14T10:15:00.000Z",
              "source": "form:3f9a1c2b4d5e6f70"
            }
          },
          "doNotContact": false,
          "ownerId": null,
          "createdAt": "2026-11-14T10:15:00.000Z",
          "updatedAt": "2026-11-14T10:15:00.000Z"
        }
      }
    }
  ]
}
get/api/v1/webhooks

List webhook endpoints

curl "https://pazaroid.com/api/v1/webhooks" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": [
    {
      "id": "0b7f2c1e-8d5a-4b6e-9f0a-1c2d3e4f5a6b",
      "url": "https://yaba.example.com/hooks/pazaroid",
      "events": [
        "contact.created",
        "form.submitted"
      ],
      "enabled": true,
      "secretPreview": "whsec_••••••••••a1b2",
      "createdAt": "2026-11-14T10:00:00.000Z"
    }
  ]
}
post/api/v1/webhooks

Create a webhook endpoint

The signing secret is returned **once**, in this response. Store it; use it to verify signatures. The URL must be a public https URL (private, loopback and link-local addresses are rejected).

Request body (JSON)

urlrequiredstring (uri)Public https URL that receives POST requests.(max 2000 chars)
events"*" | "contact.created" | "contact.updated" | "contact.stage_changed" | "contact.tag_added" | "form.submitted" | "task.completed" | "call.completed" | "message.received" | "deal.created" | "deal.stage_changed" | "deal.won" | "deal.lost" | "company.created" | "campaign.completed" | "stock.low" | "stock.out" | "purchase_order.received" | "product.created" | "event.created" | "event.updated" | "event.cancelled" | "event.reminder" | "meeting.completed" | "quote.sent" | "quote.viewed" | "quote.accepted" | "quote.declined" | "quote.expired" | "quote.order_requested" | "invoice.sent" | "invoice.paid" | "invoice.overdue" | "payment.received" | "order.created" | "order.paid" | "order.shipped" | "order.delivered" | "order.cancelled" | "order.refunded" | "reservation.created" | "reservation.confirmed" | "reservation.cancelled" | "reservation.checked_in" | "reservation.completed" | "reservation.no_show" | "waitlist.offered" | "appointment.created" | "appointment.confirmed" | "appointment.rescheduled" | "appointment.cancelled" | "appointment.completed" | "appointment.no_show" | "ticket.created" | "ticket.assigned" | "ticket.replied" | "ticket.resolved" | "ticket.reopened" | "ticket.sla_breached" | "ticket.csat_received" | "project.created" | "project.completed" | "project.task_assigned" | "project.task_completed" | "project.task_overdue" | "project.milestone_reached" | "project.budget_threshold" | "document.sent" | "document.viewed" | "document.signed" | "document.expiring" | "document.expired" | "document.request_fulfilled" | "subscription.created" | "subscription.trial_ending" | "subscription.trial_converted" | "subscription.renewed" | "subscription.payment_failed" | "subscription.plan_changed" | "subscription.paused" | "subscription.resumed" | "subscription.cancel_scheduled" | "subscription.canceled" | "subscription.expired" | "subscription.winback" | "property.created" | "property.status_changed" | "property.enquiry_received" | "viewing.scheduled" | "viewing.completed" | "offer.received" | "offer.accepted" | "lease.expiring"[]Event names, or `*` for everything.(default ["*"])
curl -X POST "https://pazaroid.com/api/v1/webhooks" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://yaba.example.com/hooks/pazaroid","events":["contact.created","form.submitted"]}'
Success201Errors400401403429
{
  "data": {
    "id": "0b7f2c1e-8d5a-4b6e-9f0a-1c2d3e4f5a6b",
    "url": "https://yaba.example.com/hooks/pazaroid",
    "events": [
      "contact.created",
      "form.submitted"
    ],
    "enabled": true,
    "secretPreview": "whsec_••••••••••a1b2",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "secret": "whsec_9f8e7d6c5b4a39281716a5b4c3d2e1f0a9b8c7d6e5f40312"
  }
}
get/api/v1/webhooks/{id}

Get a webhook endpoint

Path & header parameters

idrequiredstring (uuid), in pathWebhook id (UUID).
curl "https://pazaroid.com/api/v1/webhooks/WEBHOOK_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "0b7f2c1e-8d5a-4b6e-9f0a-1c2d3e4f5a6b",
    "url": "https://yaba.example.com/hooks/pazaroid",
    "events": [
      "contact.created",
      "form.submitted"
    ],
    "enabled": true,
    "secretPreview": "whsec_••••••••••a1b2",
    "createdAt": "2026-11-14T10:00:00.000Z"
  }
}
patch/api/v1/webhooks/{id}

Update a webhook endpoint

Path & header parameters

idrequiredstring (uuid), in pathWebhook id (UUID).

Request body (JSON)

urlstring (uri)(max 2000 chars)
events"*" | "contact.created" | "contact.updated" | "contact.stage_changed" | "contact.tag_added" | "form.submitted" | "task.completed" | "call.completed" | "message.received" | "deal.created" | "deal.stage_changed" | "deal.won" | "deal.lost" | "company.created" | "campaign.completed" | "stock.low" | "stock.out" | "purchase_order.received" | "product.created" | "event.created" | "event.updated" | "event.cancelled" | "event.reminder" | "meeting.completed" | "quote.sent" | "quote.viewed" | "quote.accepted" | "quote.declined" | "quote.expired" | "quote.order_requested" | "invoice.sent" | "invoice.paid" | "invoice.overdue" | "payment.received" | "order.created" | "order.paid" | "order.shipped" | "order.delivered" | "order.cancelled" | "order.refunded" | "reservation.created" | "reservation.confirmed" | "reservation.cancelled" | "reservation.checked_in" | "reservation.completed" | "reservation.no_show" | "waitlist.offered" | "appointment.created" | "appointment.confirmed" | "appointment.rescheduled" | "appointment.cancelled" | "appointment.completed" | "appointment.no_show" | "ticket.created" | "ticket.assigned" | "ticket.replied" | "ticket.resolved" | "ticket.reopened" | "ticket.sla_breached" | "ticket.csat_received" | "project.created" | "project.completed" | "project.task_assigned" | "project.task_completed" | "project.task_overdue" | "project.milestone_reached" | "project.budget_threshold" | "document.sent" | "document.viewed" | "document.signed" | "document.expiring" | "document.expired" | "document.request_fulfilled" | "subscription.created" | "subscription.trial_ending" | "subscription.trial_converted" | "subscription.renewed" | "subscription.payment_failed" | "subscription.plan_changed" | "subscription.paused" | "subscription.resumed" | "subscription.cancel_scheduled" | "subscription.canceled" | "subscription.expired" | "subscription.winback" | "property.created" | "property.status_changed" | "property.enquiry_received" | "viewing.scheduled" | "viewing.completed" | "offer.received" | "offer.accepted" | "lease.expiring"[]
enabledboolean
curl -X PATCH "https://pazaroid.com/api/v1/webhooks/WEBHOOK_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"events":["*"],"enabled":true}'
Success200Errors400401403404429
{
  "data": {
    "id": "0b7f2c1e-8d5a-4b6e-9f0a-1c2d3e4f5a6b",
    "url": "https://yaba.example.com/hooks/pazaroid",
    "events": [
      "contact.created",
      "form.submitted"
    ],
    "enabled": true,
    "secretPreview": "whsec_••••••••••a1b2",
    "createdAt": "2026-11-14T10:00:00.000Z"
  }
}
delete/api/v1/webhooks/{id}

Delete a webhook endpoint

Path & header parameters

idrequiredstring (uuid), in pathWebhook id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/webhooks/WEBHOOK_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404429
post/api/v1/webhooks/{id}/rotate-secret

Rotate the signing secret

Generates a new secret and returns it once. The old secret stops working immediately.

Path & header parameters

idrequiredstring (uuid), in pathWebhook id (UUID).
curl -X POST "https://pazaroid.com/api/v1/webhooks/WEBHOOK_ID/rotate-secret" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "0b7f2c1e-8d5a-4b6e-9f0a-1c2d3e4f5a6b",
    "url": "https://yaba.example.com/hooks/pazaroid",
    "events": [
      "contact.created",
      "form.submitted"
    ],
    "enabled": true,
    "secretPreview": "whsec_••••••••••a1b2",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "secret": "whsec_new..."
  }
}
post/api/v1/webhooks/{id}/test

Send a test event

Sends a ping event to the endpoint and returns the outcome.

Path & header parameters

idrequiredstring (uuid), in pathWebhook id (UUID).
curl -X POST "https://pazaroid.com/api/v1/webhooks/WEBHOOK_ID/test" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "ok": true,
    "status": 200,
    "error": null
  }
}
get/api/v1/webhooks/{id}/deliveries

Delivery log

The 50 most recent deliveries, newest first. Failed deliveries are retried automatically (see Webhooks).

Path & header parameters

idrequiredstring (uuid), in pathWebhook id (UUID).
curl "https://pazaroid.com/api/v1/webhooks/WEBHOOK_ID/deliveries" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": [
    {
      "id": "5c2e8d0b-3a41-4b9b-8e6f-7a1d2c3b4e5f",
      "event": "contact.created",
      "status": 200,
      "error": null,
      "attempts": 1,
      "createdAt": "2026-11-14T10:15:02.000Z"
    }
  ]
}

Account

get/api/v1/me

Who am I

Workspace, plan, enabled modules and the API key making the request. Handy to verify a key.

curl "https://pazaroid.com/api/v1/me" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": {
    "workspace": {
      "id": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
      "name": "Acme",
      "slug": "acme",
      "status": "active"
    },
    "plan": {
      "key": "pro",
      "name": "Pro",
      "limits": {
        "contacts": 25000
      }
    },
    "modules": [
      "contacts",
      "forms",
      "api"
    ],
    "usage": {
      "contacts": 1280
    },
    "apiKey": {
      "id": "3b6f0e1c-9a4d-4d1b-a2f5-8c7e6d5b4a39",
      "name": "Yaba",
      "prefix": "hv_1a2b3c4",
      "createdAt": "2026-11-01T09:00:00.000Z",
      "lastUsedAt": "2026-11-14T10:15:00.000Z"
    }
  }
}

Inventory

get/api/v1/products

List products

Newest first, cursor-paginated. Requires the Inventory module. Prices and costs are in minor units (cents). stock is pooled across locations and variants.

Query parameters

qstringSearch name, SKU, barcode and brand.(max 200 chars)
status"active" | "draft" | "archived"
skustringExact SKU (case-insensitive).(max 80 chars)
barcodestring(max 80 chars)
low_stock"true" | "false"Only products at or below their reorder level.
limitinteger(default 25, max 100, min 1)
cursorstring`pagination.nextCursor` from the previous page.(max 200 chars)
include_total"true" | "false"
curl "https://pazaroid.com/api/v1/products" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
      "name": "Espresso beans 1 kg",
      "sku": "BEAN-1KG",
      "barcode": "5901234123457",
      "description": null,
      "category": "Coffee",
      "brand": "Roasters Ltd",
      "unit": "piece",
      "priceCents": 1850,
      "costCents": 1100,
      "currency": "USD",
      "taxRatePct": 8,
      "kind": "simple",
      "status": "active",
      "trackStock": true,
      "reorderLevel": 10,
      "reorderQty": 40,
      "images": [],
      "tags": [
        "coffee"
      ],
      "attributes": {},
      "variants": [],
      "stock": {
        "onHand": 42,
        "reserved": 6,
        "available": 36
      },
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "hasMore": false,
    "nextCursor": null
  }
}
post/api/v1/products

Create a product

SKUs are unique per workspace (409 conflict otherwise). Send openingStock to add units right away. Fires product.created. Idempotency-Key is supported (best effort).

Path & header parameters

Idempotency-KeyheaderOptional. Retrying with the same key and body returns the first result.

Request body (JSON)

namerequiredstring(max 200 chars)
skustring | null
barcodestring | null
descriptionstring | null
categoryIdstring (uuid) | null
brandstring | null
unitstring(default "piece", max 20 chars)
priceCentsinteger(default 0, max 2000000000, min 0)
costCentsinteger(default 0, max 2000000000, min 0)
currencystring(max 3 chars)
taxRatePctnumber(default 0, max 100, min 0)
kind"simple" | "bundle"(default "simple")
status"active" | "draft" | "archived"(default "active")
trackStockboolean(default true)
negativePolicy"block" | "allow"(default "block")
trackLotsboolean(default false)
trackSerialsboolean(default false)
reorderLevelnumber(default 0, max 1000000000, min 0)
reorderQtynumber(default 0, max 1000000000, min 0)
preferredSupplierIdstring (uuid) | null
imagesstring[](default [])
tagsstring[](default [])
attributesobject(default {})
optionNamesstring[](default [])
openingStocknumberUnits to add to stock right away (simple products without lot or serial tracking).(max 1000000000, min 0)
locationIdstring (uuid)Location for the opening stock. Defaults to your main location.
curl -X POST "https://pazaroid.com/api/v1/products" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Espresso beans 1 kg","sku":"BEAN-1KG","priceCents":1850,"costCents":1100,"currency":"USD","reorderLevel":10,"reorderQty":40,"openingStock":42}'
Success201Errors400401403409429
{
  "data": {
    "id": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
    "name": "Espresso beans 1 kg",
    "sku": "BEAN-1KG",
    "barcode": "5901234123457",
    "description": null,
    "category": "Coffee",
    "brand": "Roasters Ltd",
    "unit": "piece",
    "priceCents": 1850,
    "costCents": 1100,
    "currency": "USD",
    "taxRatePct": 8,
    "kind": "simple",
    "status": "active",
    "trackStock": true,
    "reorderLevel": 10,
    "reorderQty": 40,
    "images": [],
    "tags": [
      "coffee"
    ],
    "attributes": {},
    "variants": [],
    "stock": {
      "onHand": 42,
      "reserved": 6,
      "available": 36
    },
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
get/api/v1/products/{id}

Get a product

Path & header parameters

idrequiredstring (uuid), in pathProduct id (UUID).
curl "https://pazaroid.com/api/v1/products/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
    "name": "Espresso beans 1 kg",
    "sku": "BEAN-1KG",
    "barcode": "5901234123457",
    "description": null,
    "category": "Coffee",
    "brand": "Roasters Ltd",
    "unit": "piece",
    "priceCents": 1850,
    "costCents": 1100,
    "currency": "USD",
    "taxRatePct": 8,
    "kind": "simple",
    "status": "active",
    "trackStock": true,
    "reorderLevel": 10,
    "reorderQty": 40,
    "images": [],
    "tags": [
      "coffee"
    ],
    "attributes": {},
    "variants": [],
    "stock": {
      "onHand": 42,
      "reserved": 6,
      "available": 36
    },
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
patch/api/v1/products/{id}

Update a product

Only the fields you send are changed. Stock is changed with stock adjustments, never here.

Path & header parameters

idrequiredstring (uuid), in pathProduct id (UUID).

Request body (JSON)

namestring(max 200 chars)
skustring | null
barcodestring | null
descriptionstring | null
categoryIdstring (uuid) | null
brandstring | null
unitstring(default "piece", max 20 chars)
priceCentsinteger(default 0, max 2000000000, min 0)
costCentsinteger(default 0, max 2000000000, min 0)
currencystring(max 3 chars)
taxRatePctnumber(default 0, max 100, min 0)
kind"simple" | "bundle"(default "simple")
status"active" | "draft" | "archived"(default "active")
trackStockboolean(default true)
negativePolicy"block" | "allow"(default "block")
trackLotsboolean(default false)
trackSerialsboolean(default false)
reorderLevelnumber(default 0, max 1000000000, min 0)
reorderQtynumber(default 0, max 1000000000, min 0)
preferredSupplierIdstring (uuid) | null
imagesstring[](default [])
tagsstring[](default [])
attributesobject(default {})
optionNamesstring[](default [])
curl -X PATCH "https://pazaroid.com/api/v1/products/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"priceCents":1950,"status":"active"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
    "name": "Espresso beans 1 kg",
    "sku": "BEAN-1KG",
    "barcode": "5901234123457",
    "description": null,
    "category": "Coffee",
    "brand": "Roasters Ltd",
    "unit": "piece",
    "priceCents": 1950,
    "costCents": 1100,
    "currency": "USD",
    "taxRatePct": 8,
    "kind": "simple",
    "status": "active",
    "trackStock": true,
    "reorderLevel": 10,
    "reorderQty": 40,
    "images": [],
    "tags": [
      "coffee"
    ],
    "attributes": {},
    "variants": [],
    "stock": {
      "onHand": 42,
      "reserved": 6,
      "available": 36
    },
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
delete/api/v1/products/{id}

Delete a product

Only products without stock history can be deleted (409 conflict otherwise: archive them with status: "archived"). Responds 204.

Path & header parameters

idrequiredstring (uuid), in pathProduct id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/products/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404409429
get/api/v1/products/{id}/stock

Stock levels of a product

On hand, reserved (held for orders and quotes) and available, plus the quantity per location and variant.

Path & header parameters

idrequiredstring (uuid), in pathProduct id (UUID).
curl "https://pazaroid.com/api/v1/products/CONTACT_ID/stock" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "productId": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
    "onHand": 42,
    "reserved": 6,
    "available": 36,
    "locations": [
      {
        "locationId": "9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f",
        "location": "Main warehouse",
        "variantId": null,
        "onHand": 42
      }
    ]
  }
}
post/api/v1/products/{id}/stock-adjustments

Change the stock of a product

Adds one entry to the movement ledger and updates the level atomically. Removing more than is available returns 409 conflict with the shortages in details unless the product allows negative stock. Fires stock.low / stock.out when a level is crossed. Idempotency-Key is supported (best effort).

Path & header parameters

idrequiredstring (uuid), in pathProduct id (UUID).
Idempotency-KeyheaderOptional. Retrying with the same key and body returns the first result.

Request body (JSON)

typerequired"receive" | "sell" | "adjust" | "return" | "damage"`receive` and `return` add stock, `sell` and `damage` remove it, `adjust` follows the sign of `quantity`.
quantityrequirednumberUnits. For `adjust` use a negative number to remove stock; for the other types give a positive number.
variantIdstring (uuid) | null
locationIdstring (uuid) | nullDefaults to your main location.
unitCostCentsinteger | null`receive` only: the cost of these units; updates the weighted average cost.
reasonstring | null
referenceobject | null
lotCodestring | null
expiresOnstring | null
serialsstring[]
curl -X POST "https://pazaroid.com/api/v1/products/CONTACT_ID/stock-adjustments" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"sell","quantity":2,"reason":"Web shop order 1042","reference":{"type":"order","id":"1042"}}'
Success201Errors400401403404409429
{
  "data": {
    "productId": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
    "onHand": 40,
    "reserved": 6,
    "available": 34,
    "locations": [
      {
        "locationId": "9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f",
        "location": "Main warehouse",
        "variantId": null,
        "onHand": 42
      }
    ]
  }
}
get/api/v1/locations

List stock locations

Warehouses, shops and other places that hold stock.

curl "https://pazaroid.com/api/v1/locations" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": [
    {
      "id": "9f8e7d6c-5b4a-4c3d-8e2f-1a0b9c8d7e6f",
      "name": "Main warehouse",
      "code": "MAIN",
      "isDefault": true
    }
  ]
}

Quotes

get/api/v1/quotes

List quotes

Newest first. Requires the Quotes & Invoices module. Page based: page and limit (max 100).

Query parameters

statusstring(max 20 chars)
contactIdstring (uuid)
dealIdstring (uuid)
limitinteger(default 25, max 100, min 1)
pageinteger(default 1, max 10000, min 1)
curl "https://pazaroid.com/api/v1/quotes" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
      "type": "quote",
      "number": "Q-2026-0001",
      "status": "sent",
      "version": 1,
      "contactId": null,
      "customer": {
        "name": "Jane Doe",
        "email": "jane@acme.com"
      },
      "currency": "USD",
      "issueDate": "2026-11-14",
      "validUntil": "2026-12-14",
      "dueDate": null,
      "lines": [
        {
          "id": "l1",
          "kind": "item",
          "description": "Website redesign",
          "qty": 1,
          "unitPriceCents": 100000,
          "taxRatePct": 20
        }
      ],
      "totals": {
        "subtotalCents": 100000,
        "discountCents": 0,
        "taxCents": 20000,
        "totalCents": 120000,
        "paidCents": 0,
        "creditedCents": 0,
        "balanceCents": 120000
      },
      "url": "https://app.example.com/q/<token>",
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "page": 1,
    "total": 1,
    "hasMore": false
  }
}
post/api/v1/quotes

Create a quote (draft)

Totals are computed by the server (integer minor units, tax per line, optional tax-inclusive prices). Quotes get their number immediately. Nothing is sent until you call send.

Path & header parameters

Idempotency-KeyheaderOptional. Any unique string (max 200 chars).

Request body (JSON)

contactIdstring (uuid) | null
companyIdstring (uuid) | null
dealIdstring (uuid) | null
customerobject
currencystring
language"en" | "tr"
issueDatestring
validUntilstring | null
dueDatestring | null
referencestring | null
titlestring | null
linesobject[]
pricesIncludeTaxboolean
docDiscountPctnumber(max 100, min 0)
termsstring | null
paymentInstructionsstring | null
notesstring | null
curl -X POST "https://pazaroid.com/api/v1/quotes" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Website redesign","contactId":null,"currency":"USD","lines":[{"description":"Website redesign","qty":1,"unitPriceCents":100000,"taxRatePct":20}]}'
Success201Errors400401403429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "quote",
    "number": "Q-2026-0001",
    "status": "draft",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": "2026-12-14",
    "dueDate": null,
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
get/api/v1/quotes/{id}

Get a quote

Sent quotes include the secure customer link in url.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).
curl "https://pazaroid.com/api/v1/quotes/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "quote",
    "number": "Q-2026-0001",
    "status": "sent",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": "2026-12-14",
    "dueDate": null,
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
patch/api/v1/quotes/{id}

Update a draft quote

Only drafts can be edited (409 conflict otherwise).

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).

Request body (JSON)

contactIdstring (uuid) | null
companyIdstring (uuid) | null
dealIdstring (uuid) | null
customerobject
currencystring
language"en" | "tr"
issueDatestring
validUntilstring | null
dueDatestring | null
referencestring | null
titlestring | null
linesobject[]
pricesIncludeTaxboolean
docDiscountPctnumber(max 100, min 0)
termsstring | null
paymentInstructionsstring | null
notesstring | null
curl -X PATCH "https://pazaroid.com/api/v1/quotes/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"reference":"PO-7781"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "quote",
    "number": "Q-2026-0001",
    "status": "draft",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": "2026-12-14",
    "dueDate": null,
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
delete/api/v1/quotes/{id}

Delete a draft quote

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/quotes/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404409429
post/api/v1/quotes/{id}/send

Send a quote

Marks it sent, creates the secure link and optionally emails or messages the contact (do-not-contact is respected; failures are listed in delivery). Fires quote.sent.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).

Request body (JSON)

channels"email" | "whatsapp" | "sms"[]Empty = only mark as sent and return the link.(default [])
messagestring(max 5000 chars)
subjectstring(max 200 chars)
curl -X POST "https://pazaroid.com/api/v1/quotes/CONTACT_ID/send" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channels":["email"]}'
Success200Errors400401403404409429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "quote",
    "number": "Q-2026-0001",
    "status": "sent",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": "2026-12-14",
    "dueDate": null,
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
post/api/v1/quotes/{id}/convert

Convert an accepted quote to an invoice

Creates a draft invoice with the lines the customer kept and marks the quote converted.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).
curl -X POST "https://pazaroid.com/api/v1/quotes/CONTACT_ID/convert" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success201Errors400401403404409429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "invoice",
    "number": "",
    "status": "draft",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": null,
    "dueDate": "2026-11-28",
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
get/api/v1/invoices

List invoices

Includes proforma invoices. status can be draft, sent, viewed, partial, paid or void (overdue is computed from dueDate and balanceCents).

Query parameters

statusstring(max 20 chars)
contactIdstring (uuid)
dealIdstring (uuid)
limitinteger(default 25, max 100, min 1)
pageinteger(default 1, max 10000, min 1)
curl "https://pazaroid.com/api/v1/invoices" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
      "type": "invoice",
      "number": "INV-2026-0001",
      "status": "sent",
      "version": 1,
      "contactId": null,
      "customer": {
        "name": "Jane Doe",
        "email": "jane@acme.com"
      },
      "currency": "USD",
      "issueDate": "2026-11-14",
      "validUntil": null,
      "dueDate": "2026-11-28",
      "lines": [
        {
          "id": "l1",
          "kind": "item",
          "description": "Website redesign",
          "qty": 1,
          "unitPriceCents": 100000,
          "taxRatePct": 20
        }
      ],
      "totals": {
        "subtotalCents": 100000,
        "discountCents": 0,
        "taxCents": 20000,
        "totalCents": 120000,
        "paidCents": 0,
        "creditedCents": 0,
        "balanceCents": 120000
      },
      "url": "https://app.example.com/q/<token>",
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "page": 1,
    "total": 1,
    "hasMore": false
  }
}
post/api/v1/invoices

Create an invoice (draft)

Invoice numbers are gapless and assigned when the invoice is sent, never for drafts.

Path & header parameters

Idempotency-KeyheaderOptional. Any unique string (max 200 chars).

Request body (JSON)

contactIdstring (uuid) | null
companyIdstring (uuid) | null
dealIdstring (uuid) | null
customerobject
currencystring
language"en" | "tr"
issueDatestring
validUntilstring | null
dueDatestring | null
referencestring | null
titlestring | null
linesobject[]
pricesIncludeTaxboolean
docDiscountPctnumber(max 100, min 0)
termsstring | null
paymentInstructionsstring | null
notesstring | null
curl -X POST "https://pazaroid.com/api/v1/invoices" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Website redesign","contactId":null,"currency":"USD","lines":[{"description":"Website redesign","qty":1,"unitPriceCents":100000,"taxRatePct":20}]}'
Success201Errors400401403429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "invoice",
    "number": "",
    "status": "draft",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": null,
    "dueDate": "2026-11-28",
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
get/api/v1/invoices/{id}

Get an invoice

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).
curl "https://pazaroid.com/api/v1/invoices/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "invoice",
    "number": "INV-2026-0001",
    "status": "sent",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": null,
    "dueDate": "2026-11-28",
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
patch/api/v1/invoices/{id}

Update a draft invoice

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).

Request body (JSON)

contactIdstring (uuid) | null
companyIdstring (uuid) | null
dealIdstring (uuid) | null
customerobject
currencystring
language"en" | "tr"
issueDatestring
validUntilstring | null
dueDatestring | null
referencestring | null
titlestring | null
linesobject[]
pricesIncludeTaxboolean
docDiscountPctnumber(max 100, min 0)
termsstring | null
paymentInstructionsstring | null
notesstring | null
curl -X PATCH "https://pazaroid.com/api/v1/invoices/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"dueDate":"2026-12-01"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "invoice",
    "number": "",
    "status": "draft",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": null,
    "dueDate": "2026-11-28",
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
delete/api/v1/invoices/{id}

Delete a draft invoice

Only never-numbered drafts. An issued invoice is never deleted; void it in the app.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/invoices/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404409429
post/api/v1/invoices/{id}/send

Issue and send an invoice

Assigns the permanent number (atomically, no gaps), creates the secure link and optionally messages the contact. Fires invoice.sent.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).

Request body (JSON)

channels"email" | "whatsapp" | "sms"[]Empty = only mark as sent and return the link.(default [])
messagestring(max 5000 chars)
subjectstring(max 200 chars)
curl -X POST "https://pazaroid.com/api/v1/invoices/CONTACT_ID/send" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channels":["email"]}'
Success200Errors400401403404409429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "invoice",
    "number": "INV-2026-0001",
    "status": "sent",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": null,
    "dueDate": "2026-11-28",
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
post/api/v1/invoices/{id}/payments

Record a payment

Part payments are allowed up to the open balance. Fires payment.received and, when the balance reaches zero, invoice.paid. Send idempotencyKey to make retries safe.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).

Request body (JSON)

amountCentsrequiredinteger(max 9007199254740991)
method"cash" | "transfer" | "card" | "other"(default "transfer")
referencestring(max 120 chars)
notestring(max 500 chars)
paidAtstring
idempotencyKeystringRepeat calls with the same key record the payment once.(max 100 chars)
curl -X POST "https://pazaroid.com/api/v1/invoices/CONTACT_ID/payments" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amountCents":120000,"method":"transfer","reference":"Bank ref 4411"}'
Success201Errors400401403404409429
{
  "data": {
    "id": "c1d2e3f4-a5b6-4c7d-8e9f-0a1b2c3d4e5f",
    "type": "invoice",
    "number": "INV-2026-0001",
    "status": "paid",
    "version": 1,
    "contactId": null,
    "customer": {
      "name": "Jane Doe",
      "email": "jane@acme.com"
    },
    "currency": "USD",
    "issueDate": "2026-11-14",
    "validUntil": null,
    "dueDate": "2026-11-28",
    "lines": [
      {
        "id": "l1",
        "kind": "item",
        "description": "Website redesign",
        "qty": 1,
        "unitPriceCents": 100000,
        "taxRatePct": 20
      }
    ],
    "totals": {
      "subtotalCents": 100000,
      "discountCents": 0,
      "taxCents": 20000,
      "totalCents": 120000,
      "paidCents": 0,
      "creditedCents": 0,
      "balanceCents": 120000
    },
    "url": "https://app.example.com/q/<token>",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}

Orders

get/api/v1/orders

List orders

Newest first. Requires the Orders & Fulfillment module. Page based: page and limit (max 100). Amounts are integers in minor units.

Query parameters

status"new" | "confirmed" | "processing" | "completed" | "cancelled"
payment_status"unpaid" | "partially_paid" | "paid" | "refunded" | "failed"
fulfillment_status"unfulfilled" | "picking" | "packed" | "shipped" | "delivered" | "returned"
sourcestring(max 30 chars)
contact_idstring (uuid)
qstringOrder number, customer name or email.(max 80 chars)
limitinteger(default 25, max 100, min 1)
pageinteger(default 1, max 10000, min 1)
curl "https://pazaroid.com/api/v1/orders" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
      "number": 1042,
      "status": "new",
      "paymentStatus": "unpaid",
      "fulfillmentStatus": "unfulfilled",
      "source": "manual",
      "externalId": null,
      "currency": "USD",
      "contactId": null,
      "companyId": null,
      "customerName": "Jane Doe",
      "customerEmail": "jane@acme.com",
      "customerPhone": null,
      "subtotalCents": 10000,
      "discountCents": 0,
      "taxCents": 0,
      "shippingCents": 500,
      "totalCents": 10500,
      "paidCents": 0,
      "refundedCents": 0,
      "couponCode": null,
      "shippingMethod": "Standard",
      "shippingAddress": {
        "city": "Berlin"
      },
      "billingAddress": {},
      "notes": "",
      "tags": [],
      "placedAt": "2026-11-14T10:00:00.000Z",
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z"
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 25,
    "total": 1,
    "hasMore": false
  }
}
post/api/v1/orders

Create an order

Totals are computed by the server (discount, tax, shipping). Fires order.created. Orders with an externalId are unique per source: sending the same one again returns 409 conflict with the existing orderId, so retries are safe. Stock is reserved when the order is confirmed.

Request body (JSON)

contactIdstring (uuid) | null
companyIdstring (uuid) | null
dealIdstring (uuid) | null
customerNamestring | null
customerEmailstring | null
customerPhonestring | null
source"manual" | "web" | "shopify" | "woocommerce" | "stripe" | "whatsapp" | "phone" | "quote"Where the order came from.(default "manual")
externalIdstring | nullYour own order number or id. Unique per `source`: a second create with the same one returns `409 conflict` and the existing `orderId`.
currencystring(default "USD")
discountobject | nullOrder level discount: `amount` in minor units or `percent` (0 to 100).
couponCodestring | null
shippingCentsinteger(max 9007199254740991, min 0)
shippingMethodstring | null
shippingAddressobject
billingAddressobject
notesstring(max 5000 chars)
tagsstring[]
taxIncludedbooleanPrices already contain tax.
itemsrequiredobject[]
curl -X POST "https://pazaroid.com/api/v1/orders" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"customerName":"Jane Doe","customerEmail":"jane@acme.com","currency":"USD","shippingCents":500,"shippingMethod":"Standard","items":[{"name":"Linen shirt","qty":2,"unitPriceCents":5000}]}'
Success201Errors400401403409429
{
  "data": {
    "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled",
    "source": "manual",
    "externalId": null,
    "currency": "USD",
    "contactId": null,
    "companyId": null,
    "customerName": "Jane Doe",
    "customerEmail": "jane@acme.com",
    "customerPhone": null,
    "subtotalCents": 10000,
    "discountCents": 0,
    "taxCents": 0,
    "shippingCents": 500,
    "totalCents": 10500,
    "paidCents": 0,
    "refundedCents": 0,
    "couponCode": null,
    "shippingMethod": "Standard",
    "shippingAddress": {
      "city": "Berlin"
    },
    "billingAddress": {},
    "notes": "",
    "tags": [],
    "placedAt": "2026-11-14T10:00:00.000Z",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "items": [
      {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "Linen shirt",
        "sku": "SHIRT-L",
        "productId": null,
        "qty": 2,
        "unitPriceCents": 5000,
        "discountCents": 0,
        "taxRatePct": 0,
        "shippedQty": 0,
        "returnedQty": 0
      }
    ],
    "payments": [],
    "shipments": []
  }
}
get/api/v1/orders/{id}

Get an order

Includes items, payments and shipments (with tracking links).

Path & header parameters

idrequiredstring (uuid), in pathOrder id (UUID).
curl "https://pazaroid.com/api/v1/orders/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled",
    "source": "manual",
    "externalId": null,
    "currency": "USD",
    "contactId": null,
    "companyId": null,
    "customerName": "Jane Doe",
    "customerEmail": "jane@acme.com",
    "customerPhone": null,
    "subtotalCents": 10000,
    "discountCents": 0,
    "taxCents": 0,
    "shippingCents": 500,
    "totalCents": 10500,
    "paidCents": 0,
    "refundedCents": 0,
    "couponCode": null,
    "shippingMethod": "Standard",
    "shippingAddress": {
      "city": "Berlin"
    },
    "billingAddress": {},
    "notes": "",
    "tags": [],
    "placedAt": "2026-11-14T10:00:00.000Z",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "items": [
      {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "Linen shirt",
        "sku": "SHIRT-L",
        "productId": null,
        "qty": 2,
        "unitPriceCents": 5000,
        "discountCents": 0,
        "taxRatePct": 0,
        "shippedQty": 0,
        "returnedQty": 0
      }
    ],
    "payments": [],
    "shipments": []
  }
}
patch/api/v1/orders/{id}

Update an order

Only the fields you send change. Items and amounts cannot change after something shipped, on cancelled or completed orders, or on orders synced from a store.

Path & header parameters

idrequiredstring (uuid), in pathOrder id (UUID).

Request body (JSON)

contactIdstring (uuid) | null
companyIdstring (uuid) | null
customerNamestring | null
customerEmailstring | null
customerPhonestring | null
currencystring(default "USD")
discountobject | nullOrder level discount: `amount` in minor units or `percent` (0 to 100).
couponCodestring | null
shippingCentsinteger(max 9007199254740991, min 0)
shippingMethodstring | null
shippingAddressobject
billingAddressobject
notesstring(max 5000 chars)
tagsstring[]
itemsobject[]
curl -X PATCH "https://pazaroid.com/api/v1/orders/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"notes":"Gift wrap","tags":["gift"]}'
Success200Errors400401403404409429
{
  "data": {
    "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled",
    "source": "manual",
    "externalId": null,
    "currency": "USD",
    "contactId": null,
    "companyId": null,
    "customerName": "Jane Doe",
    "customerEmail": "jane@acme.com",
    "customerPhone": null,
    "subtotalCents": 10000,
    "discountCents": 0,
    "taxCents": 0,
    "shippingCents": 500,
    "totalCents": 10500,
    "paidCents": 0,
    "refundedCents": 0,
    "couponCode": null,
    "shippingMethod": "Standard",
    "shippingAddress": {
      "city": "Berlin"
    },
    "billingAddress": {},
    "notes": "",
    "tags": [],
    "placedAt": "2026-11-14T10:00:00.000Z",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "items": [
      {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "Linen shirt",
        "sku": "SHIRT-L",
        "productId": null,
        "qty": 2,
        "unitPriceCents": 5000,
        "discountCents": 0,
        "taxRatePct": 0,
        "shippedQty": 0,
        "returnedQty": 0
      }
    ],
    "payments": [],
    "shipments": []
  }
}
delete/api/v1/orders/{id}

Delete an order

Permanent; releases reserved stock. Cancel instead to keep the history. Responds 204.

Path & header parameters

idrequiredstring (uuid), in pathOrder id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/orders/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404409429
post/api/v1/orders/{id}/status

Change the order or fulfillment status

Order status: new, confirmed, processing, completed, cancelled. Confirming reserves stock (409 when short). Cancelling releases it and fires order.cancelled; shipped orders cannot be cancelled. Fulfillment: unfulfilled, picking, packed, delivered. Use POST /orders/{id}/shipments to ship.

Path & header parameters

idrequiredstring (uuid), in pathOrder id (UUID).

Request body (JSON)

status"new" | "confirmed" | "processing" | "completed" | "cancelled"New order status.
fulfillmentStatus"unfulfilled" | "picking" | "packed" | "delivered"Move the fulfillment track. Use the shipments endpoint to ship.
reasonstringCancellation reason.(max 300 chars)
curl -X POST "https://pazaroid.com/api/v1/orders/CONTACT_ID/status" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"confirmed"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "status": "confirmed",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled",
    "source": "manual",
    "externalId": null,
    "currency": "USD",
    "contactId": null,
    "companyId": null,
    "customerName": "Jane Doe",
    "customerEmail": "jane@acme.com",
    "customerPhone": null,
    "subtotalCents": 10000,
    "discountCents": 0,
    "taxCents": 0,
    "shippingCents": 500,
    "totalCents": 10500,
    "paidCents": 0,
    "refundedCents": 0,
    "couponCode": null,
    "shippingMethod": "Standard",
    "shippingAddress": {
      "city": "Berlin"
    },
    "billingAddress": {},
    "notes": "",
    "tags": [],
    "placedAt": "2026-11-14T10:00:00.000Z",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "items": [
      {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "Linen shirt",
        "sku": "SHIRT-L",
        "productId": null,
        "qty": 2,
        "unitPriceCents": 5000,
        "discountCents": 0,
        "taxRatePct": 0,
        "shippedQty": 0,
        "returnedQty": 0
      }
    ],
    "payments": [],
    "shipments": []
  }
}
post/api/v1/orders/{id}/payments

Record a payment

Part payments are allowed up to the open balance. When the order is fully paid paymentStatus becomes paid and order.paid fires.

Path & header parameters

idrequiredstring (uuid), in pathOrder id (UUID).

Request body (JSON)

amountCentsrequiredinteger(max 9007199254740991)
method"cash" | "card" | "bank_transfer" | "cod" | "online" | "other"(default "other")
referencestring | null
paidAtstring (date-time)
status"completed" | "failed"(default "completed")
curl -X POST "https://pazaroid.com/api/v1/orders/CONTACT_ID/payments" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amountCents":10500,"method":"bank_transfer","reference":"TX-9981"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "status": "new",
    "paymentStatus": "paid",
    "fulfillmentStatus": "unfulfilled",
    "source": "manual",
    "externalId": null,
    "currency": "USD",
    "contactId": null,
    "companyId": null,
    "customerName": "Jane Doe",
    "customerEmail": "jane@acme.com",
    "customerPhone": null,
    "subtotalCents": 10000,
    "discountCents": 0,
    "taxCents": 0,
    "shippingCents": 500,
    "totalCents": 10500,
    "paidCents": 10500,
    "refundedCents": 0,
    "couponCode": null,
    "shippingMethod": "Standard",
    "shippingAddress": {
      "city": "Berlin"
    },
    "billingAddress": {},
    "notes": "",
    "tags": [],
    "placedAt": "2026-11-14T10:00:00.000Z",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "items": [
      {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "Linen shirt",
        "sku": "SHIRT-L",
        "productId": null,
        "qty": 2,
        "unitPriceCents": 5000,
        "discountCents": 0,
        "taxRatePct": 0,
        "shippedQty": 0,
        "returnedQty": 0
      }
    ],
    "payments": [],
    "shipments": []
  }
}
post/api/v1/orders/{id}/refunds

Record a refund

Records that money was returned (full or partial) up to what was paid. Fires order.refunded. Pazaroid does not move money: refund through your payment provider.

Path & header parameters

idrequiredstring (uuid), in pathOrder id (UUID).

Request body (JSON)

amountCentsrequiredinteger(max 9007199254740991)
notestring(max 300 chars)
methodstring(max 40 chars)
curl -X POST "https://pazaroid.com/api/v1/orders/CONTACT_ID/refunds" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amountCents":2500,"note":"Damaged item"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "status": "new",
    "paymentStatus": "partially_paid",
    "fulfillmentStatus": "unfulfilled",
    "source": "manual",
    "externalId": null,
    "currency": "USD",
    "contactId": null,
    "companyId": null,
    "customerName": "Jane Doe",
    "customerEmail": "jane@acme.com",
    "customerPhone": null,
    "subtotalCents": 10000,
    "discountCents": 0,
    "taxCents": 0,
    "shippingCents": 500,
    "totalCents": 10500,
    "paidCents": 0,
    "refundedCents": 0,
    "couponCode": null,
    "shippingMethod": "Standard",
    "shippingAddress": {
      "city": "Berlin"
    },
    "billingAddress": {},
    "notes": "",
    "tags": [],
    "placedAt": "2026-11-14T10:00:00.000Z",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "items": [
      {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "Linen shirt",
        "sku": "SHIRT-L",
        "productId": null,
        "qty": 2,
        "unitPriceCents": 5000,
        "discountCents": 0,
        "taxRatePct": 0,
        "shippedQty": 0,
        "returnedQty": 0
      }
    ],
    "payments": [],
    "shipments": []
  }
}
post/api/v1/orders/{id}/shipments

Ship an order (or part of it)

Creates a shipment. Without lines everything left ships. Common carriers get a tracking link. Shipping the last item commits the reserved stock, sets the fulfillment status to shipped and fires order.shipped.

Path & header parameters

idrequiredstring (uuid), in pathOrder id (UUID).

Request body (JSON)

carrierstringCarrier id: yurtici, aras, mng, ptt, ups, dhl, fedex, hepsijet, surat, pickup or other. Names such as `UPS Ground` are matched too.(default "other", max 40 chars)
trackingNumberstring | null
trackingUrlstring (uri) | nullOptional. Common carriers get a tracking link automatically.
etaDatestring | null
linesobject[]Omit to ship everything that is left (partial shipments: list item ids and quantities).
notestring | null
curl -X POST "https://pazaroid.com/api/v1/orders/CONTACT_ID/shipments" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"carrier":"ups","trackingNumber":"1Z999AA10123456784"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "status": "processing",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "shipped",
    "source": "manual",
    "externalId": null,
    "currency": "USD",
    "contactId": null,
    "companyId": null,
    "customerName": "Jane Doe",
    "customerEmail": "jane@acme.com",
    "customerPhone": null,
    "subtotalCents": 10000,
    "discountCents": 0,
    "taxCents": 0,
    "shippingCents": 500,
    "totalCents": 10500,
    "paidCents": 0,
    "refundedCents": 0,
    "couponCode": null,
    "shippingMethod": "Standard",
    "shippingAddress": {
      "city": "Berlin"
    },
    "billingAddress": {},
    "notes": "",
    "tags": [],
    "placedAt": "2026-11-14T10:00:00.000Z",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "items": [
      {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "Linen shirt",
        "sku": "SHIRT-L",
        "productId": null,
        "qty": 2,
        "unitPriceCents": 5000,
        "discountCents": 0,
        "taxRatePct": 0,
        "shippedQty": 0,
        "returnedQty": 0
      }
    ],
    "payments": [],
    "shipments": []
  }
}
post/api/v1/orders/{id}/delivered

Mark shipments delivered

Marks every shipment delivered; fires order.delivered and completes a paid order.

Path & header parameters

idrequiredstring (uuid), in pathOrder id (UUID).
curl -X POST "https://pazaroid.com/api/v1/orders/CONTACT_ID/delivered" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404409429
{
  "data": {
    "id": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "delivered",
    "source": "manual",
    "externalId": null,
    "currency": "USD",
    "contactId": null,
    "companyId": null,
    "customerName": "Jane Doe",
    "customerEmail": "jane@acme.com",
    "customerPhone": null,
    "subtotalCents": 10000,
    "discountCents": 0,
    "taxCents": 0,
    "shippingCents": 500,
    "totalCents": 10500,
    "paidCents": 0,
    "refundedCents": 0,
    "couponCode": null,
    "shippingMethod": "Standard",
    "shippingAddress": {
      "city": "Berlin"
    },
    "billingAddress": {},
    "notes": "",
    "tags": [],
    "placedAt": "2026-11-14T10:00:00.000Z",
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "items": [
      {
        "id": "a1b2c3d4-0000-4000-8000-000000000001",
        "name": "Linen shirt",
        "sku": "SHIRT-L",
        "productId": null,
        "qty": 2,
        "unitPriceCents": 5000,
        "discountCents": 0,
        "taxRatePct": 0,
        "shippedQty": 0,
        "returnedQty": 0
      }
    ],
    "payments": [],
    "shipments": []
  }
}

Appointments

get/api/v1/appointment-services

List services

Bookable services with their duration, price, seats (group sessions) and the staff who offer them.

curl "https://pazaroid.com/api/v1/appointment-services" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": [
    {
      "id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
      "name": "Haircut",
      "description": "",
      "durationMin": 45,
      "priceCents": 4500,
      "capacity": 1,
      "bufferBeforeMin": 0,
      "bufferAfterMin": 10,
      "staffIds": [
        "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e"
      ]
    }
  ]
}
get/api/v1/appointment-staff

List staff

curl "https://pazaroid.com/api/v1/appointment-staff" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": [
    {
      "id": "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e",
      "name": "Maria Lopez",
      "title": "Stylist",
      "timezone": null,
      "bookableOnline": true,
      "serviceIds": [
        "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d"
      ]
    }
  ]
}
get/api/v1/appointment-availability

Check availability

Free start times of one local day for a service. Honours working hours, time off, buffers, minimum notice, the booking horizon and group-session seats. Without staffId every person who offers the service is merged.

Query parameters

serviceIdrequiredstring (uuid)
daterequiredstring
staffIdstring (uuid)
seatsinteger(default 1, max 200, min 1)
curl "https://pazaroid.com/api/v1/appointment-availability" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "durationMinutes": 45,
    "capacity": 1,
    "slots": [
      {
        "start": "2026-11-20T10:00:00.000Z",
        "end": "2026-11-20T10:45:00.000Z",
        "staffIds": [
          "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e"
        ],
        "seatsLeft": 1
      }
    ]
  }
}
get/api/v1/appointments

List appointments

Query parameters

fromstring (date-time)
tostring (date-time)
status"hold" | "requested" | "confirmed" | "completed" | "no_show" | "cancelled" | "expired"
staffIdstring (uuid)
limitinteger(default 50, max 200, min 1)
curl "https://pazaroid.com/api/v1/appointments" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
      "reference": "H4N8PW",
      "status": "confirmed",
      "source": "api",
      "service": {
        "id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
        "name": "Haircut"
      },
      "staff": {
        "id": "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e",
        "name": "Maria Lopez"
      },
      "start": "2026-11-20T10:00:00.000Z",
      "end": "2026-11-20T10:45:00.000Z",
      "timezone": "Europe/Istanbul",
      "seats": 1,
      "contactId": null,
      "clientName": "Jane Doe",
      "priceCents": 4500,
      "depositCents": 0,
      "paidCents": 0,
      "depositStatus": "none",
      "feeCents": 0,
      "currency": "USD",
      "notes": "",
      "manageUrl": "https://app.example.com/meet/manage/..."
    }
  ]
}
post/api/v1/appointments

Create an appointment

Fires appointment.created. Without staffId a person is picked automatically (round robin). A time that is already taken returns 409 conflict: double-booking is impossible, even with parallel requests. Send Idempotency-Key to retry safely.

Path & header parameters

Idempotency-KeyheaderOptional. Repeating a request with the same key returns the first result.

Request body (JSON)

serviceIdrequiredstring (uuid)
staffIdstring (uuid)
startrequiredstring (date-time)
seatsinteger(max 200, min 1)
clientobject
contactIdstring (uuid)
source"web" | "phone" | "whatsapp" | "walk_in" | "staff" | "api" | "waitlist" | "other"
status"requested" | "confirmed"
notesstring(max 2000 chars)
intakeobject
curl -X POST "https://pazaroid.com/api/v1/appointments" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"serviceId":"1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d","start":"2026-11-20T10:00:00.000Z","client":{"name":"Jane Doe","email":"jane@example.com"}}'
Success201Errors400401403409429
{
  "data": {
    "id": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "confirmed",
    "source": "api",
    "service": {
      "id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
      "name": "Haircut"
    },
    "staff": {
      "id": "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e",
      "name": "Maria Lopez"
    },
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "timezone": "Europe/Istanbul",
    "seats": 1,
    "contactId": null,
    "clientName": "Jane Doe",
    "priceCents": 4500,
    "depositCents": 0,
    "paidCents": 0,
    "depositStatus": "none",
    "feeCents": 0,
    "currency": "USD",
    "notes": "",
    "manageUrl": "https://app.example.com/meet/manage/..."
  }
}
get/api/v1/appointments/{id}

Get an appointment

Path & header parameters

idrequiredstring (uuid), in pathAppointment id (UUID).
curl "https://pazaroid.com/api/v1/appointments/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403404429
{
  "data": {
    "id": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "confirmed",
    "source": "api",
    "service": {
      "id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
      "name": "Haircut"
    },
    "staff": {
      "id": "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e",
      "name": "Maria Lopez"
    },
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "timezone": "Europe/Istanbul",
    "seats": 1,
    "contactId": null,
    "clientName": "Jane Doe",
    "priceCents": 4500,
    "depositCents": 0,
    "paidCents": 0,
    "depositStatus": "none",
    "feeCents": 0,
    "currency": "USD",
    "notes": "",
    "manageUrl": "https://app.example.com/meet/manage/..."
  }
}
patch/api/v1/appointments/{id}

Reschedule or edit an appointment

Change the start, the staff member or the notes (availability is checked again; 409 when taken).

Path & header parameters

idrequiredstring (uuid), in pathAppointment id (UUID).

Request body (JSON)

startstring (date-time)
staffIdstring (uuid)
notesstring(max 2000 chars)
curl -X PATCH "https://pazaroid.com/api/v1/appointments/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"start":"2026-11-20T11:00:00.000Z"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "confirmed",
    "source": "api",
    "service": {
      "id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
      "name": "Haircut"
    },
    "staff": {
      "id": "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e",
      "name": "Maria Lopez"
    },
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "timezone": "Europe/Istanbul",
    "seats": 1,
    "contactId": null,
    "clientName": "Jane Doe",
    "priceCents": 4500,
    "depositCents": 0,
    "paidCents": 0,
    "depositStatus": "none",
    "feeCents": 0,
    "currency": "USD",
    "notes": "",
    "manageUrl": "https://app.example.com/meet/manage/..."
  }
}
post/api/v1/appointments/{id}/status

Change the status

Transitions: requested, confirmed, completed, cancelled, no_show. Fires the matching event (appointment.confirmed, appointment.completed, appointment.cancelled, appointment.no_show). Cancelling and no-shows apply your fee policy.

Path & header parameters

idrequiredstring (uuid), in pathAppointment id (UUID).

Request body (JSON)

statusrequired"hold" | "requested" | "confirmed" | "completed" | "no_show" | "cancelled" | "expired"
reasonstring(max 300 chars)
curl -X POST "https://pazaroid.com/api/v1/appointments/CONTACT_ID/status" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"completed"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "confirmed",
    "source": "api",
    "service": {
      "id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
      "name": "Haircut"
    },
    "staff": {
      "id": "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e",
      "name": "Maria Lopez"
    },
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "timezone": "Europe/Istanbul",
    "seats": 1,
    "contactId": null,
    "clientName": "Jane Doe",
    "priceCents": 4500,
    "depositCents": 0,
    "paidCents": 0,
    "depositStatus": "none",
    "feeCents": 0,
    "currency": "USD",
    "notes": "",
    "manageUrl": "https://app.example.com/meet/manage/..."
  }
}
delete/api/v1/appointments/{id}

Cancel an appointment

Same as setting the status to cancelled; the record is kept.

Path & header parameters

idrequiredstring (uuid), in pathAppointment id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/appointments/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403404409429
{
  "data": {
    "id": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "cancelled",
    "source": "api",
    "service": {
      "id": "1b2c3d4e-5f60-4a7b-8c9d-0e1f2a3b4c5d",
      "name": "Haircut"
    },
    "staff": {
      "id": "2c3d4e5f-6071-4b8c-9dae-1f2a3b4c5d6e",
      "name": "Maria Lopez"
    },
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "timezone": "Europe/Istanbul",
    "seats": 1,
    "contactId": null,
    "clientName": "Jane Doe",
    "priceCents": 4500,
    "depositCents": 0,
    "paidCents": 0,
    "depositStatus": "none",
    "feeCents": 0,
    "currency": "USD",
    "notes": "",
    "manageUrl": "https://app.example.com/meet/manage/..."
  }
}

Support

get/api/v1/tickets

List tickets

Newest first. Requires the Support Tickets module. Page based: page and limit (max 100).

Query parameters

status"new" | "open" | "pending" | "on_hold" | "resolved" | "closed"
priority"low" | "normal" | "high" | "urgent"
assigneeIdstring (uuid)
requesterIdstring (uuid)
channel"email" | "whatsapp" | "instagram" | "telegram" | "sms" | "portal" | "phone" | "internal" | "api"
limitinteger(default 25, max 100, min 1)
pageinteger(default 1, max 10000, min 1)
curl "https://pazaroid.com/api/v1/tickets" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
      "number": 1042,
      "ticketNumber": "T-1042",
      "subject": "Cannot log in to my account",
      "description": "I get an error when I try to sign in.",
      "status": "open",
      "priority": "high",
      "channel": "email",
      "requesterId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "companyId": null,
      "categoryId": null,
      "teamId": null,
      "assigneeId": null,
      "tags": [
        "login"
      ],
      "dueAt": null,
      "dealId": null,
      "orderId": null,
      "quoteId": null,
      "custom": {},
      "mergedIntoId": null,
      "sla": {
        "firstResponseDueAt": "2026-11-14T14:00:00.000Z",
        "resolutionDueAt": "2026-11-15T10:00:00.000Z",
        "firstResponseAt": null,
        "firstResponseBreached": false,
        "resolutionBreached": false,
        "paused": false
      },
      "csat": null,
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z",
      "resolvedAt": null,
      "closedAt": null
    }
  ],
  "pagination": {
    "limit": 25,
    "page": 1,
    "total": 1,
    "hasMore": false
  }
}
post/api/v1/tickets

Create a ticket

Give an existing requesterId or a requester (found by email or phone, or created). Routing rules and the SLA policy apply as for any ticket. No automatic acknowledgement is sent for API-created tickets.

Request body (JSON)

subjectrequiredstringShort summary of the request.(max 200 chars)
descriptionstringThe customer's message or your own description.(max 20000 chars)
requesterIdstring (uuid)Existing contact id.
requesterobjectOr a customer to find by email/phone or create.
priority"low" | "normal" | "high" | "urgent"
channel"email" | "whatsapp" | "instagram" | "telegram" | "sms" | "portal" | "phone" | "internal" | "api"Where the request came from. Defaults to `api`.
categoryIdstring (uuid) | null
teamIdstring (uuid) | null
assigneeIdstring (uuid) | null
tagsstring[]
dueAtstring (date-time) | null
dealIdstring (uuid) | null
orderIdstring (uuid) | null
quoteIdstring (uuid) | null
customobject
curl -X POST "https://pazaroid.com/api/v1/tickets" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subject":"Cannot log in to my account","description":"I get an error when I try to sign in.","requester":{"name":"Jane Doe","email":"jane@acme.com"},"priority":"high"}'
Success201Errors400401403429
{
  "data": {
    "id": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "description": "I get an error when I try to sign in.",
    "status": "new",
    "priority": "high",
    "channel": "email",
    "requesterId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "categoryId": null,
    "teamId": null,
    "assigneeId": null,
    "tags": [
      "login"
    ],
    "dueAt": null,
    "dealId": null,
    "orderId": null,
    "quoteId": null,
    "custom": {},
    "mergedIntoId": null,
    "sla": {
      "firstResponseDueAt": "2026-11-14T14:00:00.000Z",
      "resolutionDueAt": "2026-11-15T10:00:00.000Z",
      "firstResponseAt": null,
      "firstResponseBreached": false,
      "resolutionBreached": false,
      "paused": false
    },
    "csat": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "resolvedAt": null,
    "closedAt": null
  }
}
get/api/v1/tickets/{id}

Get a ticket with its conversation

Path & header parameters

idrequiredstring (uuid), in pathTicket id (UUID).
curl "https://pazaroid.com/api/v1/tickets/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "description": "I get an error when I try to sign in.",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "requesterId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "categoryId": null,
    "teamId": null,
    "assigneeId": null,
    "tags": [
      "login"
    ],
    "dueAt": null,
    "dealId": null,
    "orderId": null,
    "quoteId": null,
    "custom": {},
    "mergedIntoId": null,
    "sla": {
      "firstResponseDueAt": "2026-11-14T14:00:00.000Z",
      "resolutionDueAt": "2026-11-15T10:00:00.000Z",
      "firstResponseAt": null,
      "firstResponseBreached": false,
      "resolutionBreached": false,
      "paused": false
    },
    "csat": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "resolvedAt": null,
    "closedAt": null,
    "messages": [
      {
        "id": "9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f",
        "kind": "public",
        "direction": "out",
        "authorName": "API",
        "channel": "email",
        "body": "Thanks, we are on it.",
        "delivery": "sent",
        "createdAt": "2026-11-14T10:05:00.000Z"
      }
    ]
  }
}
patch/api/v1/tickets/{id}

Update a ticket

Changing the priority recalculates the SLA deadlines. Use the status and assign endpoints for those.

Path & header parameters

idrequiredstring (uuid), in pathTicket id (UUID).

Request body (JSON)

subjectstring(max 200 chars)
descriptionstring(max 20000 chars)
priority"low" | "normal" | "high" | "urgent"
categoryIdstring (uuid) | null
tagsstring[]
dueAtstring (date-time) | null
customobject
dealIdstring (uuid) | null
orderIdstring (uuid) | null
quoteIdstring (uuid) | null
curl -X PATCH "https://pazaroid.com/api/v1/tickets/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"priority":"urgent","tags":["login","vip"]}'
Success200Errors400401403404429
{
  "data": {
    "id": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "description": "I get an error when I try to sign in.",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "requesterId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "categoryId": null,
    "teamId": null,
    "assigneeId": null,
    "tags": [
      "login"
    ],
    "dueAt": null,
    "dealId": null,
    "orderId": null,
    "quoteId": null,
    "custom": {},
    "mergedIntoId": null,
    "sla": {
      "firstResponseDueAt": "2026-11-14T14:00:00.000Z",
      "resolutionDueAt": "2026-11-15T10:00:00.000Z",
      "firstResponseAt": null,
      "firstResponseBreached": false,
      "resolutionBreached": false,
      "paused": false
    },
    "csat": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "resolvedAt": null,
    "closedAt": null
  }
}
delete/api/v1/tickets/{id}

Delete a ticket

Permanent. The deletion is written to the audit log. Closing or merging is usually better.

Path & header parameters

idrequiredstring (uuid), in pathTicket id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/tickets/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404429
post/api/v1/tickets/{id}/replies

Send a public reply

Sends the reply through the ticket's channel (email with threading headers, WhatsApp/Instagram within the 24 hour window, Telegram, SMS). Consent and do-not-contact rules apply: a blocked send returns 409 blocked and stores nothing. Attachments are not supported yet.

Path & header parameters

idrequiredstring (uuid), in pathTicket id (UUID).

Request body (JSON)

bodyrequiredstring(max 20000 chars)
authorNamestringShown to the customer. Defaults to "API".(max 80 chars)
channel"email" | "whatsapp" | "instagram" | "telegram" | "sms" | "portal"Defaults to the ticket's channel. `portal` stores the reply without sending a message.
curl -X POST "https://pazaroid.com/api/v1/tickets/CONTACT_ID/replies" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Thanks, we are on it.","authorName":"Support team"}'
Success201Errors400401403404409429
{
  "data": {
    "id": "9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f",
    "kind": "public",
    "direction": "out",
    "authorName": "API",
    "channel": "email",
    "body": "Thanks, we are on it.",
    "delivery": "sent",
    "createdAt": "2026-11-14T10:05:00.000Z"
  }
}
post/api/v1/tickets/{id}/notes

Add an internal note

Notes are only visible to your team.

Path & header parameters

idrequiredstring (uuid), in pathTicket id (UUID).

Request body (JSON)

bodyrequiredstring(max 20000 chars)
authorNamestring(max 80 chars)
curl -X POST "https://pazaroid.com/api/v1/tickets/CONTACT_ID/notes" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body":"Customer is on the VIP plan."}'
Success201Errors400401403404429
{
  "data": {
    "id": "9c1d2e3f-4a5b-4c6d-8e7f-0a1b2c3d4e5f",
    "kind": "internal",
    "direction": null,
    "authorName": "API",
    "channel": "email",
    "body": "Thanks, we are on it.",
    "delivery": null,
    "createdAt": "2026-11-14T10:05:00.000Z"
  }
}
post/api/v1/tickets/{id}/status

Change the status

Allowed moves: new to any, open to pending/on_hold/resolved/closed, pending and on_hold back to open, resolved to open or closed, closed to open. Pending and on_hold pause the SLA clock. Resolving sends the satisfaction survey.

Path & header parameters

idrequiredstring (uuid), in pathTicket id (UUID).

Request body (JSON)

statusrequired"open" | "pending" | "on_hold" | "resolved" | "closed"
curl -X POST "https://pazaroid.com/api/v1/tickets/CONTACT_ID/status" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"resolved"}'
Success200Errors400401403404429
{
  "data": {
    "id": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "description": "I get an error when I try to sign in.",
    "status": "resolved",
    "priority": "high",
    "channel": "email",
    "requesterId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "categoryId": null,
    "teamId": null,
    "assigneeId": null,
    "tags": [
      "login"
    ],
    "dueAt": null,
    "dealId": null,
    "orderId": null,
    "quoteId": null,
    "custom": {},
    "mergedIntoId": null,
    "sla": {
      "firstResponseDueAt": "2026-11-14T14:00:00.000Z",
      "resolutionDueAt": "2026-11-15T10:00:00.000Z",
      "firstResponseAt": null,
      "firstResponseBreached": false,
      "resolutionBreached": false,
      "paused": false
    },
    "csat": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "resolvedAt": null,
    "closedAt": null
  }
}
post/api/v1/tickets/{id}/assign

Assign a ticket

Set assigneeId and/or teamId. Pass null to clear.

Path & header parameters

idrequiredstring (uuid), in pathTicket id (UUID).

Request body (JSON)

assigneeIdstring (uuid) | null
teamIdstring (uuid) | null
curl -X POST "https://pazaroid.com/api/v1/tickets/CONTACT_ID/assign" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"assigneeId":"5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21"}'
Success200Errors400401403404429
{
  "data": {
    "id": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "description": "I get an error when I try to sign in.",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "requesterId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "categoryId": null,
    "teamId": null,
    "assigneeId": null,
    "tags": [
      "login"
    ],
    "dueAt": null,
    "dealId": null,
    "orderId": null,
    "quoteId": null,
    "custom": {},
    "mergedIntoId": null,
    "sla": {
      "firstResponseDueAt": "2026-11-14T14:00:00.000Z",
      "resolutionDueAt": "2026-11-15T10:00:00.000Z",
      "firstResponseAt": null,
      "firstResponseBreached": false,
      "resolutionBreached": false,
      "paused": false
    },
    "csat": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "resolvedAt": null,
    "closedAt": null
  }
}

Documents

get/api/v1/documents

List documents

Newest first. Requires the Documents module. Page based: page and limit (max 100).

Query parameters

status"draft" | "sent" | "viewed" | "signed" | "expired"
kind"file" | "contract"
contactIdstring (uuid)
limitinteger(default 25, max 100, min 1)
pageinteger(default 1, max 10000, min 1)
curl "https://pazaroid.com/api/v1/documents" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
      "title": "Service agreement - Jane Doe",
      "kind": "contract",
      "status": "draft",
      "contactId": null,
      "signerName": "Jane Doe",
      "signerEmail": "jane@acme.com",
      "expiresOn": "2027-06-30",
      "tags": [
        "customer"
      ],
      "currentVersion": 1,
      "sizeBytes": 48211,
      "filename": "agreement.pdf",
      "mime": "application/pdf",
      "sentAt": null,
      "viewedAt": null,
      "signedAt": null,
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "page": 1,
    "total": 1,
    "hasMore": false
  }
}
post/api/v1/documents

Upload a document

Send multipart/form-data with a file field (PDF, images, Office files, txt, csv; checked by content, 25 MB by default) and optional title, kind (file or contract; contracts must be PDF), contactId, expiresOn (YYYY-MM-DD), tags (comma separated) and folderId. Files are not virus scanned.

curl -X POST "https://pazaroid.com/api/v1/documents" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success201Errors400401403413429
{
  "data": {
    "id": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "draft",
    "contactId": null,
    "signerName": "Jane Doe",
    "signerEmail": "jane@acme.com",
    "expiresOn": "2027-06-30",
    "tags": [
      "customer"
    ],
    "currentVersion": 1,
    "sizeBytes": 48211,
    "filename": "agreement.pdf",
    "mime": "application/pdf",
    "sentAt": null,
    "viewedAt": null,
    "signedAt": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}
get/api/v1/documents/{id}

Get a document

Includes versions, links and downloadUrl, a signed link that expires after 5 minutes. Files are always served as downloads (only PDF and images may open inline), never as HTML.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).
curl "https://pazaroid.com/api/v1/documents/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "draft",
    "contactId": null,
    "signerName": "Jane Doe",
    "signerEmail": "jane@acme.com",
    "expiresOn": "2027-06-30",
    "tags": [
      "customer"
    ],
    "currentVersion": 1,
    "sizeBytes": 48211,
    "filename": "agreement.pdf",
    "mime": "application/pdf",
    "sentAt": null,
    "viewedAt": null,
    "signedAt": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "downloadUrl": "https://app.example.com/api/documents/file/<id>?exp=...&sig=...",
    "downloadUrlExpiresInSeconds": 300,
    "versions": [],
    "links": []
  }
}
delete/api/v1/documents/{id}

Delete a document

Deletes the record, every version and the stored files.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/documents/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404429
post/api/v1/documents/{id}/send

Send a contract for signature

The document must be a PDF contract with a signer. Creates the secure signing link (url), optionally emails it (consent and do-not-contact are respected, failures are listed in delivery) and fires document.sent. The signature is a simple e-signature (typed name, consent, IP and time), not a qualified one.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).

Request body (JSON)

emailbooleanEmail the signing link to the contact (consent and do-not-contact are respected). The link is always returned.(default true)
messagestring(max 2000 chars)
curl -X POST "https://pazaroid.com/api/v1/documents/CONTACT_ID/send" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"email":true}'
Success200Errors400401403404409429
{
  "data": {
    "id": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "sent",
    "contactId": null,
    "signerName": "Jane Doe",
    "signerEmail": "jane@acme.com",
    "expiresOn": "2027-06-30",
    "tags": [
      "customer"
    ],
    "currentVersion": 1,
    "sizeBytes": 48211,
    "filename": "agreement.pdf",
    "mime": "application/pdf",
    "sentAt": null,
    "viewedAt": null,
    "signedAt": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "url": "https://app.example.com/d/<token>",
    "delivery": null
  }
}
post/api/v1/documents/{id}/links

Attach a document to a record

Attach to a contact, company, deal, ticket, quote or order of the same workspace. One document can be attached to several records.

Path & header parameters

idrequiredstring (uuid), in pathDocument id (UUID).

Request body (JSON)

entityrequired"contact" | "company" | "deal" | "ticket" | "quote" | "order"
entityIdrequiredstring (uuid)
curl -X POST "https://pazaroid.com/api/v1/documents/CONTACT_ID/links" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"entity":"ticket","entityId":"3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c"}'
Success200Errors400401403404429
{
  "data": {
    "id": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "draft",
    "contactId": null,
    "signerName": "Jane Doe",
    "signerEmail": "jane@acme.com",
    "expiresOn": "2027-06-30",
    "tags": [
      "customer"
    ],
    "currentVersion": 1,
    "sizeBytes": 48211,
    "filename": "agreement.pdf",
    "mime": "application/pdf",
    "sentAt": null,
    "viewedAt": null,
    "signedAt": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z"
  }
}

Subscriptions

get/api/v1/subscriptions

List subscriptions

Newest first. Requires the Subscriptions module. Page based: page and limit (max 100). Statuses: trialing, active, past_due, paused, canceled, expired.

Query parameters

status"trialing" | "active" | "past_due" | "paused" | "canceled" | "expired"
contactIdstring (uuid)
planIdstring (uuid)
limitinteger(default 25, max 100, min 1)
pageinteger(default 1, max 10000, min 1)
curl "https://pazaroid.com/api/v1/subscriptions" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
      "number": 1024,
      "status": "active",
      "contactId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
      "planId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
      "planName": "Gold membership",
      "currency": "USD",
      "priceCents": 4900,
      "interval": "month",
      "intervalCount": 1,
      "quantity": 1,
      "mrrCents": 4900,
      "startedOn": "2027-01-31",
      "trialEndsOn": null,
      "periodStart": "2027-01-31",
      "periodEnd": "2027-02-28",
      "endsOn": null,
      "cancelAtPeriodEnd": false,
      "cancelReason": null,
      "canceledAt": null,
      "endedAt": null,
      "pausedAt": null,
      "resumeOn": null,
      "collection": "automatic",
      "cardLabel": "Visa ending 4242",
      "creditCents": 0,
      "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
      "createdAt": "2027-01-31T10:00:00.000Z",
      "updatedAt": "2027-01-31T10:00:00.000Z"
    }
  ],
  "pagination": {
    "limit": 25,
    "page": 1,
    "total": 1,
    "hasMore": false
  }
}
post/api/v1/subscriptions

Create a subscription

Signs a contact up to a plan. A plan with trial days starts as trialing; otherwise the first invoice is created at once (and charged when a card is saved). Money is in minor units.

Request body (JSON)

contactIdrequiredstring (uuid)The customer (contact).
planIdrequiredstring (uuid)
quantityintegerSeats.(max 100000, min 1)
couponCodestring(max 30 chars)
skipTrialboolean
addonsobject[]
collection"automatic" | "manual"
curl -X POST "https://pazaroid.com/api/v1/subscriptions" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"contactId":"3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c","planId":"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d","couponCode":"WELCOME20"}'
Success201Errors400401403429
{
  "data": {
    "id": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "status": "active",
    "contactId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "planId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "planName": "Gold membership",
    "currency": "USD",
    "priceCents": 4900,
    "interval": "month",
    "intervalCount": 1,
    "quantity": 1,
    "mrrCents": 4900,
    "startedOn": "2027-01-31",
    "trialEndsOn": null,
    "periodStart": "2027-01-31",
    "periodEnd": "2027-02-28",
    "endsOn": null,
    "cancelAtPeriodEnd": false,
    "cancelReason": null,
    "canceledAt": null,
    "endedAt": null,
    "pausedAt": null,
    "resumeOn": null,
    "collection": "automatic",
    "cardLabel": "Visa ending 4242",
    "creditCents": 0,
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "createdAt": "2027-01-31T10:00:00.000Z",
    "updatedAt": "2027-01-31T10:00:00.000Z"
  }
}
get/api/v1/subscriptions/{id}

Get a subscription

Includes the current usage against the allowance and the latest invoices.

Path & header parameters

idrequiredstring (uuid), in pathSubscription id (UUID).
curl "https://pazaroid.com/api/v1/subscriptions/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "status": "active",
    "contactId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "planId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "planName": "Gold membership",
    "currency": "USD",
    "priceCents": 4900,
    "interval": "month",
    "intervalCount": 1,
    "quantity": 1,
    "mrrCents": 4900,
    "startedOn": "2027-01-31",
    "trialEndsOn": null,
    "periodStart": "2027-01-31",
    "periodEnd": "2027-02-28",
    "endsOn": null,
    "cancelAtPeriodEnd": false,
    "cancelReason": null,
    "canceledAt": null,
    "endedAt": null,
    "pausedAt": null,
    "resumeOn": null,
    "collection": "automatic",
    "cardLabel": "Visa ending 4242",
    "creditCents": 0,
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "createdAt": "2027-01-31T10:00:00.000Z",
    "updatedAt": "2027-01-31T10:00:00.000Z",
    "usage": {
      "metric": "visit",
      "unit": "visits",
      "used": 4,
      "included": 10,
      "remaining": 6,
      "overage": 0
    },
    "invoices": [
      {
        "number": "SUB-00042",
        "status": "paid",
        "totalCents": 4900,
        "currency": "USD",
        "periodStart": "2027-01-31",
        "periodEnd": "2027-02-28",
        "dueOn": "2027-02-07",
        "paidAt": "2027-01-31T10:00:02.000Z",
        "attempts": 0
      }
    ]
  }
}
patch/api/v1/subscriptions/{id}

Change plan, seats or note

A plan or seat change is prorated: an upgrade creates an invoice for the difference, a downgrade becomes credit on the next invoice. Only active and trialing subscriptions can change.

Path & header parameters

idrequiredstring (uuid), in pathSubscription id (UUID).

Request body (JSON)

planIdstring (uuid)
quantityinteger(max 100000, min 1)
notestring | null
curl -X PATCH "https://pazaroid.com/api/v1/subscriptions/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"planId":"8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d","quantity":3}'
Success200Errors400401403404409429
{
  "data": {
    "id": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "status": "active",
    "contactId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "planId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "planName": "Gold membership",
    "currency": "USD",
    "priceCents": 4900,
    "interval": "month",
    "intervalCount": 1,
    "quantity": 1,
    "mrrCents": 4900,
    "startedOn": "2027-01-31",
    "trialEndsOn": null,
    "periodStart": "2027-01-31",
    "periodEnd": "2027-02-28",
    "endsOn": null,
    "cancelAtPeriodEnd": false,
    "cancelReason": null,
    "canceledAt": null,
    "endedAt": null,
    "pausedAt": null,
    "resumeOn": null,
    "collection": "automatic",
    "cardLabel": "Visa ending 4242",
    "creditCents": 0,
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "createdAt": "2027-01-31T10:00:00.000Z",
    "updatedAt": "2027-01-31T10:00:00.000Z"
  }
}
delete/api/v1/subscriptions/{id}

Delete an ended subscription

Only canceled or expired subscriptions can be deleted (with their invoices, usage and history). Cancel a live one first.

Path & header parameters

idrequiredstring (uuid), in pathSubscription id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/subscriptions/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404409429
post/api/v1/subscriptions/{id}/pause

Pause a subscription

Billing stops until it is resumed (resumeOn, optional, resumes by itself that day). Fires subscription.paused.

Path & header parameters

idrequiredstring (uuid), in pathSubscription id (UUID).

Request body (JSON)

resumeOnstring | null
curl -X POST "https://pazaroid.com/api/v1/subscriptions/CONTACT_ID/pause" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"resumeOn":"2027-03-15"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "status": "paused",
    "contactId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "planId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "planName": "Gold membership",
    "currency": "USD",
    "priceCents": 4900,
    "interval": "month",
    "intervalCount": 1,
    "quantity": 1,
    "mrrCents": 4900,
    "startedOn": "2027-01-31",
    "trialEndsOn": null,
    "periodStart": "2027-01-31",
    "periodEnd": "2027-02-28",
    "endsOn": null,
    "cancelAtPeriodEnd": false,
    "cancelReason": null,
    "canceledAt": null,
    "endedAt": null,
    "pausedAt": null,
    "resumeOn": null,
    "collection": "automatic",
    "cardLabel": "Visa ending 4242",
    "creditCents": 0,
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "createdAt": "2027-01-31T10:00:00.000Z",
    "updatedAt": "2027-01-31T10:00:00.000Z"
  }
}
post/api/v1/subscriptions/{id}/resume

Resume a paused subscription

Starts a new billing period today and invoices it.

Path & header parameters

idrequiredstring (uuid), in pathSubscription id (UUID).
curl -X POST "https://pazaroid.com/api/v1/subscriptions/CONTACT_ID/resume" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403404409429
{
  "data": {
    "id": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "status": "active",
    "contactId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "planId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "planName": "Gold membership",
    "currency": "USD",
    "priceCents": 4900,
    "interval": "month",
    "intervalCount": 1,
    "quantity": 1,
    "mrrCents": 4900,
    "startedOn": "2027-01-31",
    "trialEndsOn": null,
    "periodStart": "2027-01-31",
    "periodEnd": "2027-02-28",
    "endsOn": null,
    "cancelAtPeriodEnd": false,
    "cancelReason": null,
    "canceledAt": null,
    "endedAt": null,
    "pausedAt": null,
    "resumeOn": null,
    "collection": "automatic",
    "cardLabel": "Visa ending 4242",
    "creditCents": 0,
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "createdAt": "2027-01-31T10:00:00.000Z",
    "updatedAt": "2027-01-31T10:00:00.000Z"
  }
}
post/api/v1/subscriptions/{id}/cancel

Cancel a subscription

period_end (default) keeps access until the paid period ends and can be undone in the app; now ends it immediately. reason is stored for churn reporting. Fires subscription.cancel_scheduled or subscription.canceled.

Path & header parameters

idrequiredstring (uuid), in pathSubscription id (UUID).

Request body (JSON)

mode"period_end" | "now"(default "period_end")
reasonstring(max 80 chars)
notestring(max 500 chars)
curl -X POST "https://pazaroid.com/api/v1/subscriptions/CONTACT_ID/cancel" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"mode":"period_end","reason":"too_expensive"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "status": "active",
    "contactId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "planId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "planName": "Gold membership",
    "currency": "USD",
    "priceCents": 4900,
    "interval": "month",
    "intervalCount": 1,
    "quantity": 1,
    "mrrCents": 4900,
    "startedOn": "2027-01-31",
    "trialEndsOn": null,
    "periodStart": "2027-01-31",
    "periodEnd": "2027-02-28",
    "endsOn": null,
    "cancelAtPeriodEnd": true,
    "cancelReason": "too_expensive",
    "canceledAt": null,
    "endedAt": null,
    "pausedAt": null,
    "resumeOn": null,
    "collection": "automatic",
    "cardLabel": "Visa ending 4242",
    "creditCents": 0,
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "createdAt": "2027-01-31T10:00:00.000Z",
    "updatedAt": "2027-01-31T10:00:00.000Z"
  }
}
post/api/v1/subscriptions/{id}/usage

Log usage (visits, classes, units)

Adds usage to the current period. Use idempotencyKey so a retry never counts twice. Usage above the plan allowance is billed as overage on the next invoice. Only trialing and active subscriptions accept usage.

Path & header parameters

idrequiredstring (uuid), in pathSubscription id (UUID).

Request body (JSON)

quantityinteger(default 1, max 10000, min 1)
metricstring(max 30 chars)
idempotencyKeystring(max 80 chars)
notestring(max 200 chars)
curl -X POST "https://pazaroid.com/api/v1/subscriptions/CONTACT_ID/usage" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"quantity":1,"idempotencyKey":"door-2027-02-03-0815"}'
Success200Errors400401403404409429
{
  "data": {
    "ok": true,
    "duplicate": false,
    "used": 5,
    "included": 10,
    "remaining": 5,
    "overage": 0,
    "metric": "visit",
    "unitLabel": "visits"
  }
}
get/api/v1/subscription-plans

List plans

Active plans, cheapest first.

curl "https://pazaroid.com/api/v1/subscription-plans" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors401403429
{
  "data": [
    {
      "id": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
      "name": "Gold membership",
      "description": null,
      "tier": "Gold",
      "priceCents": 4900,
      "currency": "USD",
      "interval": "month",
      "intervalCount": 1,
      "trialDays": 0,
      "setupFeeCents": 0,
      "includedSeats": 1,
      "seatPriceCents": 1500,
      "allowance": {
        "metric": "visit",
        "unitLabel": "visits",
        "included": 10,
        "overageCents": 300
      },
      "termPeriods": 0
    }
  ]
}
post/api/v1/subscription-plans

Create a plan

interval is week, month, year or custom (every intervalCount days). allowance is the usage included per period with the price of each extra unit.

Request body (JSON)

namerequiredstring(max 80 chars)
descriptionstring | null
tierstring | null
priceCentsrequiredinteger(max 9007199254740991, min 0)
currencystring(default "USD")
intervalrequired"week" | "month" | "year" | "custom"
intervalCountinteger(default 1, max 3650, min 1)
trialDaysinteger(default 0, max 365, min 0)
setupFeeCentsinteger(default 0, max 9007199254740991, min 0)
includedSeatsinteger(default 1, max 9007199254740991, min 0)
seatPriceCentsinteger(default 0, max 9007199254740991, min 0)
allowanceobject | null
termPeriodsinteger(default 0, max 600, min 0)
curl -X POST "https://pazaroid.com/api/v1/subscription-plans" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Gold membership","priceCents":4900,"interval":"month","allowance":{"metric":"visit","unitLabel":"visits","included":10,"overageCents":300}}'
Success201Errors400401403429
{
  "data": {
    "id": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "name": "Gold membership",
    "description": null,
    "tier": "Gold",
    "priceCents": 4900,
    "currency": "USD",
    "interval": "month",
    "intervalCount": 1,
    "trialDays": 0,
    "setupFeeCents": 0,
    "includedSeats": 1,
    "seatPriceCents": 1500,
    "allowance": {
      "metric": "visit",
      "unitLabel": "visits",
      "included": 10,
      "overageCents": 300
    },
    "termPeriods": 0
  }
}

Projects

get/api/v1/projects

List projects

Newest first. Requires the Projects & Jobs module. Page based: page and limit (max 100).

Query parameters

statusstring(max 40 chars)
contactIdstring (uuid)
dealIdstring (uuid)
ownerIdstring (uuid)
limitinteger(default 25, max 100, min 1)
pageinteger(default 1, max 10000, min 1)
curl "https://pazaroid.com/api/v1/projects" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403429
{
  "data": [
    {
      "id": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
      "number": 1007,
      "projectNumber": "P-1007",
      "name": "Website redesign",
      "description": null,
      "status": "active",
      "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "companyId": null,
      "dealId": null,
      "quoteId": null,
      "orderId": null,
      "ownerId": null,
      "memberIds": [],
      "startDate": "2026-11-16",
      "dueDate": "2026-12-15",
      "currency": "USD",
      "billing": "hourly",
      "defaultRateCents": 9500,
      "budgetMinutes": 2400,
      "budgetCents": null,
      "tags": [],
      "recurrence": null,
      "portalEnabled": false,
      "createdAt": "2026-11-14T10:00:00.000Z",
      "updatedAt": "2026-11-14T10:00:00.000Z",
      "completedAt": null,
      "archivedAt": null
    }
  ],
  "pagination": {
    "limit": 25,
    "page": 1,
    "total": 1,
    "hasMore": false
  }
}
post/api/v1/projects

Create a project

Optionally from a template (templateId), which also creates its tasks, milestones and dependencies. Links to a deal, quote or order are only accepted while that module is on.

Request body (JSON)

namerequiredstringProject name.(max 160 chars)
descriptionstring | null
statusstringA stage key of your workspace. Defaults to the first open stage.(max 40 chars)
contactIdstring (uuid) | null
companyIdstring (uuid) | null
dealIdstring (uuid) | nullNeeds the Deals module.
quoteIdstring (uuid) | nullNeeds the Quotes & Invoices module.
orderIdstring (uuid) | nullNeeds the Orders module.
ownerIdstring (uuid) | null
memberIdsstring (uuid)[]
startDatestring | null
dueDatestring | null
currencystring(max 3 chars)
billing"hourly" | "fixed" | "non_billable"
defaultRateCentsintegerHourly rate in minor units.(max 9007199254740991, min 0)
budgetMinutesinteger | null
budgetCentsinteger | null
tagsstring[]
templateIdstring (uuid) | nullCreate the tasks and milestones of this template.
recurrenceobject | null
portalbooleanTurn on the customer progress page.
curl -X POST "https://pazaroid.com/api/v1/projects" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"name":"Website redesign","contactId":"7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11","startDate":"2026-11-16","dueDate":"2026-12-15","billing":"hourly","defaultRateCents":9500,"budgetMinutes":2400}'
Success201Errors400401403429
{
  "data": {
    "id": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "description": null,
    "status": "planned",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "quoteId": null,
    "orderId": null,
    "ownerId": null,
    "memberIds": [],
    "startDate": "2026-11-16",
    "dueDate": "2026-12-15",
    "currency": "USD",
    "billing": "hourly",
    "defaultRateCents": 9500,
    "budgetMinutes": 2400,
    "budgetCents": null,
    "tags": [],
    "recurrence": null,
    "portalEnabled": false,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "completedAt": null,
    "archivedAt": null
  }
}
get/api/v1/projects/{id}

Get a project

Includes the minutes logged so far.

Path & header parameters

idrequiredstring (uuid), in pathProject id (UUID).
curl "https://pazaroid.com/api/v1/projects/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "description": null,
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "quoteId": null,
    "orderId": null,
    "ownerId": null,
    "memberIds": [],
    "startDate": "2026-11-16",
    "dueDate": "2026-12-15",
    "currency": "USD",
    "billing": "hourly",
    "defaultRateCents": 9500,
    "budgetMinutes": 2400,
    "budgetCents": null,
    "tags": [],
    "recurrence": null,
    "portalEnabled": false,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "completedAt": null,
    "archivedAt": null,
    "loggedMinutes": 600,
    "billableMinutes": 540
  }
}
patch/api/v1/projects/{id}

Update a project

Use the status endpoint to move it between stages.

Path & header parameters

idrequiredstring (uuid), in pathProject id (UUID).

Request body (JSON)

namestringProject name.(max 160 chars)
descriptionstring | null
contactIdstring (uuid) | null
companyIdstring (uuid) | null
dealIdstring (uuid) | nullNeeds the Deals module.
quoteIdstring (uuid) | nullNeeds the Quotes & Invoices module.
orderIdstring (uuid) | nullNeeds the Orders module.
ownerIdstring (uuid) | null
memberIdsstring (uuid)[]
startDatestring | null
dueDatestring | null
currencystring(max 3 chars)
billing"hourly" | "fixed" | "non_billable"
defaultRateCentsintegerHourly rate in minor units.(max 9007199254740991, min 0)
budgetMinutesinteger | null
budgetCentsinteger | null
tagsstring[]
recurrenceobject | null
portalbooleanTurn on the customer progress page.
curl -X PATCH "https://pazaroid.com/api/v1/projects/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"dueDate":"2026-12-20","budgetMinutes":3000}'
Success200Errors400401403404429
{
  "data": {
    "id": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "description": null,
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "quoteId": null,
    "orderId": null,
    "ownerId": null,
    "memberIds": [],
    "startDate": "2026-11-16",
    "dueDate": "2026-12-15",
    "currency": "USD",
    "billing": "hourly",
    "defaultRateCents": 9500,
    "budgetMinutes": 2400,
    "budgetCents": null,
    "tags": [],
    "recurrence": null,
    "portalEnabled": false,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "completedAt": null,
    "archivedAt": null
  }
}
post/api/v1/projects/{id}/status

Change the status

status is a stage key of your workspace (planned, active, on_hold, completed, cancelled by default). Moving into a done stage fires project.completed.

Path & header parameters

idrequiredstring (uuid), in pathProject id (UUID).

Request body (JSON)

statusrequiredstring(max 40 chars)
curl -X POST "https://pazaroid.com/api/v1/projects/CONTACT_ID/status" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"completed"}'
Success200Errors400401403404429
{
  "data": {
    "id": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "description": null,
    "status": "completed",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "quoteId": null,
    "orderId": null,
    "ownerId": null,
    "memberIds": [],
    "startDate": "2026-11-16",
    "dueDate": "2026-12-15",
    "currency": "USD",
    "billing": "hourly",
    "defaultRateCents": 9500,
    "budgetMinutes": 2400,
    "budgetCents": null,
    "tags": [],
    "recurrence": null,
    "portalEnabled": false,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "updatedAt": "2026-11-14T10:00:00.000Z",
    "completedAt": null,
    "archivedAt": null
  }
}
delete/api/v1/projects/{id}

Delete a project

Permanent: tasks, time, expenses and comments go with it. Written to the audit log.

Path & header parameters

idrequiredstring (uuid), in pathProject id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/projects/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404429
get/api/v1/projects/{id}/tasks

List the tasks of a project

Path & header parameters

idrequiredstring (uuid), in pathProject id (UUID).

Query parameters

statusstring(max 40 chars)
assigneeIdstring (uuid)
limitinteger(default 50, max 200, min 1)
pageinteger(default 1, max 10000, min 1)
curl "https://pazaroid.com/api/v1/projects/CONTACT_ID/tasks" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": [
    {
      "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
      "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
      "parentId": null,
      "milestoneId": null,
      "title": "Design the homepage",
      "description": null,
      "status": "todo",
      "priority": "high",
      "assigneeId": null,
      "startDate": null,
      "dueDate": "2026-11-20",
      "estimateMinutes": 240,
      "tags": [],
      "checklist": [],
      "recurrence": null,
      "createdAt": "2026-11-14T10:00:00.000Z",
      "completedAt": null
    }
  ],
  "pagination": {
    "limit": 50,
    "page": 1,
    "total": 1,
    "hasMore": false
  }
}
post/api/v1/projects/{id}/tasks

Add a task

Assigning a task notifies the assignee and fires project.task_assigned.

Path & header parameters

idrequiredstring (uuid), in pathProject id (UUID).

Request body (JSON)

titlerequiredstring(max 200 chars)
descriptionstring | null
statusstring(max 40 chars)
priority"low" | "normal" | "high" | "urgent"
assigneeIdstring (uuid) | null
parentIdstring (uuid) | nullMakes it a subtask.
milestoneIdstring (uuid) | null
startDatestring | null
dueDatestring | null
estimateMinutesinteger | null
tagsstring[]
checklistobject[]
recurrenceobject | null
curl -X POST "https://pazaroid.com/api/v1/projects/CONTACT_ID/tasks" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"title":"Design the homepage","priority":"high","dueDate":"2026-11-20","estimateMinutes":240}'
Success201Errors400401403404429
{
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "parentId": null,
    "milestoneId": null,
    "title": "Design the homepage",
    "description": null,
    "status": "todo",
    "priority": "high",
    "assigneeId": null,
    "startDate": null,
    "dueDate": "2026-11-20",
    "estimateMinutes": 240,
    "tags": [],
    "checklist": [],
    "recurrence": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "completedAt": null
  }
}
get/api/v1/project-tasks/{id}

Get a task

Path & header parameters

idrequiredstring (uuid), in pathTask id (UUID).
curl "https://pazaroid.com/api/v1/project-tasks/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "parentId": null,
    "milestoneId": null,
    "title": "Design the homepage",
    "description": null,
    "status": "todo",
    "priority": "high",
    "assigneeId": null,
    "startDate": null,
    "dueDate": "2026-11-20",
    "estimateMinutes": 240,
    "tags": [],
    "checklist": [],
    "recurrence": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "completedAt": null
  }
}
patch/api/v1/project-tasks/{id}

Update a task

Changing status into a done stage completes it (project.task_completed); a task with unfinished prerequisites answers 409 blocked.

Path & header parameters

idrequiredstring (uuid), in pathTask id (UUID).

Request body (JSON)

titlestring(max 200 chars)
descriptionstring | null
statusstring(max 40 chars)
priority"low" | "normal" | "high" | "urgent"
assigneeIdstring (uuid) | null
parentIdstring (uuid) | nullMakes it a subtask.
milestoneIdstring (uuid) | null
startDatestring | null
dueDatestring | null
estimateMinutesinteger | null
tagsstring[]
checklistobject[]
recurrenceobject | null
curl -X PATCH "https://pazaroid.com/api/v1/project-tasks/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"status":"done"}'
Success200Errors400401403404409429
{
  "data": {
    "id": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "parentId": null,
    "milestoneId": null,
    "title": "Design the homepage",
    "description": null,
    "status": "done",
    "priority": "high",
    "assigneeId": null,
    "startDate": null,
    "dueDate": "2026-11-20",
    "estimateMinutes": 240,
    "tags": [],
    "checklist": [],
    "recurrence": null,
    "createdAt": "2026-11-14T10:00:00.000Z",
    "completedAt": "2026-11-18T09:00:00.000Z"
  }
}
delete/api/v1/project-tasks/{id}

Delete a task

Its subtasks are deleted too.

Path & header parameters

idrequiredstring (uuid), in pathTask id (UUID).
curl -X DELETE "https://pazaroid.com/api/v1/project-tasks/CONTACT_ID" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success204Errors400401403404429
get/api/v1/projects/{id}/time

List time entries

Finished entries only, newest first (max 500).

Path & header parameters

idrequiredstring (uuid), in pathProject id (UUID).
curl "https://pazaroid.com/api/v1/projects/CONTACT_ID/time" \
  -H "Authorization: Bearer $PAZAROID_API_KEY"
Success200Errors400401403404429
{
  "data": [
    {
      "id": "3d4e5f60-7a8b-4c9d-8e1f-2a3b4c5d6e7f",
      "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
      "taskId": null,
      "userId": null,
      "date": "2026-11-18",
      "minutes": 90,
      "billable": true,
      "rateCents": 9500,
      "note": "Wireframes",
      "invoiced": false
    }
  ]
}
post/api/v1/projects/{id}/time

Log time

Logs a finished entry. The project's hourly rate is stored on the entry. Crossing the hours or amount budget fires project.budget_threshold once.

Path & header parameters

idrequiredstring (uuid), in pathProject id (UUID).

Request body (JSON)

taskIdstring (uuid) | null
datestring
minutesrequiredinteger(max 1440, min 1)
billableboolean
notestring | null
userIdstring (uuid) | null
curl -X POST "https://pazaroid.com/api/v1/projects/CONTACT_ID/time" \
  -H "Authorization: Bearer $PAZAROID_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"minutes":90,"date":"2026-11-18","note":"Wireframes"}'
Success201Errors400401403404429
{
  "data": {
    "id": "3d4e5f60-7a8b-4c9d-8e1f-2a3b4c5d6e7f",
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "taskId": null,
    "userId": null,
    "date": "2026-11-18",
    "minutes": 90,
    "billable": true,
    "rateCents": 9500,
    "note": "Wireframes",
    "invoiced": false
  }
}

Webhooks

Create an endpoint under Developers > Webhook endpoints (or with POST /webhooks), choose the events, and Pazaroid sends a POST with a JSON body whenever one happens. Reply with any 2xx within 8 seconds to acknowledge. The URL must be public https: private, loopback, link-local and cloud-metadata addresses are refused, redirects are not followed.

Payload

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "contact.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "source": "form:website",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}

The id identifies the event and stays the same across retries, so use it to ignore duplicates. When an event concerns a contact, data.contact holds the full contact as it was at that moment.

Headers

X-Pazaroid-EventEvent name, e.g. contact.created (or ping for tests).
X-Pazaroid-DeliveryUnique id of this delivery record.
X-Pazaroid-TimestampUnix seconds when this attempt was signed.
X-Pazaroid-Signature-V2t=<timestamp>,v1=<hex HMAC-SHA256 of "<timestamp>.<raw body>">. Recommended: protects against replays.
X-Pazaroid-Signaturehex HMAC-SHA256 of the raw body (original scheme, no timestamp).

Retries

A delivery fails when your server does not answer 2xx in time. Pazaroid retries automatically with exponential backoff: after about 1 minute, 5 minutes, 30 minutes, 2 hours and 6 hours (at most 6 attempts in total, within 24 hours). You can also press Retry on any delivery in the dashboard. Every retry re-signs the payload with a fresh timestamp. Design your receiver to be idempotent: delivery is at-least-once.

Verify signatures

Always verify before trusting a webhook. Use the raw request body (not re-serialized JSON) and compare in constant time. The secret starts with whsec_ and is shown once when you create or roll the endpoint.

import crypto from "node:crypto";

// Express: use express.raw({ type: "application/json" }) so you keep the exact bytes.
export function verifyPazaroidWebhook(rawBody, headers, secret) {
  const [tPart, vPart] = String(headers["x-pazaroid-signature-v2"] ?? "").split(",");
  const t = tPart?.replace("t=", "");
  const sig = vPart?.replace("v1=", "");
  if (!t || !sig) return false;
  // reject old requests (replay protection): 5 minutes
  if (Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
  const expected = crypto.createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex");
  const a = Buffer.from(expected), b = Buffer.from(sig);
  return a.length === b.length && crypto.timingSafeEqual(a, b);
}

Event catalog

Also available live from GET /events.

Contacts

contact.createdA contact is created

A new contact was added: by hand, by a form, by the API, by an import or by a lead source.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "contact.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "source": "form:website",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}
contact.updatedA contact is updated

An existing contact received new information (for example the same person filled in a form again).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "contact.updated",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}
contact.stage_changedA contact moves to another stage

A contact was moved to a different pipeline stage (for example New to Qualified).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "contact.stage_changed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}
contact.tag_addedA tag is added to a contact

A tag was added to a contact.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "contact.tag_added",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "tag": "vip",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Forms

form.submittedA lead form is submitted

Someone filled in one of your lead forms (or a Meta lead form).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "form.submitted",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "formKey": "3f9a1c2b4d5e6f70",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Tasks

task.completedA follow-up task is completed

A task on a contact was marked as done.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "task.completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Calls

call.completedA phone call ends

A call with a contact finished (answered or not).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "call.completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "callId": "b2f5f9a0-5e0a-4d8a-8a3a-6a1f1c0d9e77",
    "answered": true,
    "duration": 184,
    "direction": "out",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Messages

message.receivedA message is received

A contact sent you a WhatsApp or Instagram message, or an email (channel is whatsapp, instagram or email).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "message.received",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "channel": "whatsapp",
    "text": "Hi, is this still available?",
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Deals

deal.createdA deal is created

A new deal was added to a pipeline. `contactId` and the contact snapshot are included when the deal has a contact. Amounts are in minor units (`valueCents`).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "deal.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "dealId": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
    "deal": {
      "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
      "title": "Acme website redesign",
      "valueCents": 1250000,
      "currency": "USD",
      "pipeline": "Sales",
      "stage": "Proposal",
      "status": "open",
      "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "companyId": null,
      "lostReason": null
    },
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}
deal.stage_changedA deal moves to another stage

A deal was moved to a different pipeline stage.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "deal.stage_changed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "dealId": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
    "fromStageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a11",
    "deal": {
      "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
      "title": "Acme website redesign",
      "valueCents": 1250000,
      "currency": "USD",
      "pipeline": "Sales",
      "stage": "Proposal",
      "status": "open",
      "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "companyId": null,
      "lostReason": null
    },
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}
deal.wonA deal is won

A deal was marked as won.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "deal.won",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "dealId": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
    "deal": {
      "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
      "title": "Acme website redesign",
      "valueCents": 1250000,
      "currency": "USD",
      "pipeline": "Sales",
      "stage": "Won",
      "status": "won",
      "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "companyId": null,
      "lostReason": null
    },
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}
deal.lostA deal is lost

A deal was marked as lost. `reason` holds the lost reason.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "deal.lost",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "dealId": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
    "reason": "Chose a competitor",
    "deal": {
      "id": "b3d1f0a2-7c2e-4a8e-91a4-5d2c0e7f9b44",
      "title": "Acme website redesign",
      "valueCents": 1250000,
      "currency": "USD",
      "pipeline": "Sales",
      "stage": "Lost",
      "status": "lost",
      "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "companyId": null,
      "lostReason": "Chose a competitor"
    },
    "contact": {
      "id": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
      "name": "Jane Doe",
      "email": "jane@acme.com",
      "phone": "+15550100",
      "company": "Acme Inc",
      "website": null,
      "source": "form:website",
      "stage": "New",
      "stageId": "c1a7a8de-1a3b-47a1-9a39-0f9e3b6d2a10",
      "score": 0,
      "tags": [
        "Website contact form"
      ],
      "customFields": {},
      "consent": {
        "email": {
          "granted": true,
          "at": "2026-11-14T10:15:00.000Z",
          "source": "form:3f9a1c2b4d5e6f70"
        }
      },
      "doNotContact": false,
      "ownerId": null,
      "createdAt": "2026-11-14T10:15:00.000Z",
      "updatedAt": "2026-11-14T10:15:00.000Z"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Companies

company.createdA company is created

A new company was added.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "company.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "companyId": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
    "company": {
      "id": "5e6f7a8b-1c2d-4e3f-8a9b-0c1d2e3f4a5b",
      "name": "Acme Inc"
    }
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Campaigns

campaign.completedA campaign finishes sending

Every recipient of a campaign was processed (sent, skipped or failed).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "campaign.completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "campaignId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "sent": 120,
    "skipped": 14,
    "failed": 2
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Calendar

event.createdA calendar event is created

Someone scheduled a meeting or event in the calendar.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "event.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "eventId": "d4e5f6a7-b8c9-4d0e-9f1a-2b3c4d5e6f70",
    "title": "Product demo",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "allDay": false,
    "status": "confirmed",
    "recurring": false,
    "source": "manual",
    "location": "Online",
    "ownerId": null,
    "attendees": [
      {
        "email": "jane@acme.com",
        "name": "Jane Doe",
        "rsvp": "needs-action"
      }
    ],
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
event.updatedA calendar event is changed

An event was rescheduled or edited (including a guest answering the invitation).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "event.updated",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "eventId": "d4e5f6a7-b8c9-4d0e-9f1a-2b3c4d5e6f70",
    "title": "Product demo",
    "start": "2026-11-21T10:00:00.000Z",
    "end": "2026-11-21T10:45:00.000Z",
    "allDay": false,
    "status": "confirmed",
    "recurring": false,
    "source": "manual",
    "location": "Online",
    "ownerId": null,
    "attendees": [
      {
        "email": "jane@acme.com",
        "name": "Jane Doe",
        "rsvp": "accepted"
      }
    ],
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
event.cancelledA calendar event is cancelled

An event was cancelled or deleted.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "event.cancelled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "eventId": "d4e5f6a7-b8c9-4d0e-9f1a-2b3c4d5e6f70",
    "title": "Product demo",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "allDay": false,
    "status": "cancelled",
    "recurring": false,
    "source": "manual",
    "location": "Online",
    "ownerId": null,
    "attendees": [],
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
event.reminderAn event is about to start

A reminder time of an event was reached (for example 15 minutes before). Use it to message guests or prepare something.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "event.reminder",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "eventId": "d4e5f6a7-b8c9-4d0e-9f1a-2b3c4d5e6f70",
    "title": "Product demo",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "minutesBefore": 15,
    "ownerId": null,
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
meeting.completedA meeting is over

A calendar event ended. Use it to schedule a follow-up or ask for feedback.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "meeting.completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "eventId": "d4e5f6a7-b8c9-4d0e-9f1a-2b3c4d5e6f70",
    "title": "Product demo",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "ownerId": null,
    "attendees": [
      {
        "email": "jane@acme.com",
        "name": "Jane Doe",
        "rsvp": "accepted"
      }
    ],
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Inventory

stock.lowA product is running low

The available stock of a product dropped to its reorder level. Sent once each time it crosses the level.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "stock.low",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "productId": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
    "name": "Espresso beans 1 kg",
    "sku": "BEAN-1KG",
    "onHand": 4,
    "available": 4,
    "reorderLevel": 10
  },
  "at": "2026-11-14T10:15:02.000Z"
}
stock.outA product is out of stock

The on-hand stock of a product reached zero. Sent once each time it runs out.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "stock.out",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "productId": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
    "name": "Espresso beans 1 kg",
    "sku": "BEAN-1KG",
    "onHand": 0,
    "available": 0,
    "reorderLevel": 10
  },
  "at": "2026-11-14T10:15:02.000Z"
}
purchase_order.receivedA purchase order is fully received

Every line of a purchase order has arrived and was added to stock.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "purchase_order.received",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "purchaseOrderId": "6a5b4c3d-2e1f-4a0b-9c8d-7e6f5a4b3c2d",
    "number": "PO-0007",
    "supplier": "Bean Roasters Ltd",
    "total": 184000,
    "currency": "USD"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
product.createdA product is added

A new product was added to the catalog: by hand, by an import or by the API.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "product.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "productId": "2b1c0d9e-8f7a-4b6c-9d5e-4f3a2b1c0d9e",
    "name": "Espresso beans 1 kg",
    "sku": "BEAN-1KG",
    "priceCents": 1850,
    "currency": "USD"
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Orders

order.createdAn order is placed

A new order was created: by hand, from a quote, from your Shopify or WooCommerce store, or from a Stripe checkout.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "order.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "orderId": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "source": "shopify",
    "currency": "USD",
    "totalCents": 12900,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
order.paidAn order is paid in full

The payments recorded on an order now cover its total.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "order.paid",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "orderId": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "source": "shopify",
    "currency": "USD",
    "totalCents": 12900,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled",
    "paidCents": 12900
  },
  "at": "2026-11-14T10:15:02.000Z"
}
order.shippedAn order is shipped

Every item of an order has shipped. Includes the carrier and tracking link of the last shipment.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "order.shipped",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "orderId": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "source": "shopify",
    "currency": "USD",
    "totalCents": 12900,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled",
    "carrier": "ups",
    "trackingNumber": "1Z999AA10123456784",
    "trackingUrl": "https://www.ups.com/track?tracknum=1Z999AA10123456784"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
order.deliveredAn order is delivered

Every shipment of an order has arrived.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "order.delivered",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "orderId": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "source": "shopify",
    "currency": "USD",
    "totalCents": 12900,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
order.cancelledAn order is cancelled

An order was cancelled and its stock reservation released.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "order.cancelled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "orderId": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "source": "shopify",
    "currency": "USD",
    "totalCents": 12900,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled",
    "reason": "Customer changed their mind"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
order.refundedAn order is refunded

A refund was recorded (full or partial).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "order.refunded",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "orderId": "3c1d9e7a-5b2f-4e60-8a14-7d0c2b9f1e33",
    "number": 1042,
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "source": "shopify",
    "currency": "USD",
    "totalCents": 12900,
    "status": "new",
    "paymentStatus": "unpaid",
    "fulfillmentStatus": "unfulfilled",
    "refundCents": 2500,
    "refundedCents": 2500
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Reservations

reservation.createdA reservation is made

A guest booked online or a team member created a reservation.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "reservation.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "reservationId": "8f2a1c3d-4b5e-4f60-9a7b-1c2d3e4f5a6b",
    "reference": "K7M2QX",
    "status": "pending",
    "resources": [
      "Table 4"
    ],
    "start": "2026-11-20T18:00:00.000Z",
    "end": "2026-11-20T19:30:00.000Z",
    "partySize": 4,
    "source": "web",
    "totalCents": 0,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
reservation.confirmedA reservation is confirmed

A reservation was confirmed automatically or approved by your team.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "reservation.confirmed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "reservationId": "8f2a1c3d-4b5e-4f60-9a7b-1c2d3e4f5a6b",
    "reference": "K7M2QX",
    "status": "confirmed",
    "resources": [
      "Table 4"
    ],
    "start": "2026-11-20T18:00:00.000Z",
    "end": "2026-11-20T19:30:00.000Z",
    "partySize": 4,
    "source": "web",
    "totalCents": 0,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
reservation.cancelledA reservation is cancelled

The guest or your team cancelled a reservation. The slot is free again.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "reservation.cancelled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "reservationId": "8f2a1c3d-4b5e-4f60-9a7b-1c2d3e4f5a6b",
    "reference": "K7M2QX",
    "status": "cancelled",
    "resources": [
      "Table 4"
    ],
    "start": "2026-11-20T18:00:00.000Z",
    "end": "2026-11-20T19:30:00.000Z",
    "partySize": 4,
    "source": "web",
    "totalCents": 0,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
reservation.checked_inA guest has arrived

A guest was checked in (seated or arrived).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "reservation.checked_in",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "reservationId": "8f2a1c3d-4b5e-4f60-9a7b-1c2d3e4f5a6b",
    "reference": "K7M2QX",
    "status": "seated",
    "resources": [
      "Table 4"
    ],
    "start": "2026-11-20T18:00:00.000Z",
    "end": "2026-11-20T19:30:00.000Z",
    "partySize": 4,
    "source": "web",
    "totalCents": 0,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
reservation.completedA visit is completed

The guest checked out or the reservation was marked as completed.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "reservation.completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "reservationId": "8f2a1c3d-4b5e-4f60-9a7b-1c2d3e4f5a6b",
    "reference": "K7M2QX",
    "status": "completed",
    "resources": [
      "Table 4"
    ],
    "start": "2026-11-20T18:00:00.000Z",
    "end": "2026-11-20T19:30:00.000Z",
    "partySize": 4,
    "source": "web",
    "totalCents": 0,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
reservation.no_showA guest did not show up

A reservation was marked as a no-show.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "reservation.no_show",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "reservationId": "8f2a1c3d-4b5e-4f60-9a7b-1c2d3e4f5a6b",
    "reference": "K7M2QX",
    "status": "no_show",
    "resources": [
      "Table 4"
    ],
    "start": "2026-11-20T18:00:00.000Z",
    "end": "2026-11-20T19:30:00.000Z",
    "partySize": 4,
    "source": "web",
    "totalCents": 0,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
waitlist.offeredA waitlist slot is offered

A table or room became free and a waiting guest received a time-limited offer.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "waitlist.offered",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "waitlistId": "5d4c3b2a-1f0e-4d9c-8b7a-6e5f4d3c2b1a",
    "resource": "Table 4",
    "start": "2026-11-20T18:00:00.000Z",
    "end": "2026-11-20T19:30:00.000Z",
    "partySize": 4,
    "expiresAt": "2026-11-20T10:30:00.000Z",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Appointments

appointment.createdAn appointment is booked

A client booked online or a team member created an appointment.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "appointment.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "appointmentId": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "requested",
    "service": "Haircut",
    "staff": "Maria Lopez",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "seats": 1,
    "source": "web",
    "priceCents": 4500,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
appointment.confirmedAn appointment is confirmed

An appointment was confirmed automatically or approved by your team.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "appointment.confirmed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "appointmentId": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "confirmed",
    "service": "Haircut",
    "staff": "Maria Lopez",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "seats": 1,
    "source": "web",
    "priceCents": 4500,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
appointment.rescheduledAn appointment is moved

The client or your team moved an appointment to a new time or person.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "appointment.rescheduled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "appointmentId": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "confirmed",
    "service": "Haircut",
    "staff": "Maria Lopez",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "seats": 1,
    "source": "web",
    "priceCents": 4500,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "previousStart": "2026-11-19T10:00:00.000Z"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
appointment.cancelledAn appointment is cancelled

The client or your team cancelled an appointment. The time is free again.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "appointment.cancelled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "appointmentId": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "cancelled",
    "service": "Haircut",
    "staff": "Maria Lopez",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "seats": 1,
    "source": "web",
    "priceCents": 4500,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
appointment.completedAn appointment is completed

An appointment was marked as completed.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "appointment.completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "appointmentId": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "completed",
    "service": "Haircut",
    "staff": "Maria Lopez",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "seats": 1,
    "source": "web",
    "priceCents": 4500,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
appointment.no_showA client did not show up

An appointment was marked as a no-show. The no-show fee policy was applied.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "appointment.no_show",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "appointmentId": "6a1b2c3d-4e5f-4a60-8b71-92a3b4c5d6e7",
    "reference": "H4N8PW",
    "status": "no_show",
    "service": "Haircut",
    "staff": "Maria Lopez",
    "start": "2026-11-20T10:00:00.000Z",
    "end": "2026-11-20T10:45:00.000Z",
    "seats": 1,
    "source": "web",
    "priceCents": 4500,
    "currency": "USD",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "feeCents": 2000
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Support

ticket.createdA support ticket is created

A customer request became a ticket: from email, chat, the support portal, the API or a teammate.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "ticket.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "ticketId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "assigneeId": null,
    "teamId": null,
    "categoryId": null,
    "url": "https://app.example.com/app/tickets/3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
ticket.assignedA ticket is assigned

A ticket was assigned to a person (by hand, by a routing rule or by an automation).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "ticket.assigned",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "ticketId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "assigneeId": null,
    "teamId": null,
    "categoryId": null,
    "url": "https://app.example.com/app/tickets/3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "previousAssigneeId": null
  },
  "at": "2026-11-14T10:15:02.000Z"
}
ticket.repliedSomeone replies on a ticket

A customer wrote back, or a teammate sent a public reply. Internal notes do not fire this.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "ticket.replied",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "ticketId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "assigneeId": null,
    "teamId": null,
    "categoryId": null,
    "url": "https://app.example.com/app/tickets/3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "from": "customer"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
ticket.resolvedA ticket is resolved

A ticket was marked as resolved (the satisfaction survey is sent now).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "ticket.resolved",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "ticketId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "assigneeId": null,
    "teamId": null,
    "categoryId": null,
    "url": "https://app.example.com/app/tickets/3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
ticket.reopenedA ticket is reopened

A resolved or closed ticket was reopened by the customer or the team.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "ticket.reopened",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "ticketId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "assigneeId": null,
    "teamId": null,
    "categoryId": null,
    "url": "https://app.example.com/app/tickets/3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
ticket.sla_breachedA ticket misses its deadline

A ticket passed its first-response or resolution deadline.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "ticket.sla_breached",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "ticketId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "assigneeId": null,
    "teamId": null,
    "categoryId": null,
    "url": "https://app.example.com/app/tickets/3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "clock": "first_response"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
ticket.csat_receivedA customer rates a ticket

The customer answered the satisfaction survey (1 to 5).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "ticket.csat_received",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "ticketId": "3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "number": 1042,
    "ticketNumber": "T-1042",
    "subject": "Cannot log in to my account",
    "status": "open",
    "priority": "high",
    "channel": "email",
    "assigneeId": null,
    "teamId": null,
    "categoryId": null,
    "url": "https://app.example.com/app/tickets/3b1f9c2e-6a4d-4e7b-9c0a-2d5e8f1a4b7c",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "rating": 5,
    "hasComment": true
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Documents

document.sentA document is sent for signature

A contract was sent to the signer. The secure signing link is not included in the event.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "document.sent",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "documentId": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "sent",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "expiresOn": "2027-06-30",
    "signedAt": null,
    "url": "https://app.example.com/app/documents/4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
document.viewedA document is opened by the signer

The signer opened the signing link for the first time.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "document.viewed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "documentId": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "sent",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "expiresOn": "2027-06-30",
    "signedAt": null,
    "url": "https://app.example.com/app/documents/4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
document.signedA document is signed

The signer typed their name and signed. `signedBy` holds the typed name. This is a simple e-signature, not a qualified one.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "document.signed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "documentId": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "sent",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "expiresOn": "2027-06-30",
    "signedAt": null,
    "url": "https://app.example.com/app/documents/4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "signedBy": "Jane Doe"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
document.expiringA document is about to expire

A contract or file reaches a reminder step before its expiry date (for example 30 and 7 days before). `daysLeft` says how many days remain. Use it to start renewal work.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "document.expiring",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "documentId": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "sent",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "expiresOn": "2027-06-30",
    "signedAt": null,
    "url": "https://app.example.com/app/documents/4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "daysLeft": 30
  },
  "at": "2026-11-14T10:15:02.000Z"
}
document.expiredA document has expired

The expiry date passed.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "document.expired",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "documentId": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Service agreement - Jane Doe",
    "kind": "contract",
    "status": "sent",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "expiresOn": "2027-06-30",
    "signedAt": null,
    "url": "https://app.example.com/app/documents/4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
document.request_fulfilledA customer uploads a requested document

A customer used an upload link and sent a file. Fires for every upload; `firstUpload` is true for the first one.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "document.request_fulfilled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "requestId": "8a1b2c3d-4e5f-4a6b-8c7d-9e0f1a2b3c4d",
    "documentId": "4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "title": "Signed lease agreement",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "url": "https://app.example.com/app/documents/4c0d2e1f-8a7b-4c3d-9e5f-6a7b8c9d0e1f",
    "firstUpload": true
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Subscriptions

subscription.createdA subscription starts

A customer was signed up to a plan (trial or paid).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.trial_endingA trial is about to end

A free trial ends in a few days (`daysLeft`). Use it to nudge the member to add a card.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.trial_ending",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "daysLeft": 3
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.trial_convertedA trial turns into a paid subscription

The first payment after the trial succeeded or was invoiced.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.trial_converted",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.renewedA subscription renews

A billing period was invoiced and paid. `invoiceNumber` and `amountCents` describe the payment.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.renewed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "invoiceNumber": "SUB-00042"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.payment_failedA subscription payment fails

A charge was declined or an invoice was not paid. `attempt` counts the failures, `nextRetryOn` is empty when the retries are used up.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.payment_failed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "invoiceNumber": "SUB-00042",
    "attempt": 1,
    "nextRetryOn": "2027-03-04",
    "reason": "Your card was declined."
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.plan_changedA member changes plan or seats

An upgrade, downgrade or seat change with proration. `direction` is upgrade, downgrade or seats.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.plan_changed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "direction": "upgrade",
    "previousPlanName": "Silver membership",
    "prorationCents": 1500
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.pausedA subscription is paused

Billing is on hold until it is resumed (`resumeOn` when a date was set).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.paused",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "resumeOn": null
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.resumedA paused subscription resumes

Billing restarts with a new period.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.resumed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.cancel_scheduledA cancellation is scheduled

The member will be canceled at the end of the paid period (`endsOn`). It can still be undone until then.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.cancel_scheduled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "endsOn": "2027-03-31",
    "reason": "too_expensive"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.canceledA subscription is canceled

The subscription ended. `reason` is the member given reason or payment_failed; `auto` is true when the retries ran out.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.canceled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "reason": "too_expensive",
    "auto": false
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.expiredA fixed term ends

A subscription with a fixed number of periods reached its end without renewal.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.expired",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
subscription.winbackTime to win a member back

Fires once, a set number of days after a cancellation (default 30). Use it to send an offer or create a new subscription with a coupon.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "subscription.winback",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "subscriptionId": "5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "number": 1024,
    "planName": "Gold membership",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "amountCents": 4900,
    "currency": "USD",
    "mrrCents": 4900,
    "interval": "month",
    "url": "https://app.example.com/app/subscriptions/5d1e7a30-2b4c-4d6e-8f10-3a5b7c9d1e2f",
    "reason": "too_expensive",
    "daysSince": 30
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Projects

project.createdA project is created

A project was created by a teammate, from a template, from a won deal or accepted quote, by an automation or through the API.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "project.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "ownerId": null,
    "dueDate": "2026-12-15",
    "url": "https://app.example.com/app/projects/7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
project.completedA project is completed

A project was moved to a completed stage.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "project.completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "ownerId": null,
    "dueDate": "2026-12-15",
    "url": "https://app.example.com/app/projects/7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
project.task_assignedA project task is assigned

A task was assigned to a teammate.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "project.task_assigned",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "ownerId": null,
    "dueDate": "2026-12-15",
    "url": "https://app.example.com/app/projects/7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "taskId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "taskTitle": "Design the homepage",
    "assigneeId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
project.task_completedA project task is completed

A task moved to a done stage.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "project.task_completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "ownerId": null,
    "dueDate": "2026-12-15",
    "url": "https://app.example.com/app/projects/7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "taskId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "taskTitle": "Design the homepage",
    "assigneeId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
project.task_overdueA project task is overdue

A task passed its due date without being finished (fires once per due date).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "project.task_overdue",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "ownerId": null,
    "dueDate": "2026-12-15",
    "url": "https://app.example.com/app/projects/7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "taskId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
    "taskTitle": "Design the homepage",
    "taskDueDate": "2026-11-10",
    "assigneeId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
project.milestone_reachedA milestone is reached

A project milestone was marked as reached (the customer sees it on their progress page).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "project.milestone_reached",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "ownerId": null,
    "dueDate": "2026-12-15",
    "url": "https://app.example.com/app/projects/7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "milestoneId": "1f2e3d4c-5b6a-4978-8a9b-0c1d2e3f4a5b",
    "milestoneName": "Design approved"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
project.budget_thresholdA project budget runs low

A project used its warning share of the hours or amount budget, or went over it. Fires once per threshold.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "project.budget_threshold",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "projectId": "7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "number": 1007,
    "projectNumber": "P-1007",
    "name": "Website redesign",
    "status": "active",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "companyId": null,
    "dealId": null,
    "ownerId": null,
    "dueDate": "2026-12-15",
    "url": "https://app.example.com/app/projects/7c2d4e6f-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
    "budget": "hours",
    "pct": 75,
    "usedMinutes": 1800,
    "budgetMinutes": 2400
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Properties

property.createdA property is added

A listing was created, by a teammate, an import or the API. It starts as a draft.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "property.created",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "propertyId": "9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "number": 1042,
    "title": "Bright 2-bedroom flat near the park",
    "kind": "apartment",
    "listingType": "sale",
    "status": "draft",
    "priceCents": 28500000,
    "currency": "USD",
    "city": "Austin",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "agentId": null,
    "slug": "bright-2-bedroom-flat-austin-x7k2",
    "url": "https://app.example.com/app/properties/9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
property.status_changedA property changes status

A listing moved between draft, active, reserved, sold, rented or archived. `from` is the previous status.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "property.status_changed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "propertyId": "9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "number": 1042,
    "title": "Bright 2-bedroom flat near the park",
    "kind": "apartment",
    "listingType": "sale",
    "status": "reserved",
    "priceCents": 28500000,
    "currency": "USD",
    "city": "Austin",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "agentId": null,
    "slug": "bright-2-bedroom-flat-austin-x7k2",
    "url": "https://app.example.com/app/properties/9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "from": "active",
    "previousStatus": "active"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
property.enquiry_receivedAn enquiry arrives

Someone asked about a listing through the public page, a portal or the API. The contact is created or matched.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "property.enquiry_received",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "propertyId": "9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "number": 1042,
    "title": "Bright 2-bedroom flat near the park",
    "kind": "apartment",
    "listingType": "sale",
    "status": "active",
    "priceCents": 28500000,
    "currency": "USD",
    "city": "Austin",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "agentId": null,
    "slug": "bright-2-bedroom-flat-austin-x7k2",
    "url": "https://app.example.com/app/properties/9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "enquiryId": "1f2e3d4c-5b6a-4978-8a9b-0c1d2e3f4a5b",
    "source": "website"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
viewing.scheduledA viewing is scheduled

A viewing was booked for a property, with the buyer or tenant when known.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "viewing.scheduled",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "propertyId": "9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "number": 1042,
    "title": "Bright 2-bedroom flat near the park",
    "kind": "apartment",
    "listingType": "sale",
    "status": "active",
    "priceCents": 28500000,
    "currency": "USD",
    "city": "Austin",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "agentId": null,
    "slug": "bright-2-bedroom-flat-austin-x7k2",
    "url": "https://app.example.com/app/properties/9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "viewingId": "4a5b6c7d-8e9f-4a0b-8c1d-2e3f4a5b6c7d",
    "startsAt": "2026-11-20T14:00:00.000Z",
    "endsAt": "2026-11-20T14:30:00.000Z",
    "viewingStatus": "scheduled"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
viewing.completedA viewing is completed

The agent recorded feedback after a viewing: rating and level of interest.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "viewing.completed",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "propertyId": "9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "number": 1042,
    "title": "Bright 2-bedroom flat near the park",
    "kind": "apartment",
    "listingType": "sale",
    "status": "active",
    "priceCents": 28500000,
    "currency": "USD",
    "city": "Austin",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "agentId": null,
    "slug": "bright-2-bedroom-flat-austin-x7k2",
    "url": "https://app.example.com/app/properties/9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "viewingId": "4a5b6c7d-8e9f-4a0b-8c1d-2e3f4a5b6c7d",
    "startsAt": "2026-11-20T14:00:00.000Z",
    "endsAt": "2026-11-20T14:30:00.000Z",
    "viewingStatus": "completed",
    "rating": 4,
    "interest": "hot"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
offer.receivedAn offer is received

A buyer made an offer (or raised it after a counter).

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "offer.received",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "propertyId": "9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "number": 1042,
    "title": "Bright 2-bedroom flat near the park",
    "kind": "apartment",
    "listingType": "sale",
    "status": "active",
    "priceCents": 28500000,
    "currency": "USD",
    "city": "Austin",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "agentId": null,
    "slug": "bright-2-bedroom-flat-austin-x7k2",
    "url": "https://app.example.com/app/properties/9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "offerId": "6e7f8a9b-0c1d-4e2f-8a3b-4c5d6e7f8a9b",
    "amountCents": 27500000,
    "offerStatus": "received"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
offer.acceptedAn offer is accepted

The seller accepted an offer. The property is reserved and the commission is reported in cents.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "offer.accepted",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "propertyId": "9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "number": 1042,
    "title": "Bright 2-bedroom flat near the park",
    "kind": "apartment",
    "listingType": "sale",
    "status": "reserved",
    "priceCents": 28500000,
    "currency": "USD",
    "city": "Austin",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "agentId": null,
    "slug": "bright-2-bedroom-flat-austin-x7k2",
    "url": "https://app.example.com/app/properties/9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "offerId": "6e7f8a9b-0c1d-4e2f-8a3b-4c5d6e7f8a9b",
    "amountCents": 27800000,
    "agreedCents": 27800000,
    "commissionCents": 556000,
    "agentCommissionCents": 278000,
    "offerStatus": "accepted"
  },
  "at": "2026-11-14T10:15:02.000Z"
}
lease.expiringA lease is ending soon

A rental lease reached a reminder threshold (90, 60 and 30 days by default). Fires once per threshold.

{
  "id": "evt_9b3c1d7e5a2f4c08",
  "event": "lease.expiring",
  "workspaceId": "5e1f0a62-3c1b-4c53-8e0b-0a1d9a7a4f21",
  "data": {
    "propertyId": "9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "number": 1042,
    "title": "Bright 2-bedroom flat near the park",
    "kind": "apartment",
    "listingType": "rent",
    "status": "rented",
    "priceCents": 28500000,
    "currency": "USD",
    "city": "Austin",
    "contactId": "7d0c4f3e-2f0b-4a5e-9d5a-3a8f7b2e1c11",
    "agentId": null,
    "slug": "bright-2-bedroom-flat-austin-x7k2",
    "url": "https://app.example.com/app/properties/9c1a3e5b-7d2f-4a60-8b1c-2e4f6a8b0d13",
    "leaseId": "2b3c4d5e-6f70-4a81-9b2c-3d4e5f6a7b8c",
    "endsOn": "2027-01-31",
    "daysLeft": 60,
    "rentCents": 185000,
    "threshold": 60
  },
  "at": "2026-11-14T10:15:02.000Z"
}

Lead form endpoint

Every lead form you build in Pazaroid has a public endpoint that needs no API key, so it can be called from browsers: POST https://pazaroid.com/api/public/forms/<form key>. Send JSON or a form-encoded body with the fields of your form, plus consent: true when the person ticked the consent box (forms that require consent answer 400 consent_required otherwise). Copy ready-made snippets from the Publish tab of the form. To create leads from your own server, prefer POST /contacts with your API key.

curl -X POST https://pazaroid.com/api/public/forms/FORM_KEY \
  -H "Content-Type: application/json" \
  -d '{"name":"Jane Doe","email":"jane@acme.com","consent":true}'

# 200 {"ok":true,"message":"Thank you! We received your details and will be in touch."}
# 400 {"ok":false,"error":"consent_required"}   | validation_error (with per-field "fields")
# 429 {"ok":false,"error":"rate_limited"}       | 403 origin_not_allowed | 404 not_found

OpenAPI

The whole API is described as an OpenAPI 3.1 document, generated from the same definitions that power this page and the server-side validation, so it never drifts. Import it into Postman, Insomnia or a code generator.

https://pazaroid.com/api/v1/openapi.json