API reference
GETRequires Bearer token
List contacts
/api/contacts
Retrieve `/api/contacts`. Authenticated routes need `Authorization: Bearer {token}` from `POST /api/v1/login`.
Path parameters
This endpoint has no path parameters.
Query parameters
| Field | Type | Description |
|---|---|---|
search | string | Search in name, email, phone. e.g. "ada" |
page | integer | Page number. e.g. 1 |
per_page | integer | Page size. e.g. 25 |
Request body
This endpoint does not accept a request body.
Responses
| Status | Meaning |
|---|---|
| 500 | See the example response. |