Contact Service
The Contact Service allows you to manage contacts in your workspace. You can create, read, update, and delete contacts.Create Contact
Create a new contact in your workspace.Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| first_name | string | No | Contact’s first name |
| last_name | string | No | Contact’s last name |
| phone | string | Yes | Contact’s phone number in E.164 format (e.g., +1234567890) |
| string | No | Contact’s email address | |
| additional_notes | string | No | Additional notes about the contact |
Example Request
Response
Get Contact
Retrieve a specific contact by ID.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The ID of the contact to retrieve |
Response
Update Contact
Update an existing contact.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The ID of the contact to update |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| first_name | string | No | Contact’s first name |
| last_name | string | No | Contact’s last name |
| phone | string | No | Contact’s phone number in E.164 format |
| string | No | Contact’s email address | |
| additional_notes | string | No | Additional notes about the contact |
Example Request
Response
Delete Contact
Delete a contact from your workspace.Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | The ID of the contact to delete |
