Aller au contenu

Contacts

Manage contacts, tags, and contact lists.

Create, update, and organize your contacts with tags and lists. Contacts can be used across email, SMS, and WhatsApp channels for targeted messaging.

Endpoints

MethodPathPermission
GETcontacts.read
GETcontacts.read
GETcontacts.read
GETcontacts.read
POSTcontacts.write
PATCHcontacts.write
DELETEcontacts.write

List Contacts

GET /api/v1/contacts

Request

Response

json
{
  "success": true,
  "data": [
    {
      "id": "contact-uuid-1",
      "firstName": "Alice",
      "lastName": "Dupont",
      "email": "alice@example.com",
      "phone": "+33612345678",
      "company": "Acme SA",
      "avatarUrl": null,
      "source": "API",
      "engagementScore": 42,
      "lastSeenAt": "2026-03-17T09:12:00.000Z",
      "createdAt": "2026-03-10T08:00:00.000Z",
      "updatedAt": "2026-03-17T09:12:00.000Z"
    },
    {
      "id": "contact-uuid-2",
      "firstName": "Bob",
      "lastName": "Martin",
      "email": "bob@example.com",
      "phone": "+33698765432",
      "company": null,
      "avatarUrl": null,
      "source": "MANUAL",
      "engagementScore": 0,
      "lastSeenAt": null,
      "createdAt": "2026-03-12T14:30:00.000Z",
      "updatedAt": "2026-03-12T14:30:00.000Z"
    }
  ],
  "meta": { "page": 1, "per_page": 20, "total": 156, "total_pages": 8 }
}

Create Contact

POST /api/v1/contacts

Request

Response

json
{
  "success": true,
  "data": {
    "id": "contact-uuid-new",
    "firstName": "Jane",
    "lastName": "Smith",
    "email": "jane@example.com",
    "phone": "+33611223344",
    "company": null,
    "avatarUrl": null,
    "source": "API",
    "engagementScore": 0,
    "lastSeenAt": null,
    "createdAt": "2026-03-18T10:00:00.000Z",
    "updatedAt": "2026-03-18T10:00:00.000Z"
  }
}