API reference
POSTRequires Bearer token
Create contact
/api/contacts
Owner-scoped create. 409 duplicate_contact when the owner already has that email.
Path parameters
This endpoint has no path parameters.
Query parameters
This endpoint has no query parameters.
Request body
| Field | Type | Description |
|---|---|---|
first_name | string | First name. e.g. "Ada" |
last_name | string | Last name. e.g. "Kouassi" |
email | string | Email (normalized). Duplicate email for the same owner → 409.e.g. "ada@acme.test" |
phone | string | Phone, normalized with the default region from config. e.g. "+2250700000001" |
title | string | Job title. e.g. "CFO" |
company | string | Organisation name. e.g. "ACME" |
visibility | string | private or org. Default comes from contacts settings.e.g. "private" |
extra | object | Optional extra keys (for example cni_number, role_id). |
Responses
| Status | Meaning |
|---|---|
| 201 | See the example response. |
| 401 | Missing or invalid Bearer token. |