Contacts

Update a contact

Updates the details of a single contact.

put/contacts/{contactID}

Path parameters

contactIDstring required

ID of the contact

Request body

emailsstring[]
namestring required
phone_numbersstring[] required
propertiesobject

Example request

{
  "name": "Alice Smith"
}

Response

OK

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