Contacts

Create one or many contacts

Creates a single contact or a batch of contacts. Accepts a JSON array or an object with a "contacts" array.

post/contacts

Request body

Example request

{
  "contacts": [
    {
      "name": "Alice Smith"
    }
  ]
}

Response

Created

messagestring required
statusstring required

Example response

{
  "data": [
    {
      "created_at": "2022-06-05T14:26:02.302718+03:00",
      "emails": [
        "alice@example.com"
      ],
      "id": "32343a19-da5e-4b1b-a767-3298a73703cb",
      "name": "Alice Smith",
      "phone_numbers": [
        "+18005550199",
        "+18005550100"
      ],
      "updated_at": "2022-06-05T14:26:02.302718+03:00",
      "user_id": "WB7DRDWrJZRGbYrv2CKGkqbzvqdC"
    }
  ],
  "message": "Request handled successfully",
  "status": "success"
}

Changes