List custom lead fields
Every custom field defined in the workspace. Send values for these keys in a lead's `attributes` object on createLead and updateLead; pushLead takes them as top-level fields. `valueType` says how they are stored and compared in audience rules.
Every custom field defined in the workspace. Send values for these keys in a lead's attributes object on createLead and updateLead; pushLead takes them as top-level fields. valueType says how they are stored and compared in audience rules.
X-API-Key<token>Create in the console: Settings → API & webhooks.
OK
application/json- response
Every custom lead field of the workspace, by label.
fields*array<>Field definitions, sorted by label.
[key: string]?anycurl -X GET 'https://api.callmitra.ai/api/v1/lead-fields/catalog'{ "fields": [ { "id": "6f1c2a9e-3b7d-4e21-9c55-0d8a7b3e4f10", "key": "city", "label": "City", "valueType": "text" } ]}Lead timeline GET
Calls, WhatsApp messages and orders, tickets, notes, lead changes and callbacks for one lead, newest first. Page with `cursor`; the first page also lists open callbacks.
List leads GET
Newest first by default. Page with `page` and `limit`, or for deep lists pass `cursor` (empty first, then `nextCursor`): cursor pages skip the count and stay fast. Without `cursor` matches are counted up to 10,000 unless `includeTotal=true`.