Ana içeriğe geç

Create a contact

POST 

/api/contacts

Saves a new person. Nothing is sent to them. An e-mail or phone that already belongs to someone in the workspace is refused with a 422 that names who it is (errors.email / errors.phone) and carries their id in errors.existing_contact_id — usually the right move is to use that contact. Sending allow_duplicate: true creates the second record anyway (families often share a number).

Request​

Responses​

Created contact.