API reference
POSTRequires Bearer token
Create contact
/api/contacts
Submit `/api/contacts`. Authenticated routes need `Authorization: Bearer {token}` from `POST /api/v1/login`.
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. e.g. "ada@acme.test" |
phone | string | Phone (international). e.g. "+2250700000001" |
company | string | Organisation name. e.g. "ACME" |
visibility | string | `private` or `org`. e.g. "private" |
Responses
| Status | Meaning |
|---|---|
| 500 | See the example response. |