Create a contact
create_contactAdds a contact. Give a phone number or an email, or both. Fails with conflict when a contact already has that phone number; the message includes the existing contact's id.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Full name. | |
| No | Email address. | ||
| phone | No | Phone number in E.164 format, for example +14165550134. | |
| locale | No | Language for the contact's reminders and confirmations: en, fr, es or sr. | |
| timezone | No | IANA time zone, for example America/Toronto. | |
| idempotency_key | No | Optional. A unique value you choose, such as a UUID. Retrying with the same value within 24 hours returns the first result instead of creating a duplicate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Stable identifier (UUID). | |
| name | Yes | ||
| Yes | |||
| phone | Yes | ||
| locale | Yes | ||
| passcode | Yes | The contact's keypad PIN, which callers type to change appointments when verification_mode is passcode_required: whether there is one, never the PIN itself. null: the contact has no PIN. | |
| timezone | Yes | ||
| created_at | Yes | ISO 8601 timestamp in UTC. | |
| updated_at | Yes | ISO 8601 timestamp in UTC. |