Create a contact
create_contactSave a new contact for the workspace. Provide at least one of phone_e164 (E.164, e.g. +14155551234) or email — the API rejects (422) a contact with neither. A duplicate phone or email on an existing contact returns 409.
Instructions
Save a new contact for the workspace. Provide at least one of
phone_e164 (E.164, e.g. +14155551234) or email — the API
rejects (422) a contact with neither. A duplicate phone or email on
an existing contact returns 409.
Example:
create_contact(name="Maya Chen", phone_e164="+14155551234")
Returns the created contact entry as a dict. On failure returns
``{"error": "<message>"}`` instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| No | |||
| phone_e164 | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||