API REFERENCE
Records
Manage your contact data. Records are the individual entities (Leads, Patients, etc.) that your campaigns interact with. Each record is associated with a specific Record Type which defines its custom fields.
List all records
GEThttp://localhost:3000/api/records
Returns a paginated list of records. You can filter by recordTypeUuid or campaignUuid, and search across custom fields.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
| recordTypeUuid | string | Filter by record type. |
| campaignUuid | string | Filter by assigned campaign. |
| search | string | Search across record parameters. |
| page | number | Page number for pagination. |
| limit | number | Items per page (max 100). |
Responses
JSON
Create a new record
POSThttp://localhost:3000/api/records
Creates a new record. You must specify the recordTypeUuid and provide the data for any required custom fields within the parameters object.
Body Parameters
| Field | Type | Description |
|---|---|---|
| recordTypeUuid * | string | UUID of the record type defining the schema. |
| firstName | string | Record first name (if applicable). |
| lastName | string | Record last name (if applicable). |
| phone * | string | Primary phone number for calls. |
| parameters | object | Key-value pairs for custom fields defined in the record type. |
Responses
JSON
Get a record
GEThttp://localhost:3000/api/records/{uuid}
Retrieves the full details of a specific record, including all its custom field values and associated campaign history.
Responses
JSON
Update a record
PATCHhttp://localhost:3000/api/records/{uuid}
Updates an existing record. You can update the core fields or individual values within the parameters object.
Body Parameters
| Field | Type | Description |
|---|---|---|
| firstName | string | Update first name. |
| lastName | string | Update last name. |
| phone | string | Update phone number. |
| parameters | object | Update specific custom field values. |
Responses
JSON
Delete a record
DELETEhttp://localhost:3000/api/records/{uuid}
Permanently removes a record from your account. This action will also remove it from any assigned campaigns.
Responses
// 204 No Content