CDP API
Contacts, businesses, notes, activities, tasks, documents and segments.
- Production:
https://crm-contacts.keybeapi.com - OpenAPI spec: cdp.json
Every operation is authenticated with your API key, except the ones marked as public or user token only. See Authentication.
Some operations live on another host: each operation page shows its full URL.
Contacts
People in your CDP: create, find (by phone, email, uuid or text), update and delete.
| Method | Operation | Path |
|---|---|---|
| GET | List contacts | /{appUUID}/contacts/people |
| GET | Search contacts | /{appUUID}/contacts/people/elastic/filter |
| GET | Get a contact by phone | /{appUUID}/contacts/people/phone/{phone} |
| GET | Get a contact by email | /{appUUID}/contacts/people/email/{email} |
| GET | Get a contact | /{appUUID}/contacts/people/{uuid} |
| DEL | Delete a contact | /{appUUID}/contacts/people/{uuid} |
| POST | Create a contact or business | /{appUUID}/contacts |
| PATCH | Update a contact or business | /{appUUID}/contacts/{uuid} |
Businesses
Companies in your CDP. Create and update them with the Contacts operations using typeEntity: "business".
| Method | Operation | Path |
|---|---|---|
| GET | List businesses | /{appUUID}/contacts/business |
| GET | Search businesses | /{appUUID}/contacts/business/elastic/filter |
| GET | Get a business by phone | /{appUUID}/contacts/business/phone/{phone} |
| GET | Get a business by email | /{appUUID}/contacts/business/email/{email} |
| GET | Get a business | /{appUUID}/contacts/business/{uuid} |
| DEL | Delete a business | /{appUUID}/contacts/business/{uuid} |
Notes
Plain-text notes attached to a contact.
| Method | Operation | Path |
|---|---|---|
| GET | List a contact's notes | /{appUUID}/notes/{contactUUID} |
| POST | Add a note to a contact | /{appUUID}/notes/{contactUUID} |
| GET | Get a note | /{appUUID}/notes/{contactUUID}/{noteId} |
| DEL | Delete a note | /{appUUID}/notes/{contactUUID}/{noteId} |
Activities
The contact's timeline: calls, emails, meetings and other activities, including touches. Host: crm-activities.
| Method | Operation | Path |
|---|---|---|
| GET | List a contact's activities | /{appUUID}/{typeEntity}/all/{contactUUID} |
| POST | Log an activity | /{appUUID}/{typeEntity}/{contactUUID} |
| GET | Get an activity | /{appUUID}/activity/{activityId} |
Tasks
Tasks (reminders) linked to a contact and assigned to a user. Host: crm-tasks.
| Method | Operation | Path |
|---|---|---|
| GET | List tasks | /{appUUID}/tasks |
| POST | Create a task | /{appUUID}/tasks |
| GET | Get a task | /{appUUID}/tasks/{taskId} |
| PATCH | Update a task | /{appUUID}/tasks/{taskId} |
| DEL | Delete a task | /{appUUID}/tasks/{taskId} |
Statuses
The lifecycle statuses a contact can be in. Host: crm-status.
| Method | Operation | Path |
|---|---|---|
| GET | List statuses | /{appUUID}/status |
| POST | Create a status | /{appUUID}/status |
| GET | Get a status | /{appUUID}/status/{statusId} |
| PATCH | Update a status | /{appUUID}/status/{statusId} |
| DEL | Delete a status | /{appUUID}/status/{statusId} |
| GET | Count contacts in a status | /{appUUID}/status/{statusId}/contacts/count |
Documents
Files and folders attached to a contact. Host: crm-documents.
| Method | Operation | Path |
|---|---|---|
| GET | List a contact's documents | /{appUUID}/documents/{contactUUID} |
| POST | Create a folder | /{appUUID}/documents/{contactUUID}/folder |
| POST | Upload a file | /{appUUID}/documents/{contactUUID}/upload |
| DEL | Delete a document | /{appUUID}/documents/{contactUUID}/{documentId} |
Segments
Named lists of contacts, static or defined by a filter. Host: crm-segments.
| Method | Operation | Path |
|---|---|---|
| GET | List segments | /{appUUID}/segments/people |
| GET | List business segments | /{appUUID}/segments/business |
| GET | Get a segment | /{appUUID}/segments/{typeEntity}/{segmentId} |
| DEL | Delete a segment | /{appUUID}/segments/{typeEntity}/{segmentId} |
| GET | Get a segment by name | /{appUUID}/segments/{typeEntity}/name/{name} |
| POST | Create a segment | /{appUUID}/segments |
| PATCH | Update a segment | /{appUUID}/segments/{segmentId} |