Endpoints

Contacts

Send sign-ups and enquiries from your website to your workspace.

Create a contact

Request
POST /contacts

Adds the person to Customers with the source Website. If a contact with the same phone, or else the same email, already exists, that contact is updated instead of a new one being created.

FieldRules
nameRequired. Up to 255 characters.
phoneRequired without email. With country code, for example +8801712345678.
emailRequired without phone.
notesOptional. Up to 5,000 characters, added to the contact's notes.
whatsapp_opt_in, email_opt_in, sms_opt_inOptional. true records consent for that channel.
Example
curl -X POST "https://<your-api-host>/api/public/v1/contacts" \
  -H "X-Api-Key: mf_your_key" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Nadia Rahman", "email": "nadia@example.com", "email_opt_in": true }'

Returns 201 with the contact.