Loading...
Create, read, update, and delete contacts via the WRRK API.
The Contacts API lets you create, read, update, and delete contacts in your WRRK CRM programmatically.
GET /v1/contactsQuery Parameters:
page (int) — Page number (default: 1)per_page (int) — Results per page (default: 25, max: 100)search (string) — Search by name, email, or phonetag (string) — Filter by tagcreated_after (datetime) — Filter by creation datesort (string) — Sort field: name, created_at, updated_atExample Request:
curl -X GET "https://api.wrrk.ai/v1/contacts?page=1&per_page=10&tag=VIP" \
-H "Authorization: Bearer your-token"GET /v1/contacts/:idReturns a single contact with all fields, including custom fields, tags, and associated deals.
POST /v1/contactsBody:
{
"name": "Jane Smith",
"email": "jane@example.com",
"phone": "+1234567890",
"company": "Acme Corp",
"tags": ["lead", "enterprise"],
"custom_fields": {
"industry": "Technology",
"source": "Website"
}
}Required fields: At least one of name, email, or phone.
PUT /v1/contacts/:idSend only the fields you want to update. Unspecified fields remain unchanged.
DELETE /v1/contacts/:idSoft-deletes the contact. It can be restored within 30 days via the UI or API.
{
"id": "cnt_abc123",
"name": "Jane Smith",
"email": "jane@example.com",
"phone": "+1234567890",
"company": "Acme Corp",
"tags": ["lead", "enterprise"],
"custom_fields": { "industry": "Technology" },
"created_at": "2026-03-01T10:00:00Z",
"updated_at": "2026-03-15T14:30:00Z",
"last_activity_at": "2026-03-14T09:15:00Z",
"owner_id": "usr_def456"
}Use the meta object in the response to implement pagination:
"meta": { "page": 1, "per_page": 25, "total": 342 }Calculate total pages: Math.ceil(total / per_page).
Tags