Contacts
Create Contact
Create a contact in a workspace
POST
Create a contact in a workspace. Send at least one of
email, phone or internal_ref. Use internal_ref for the contact’s id in your CRM: you can then find it again with List Contacts.
Creating a contact sends it nothing. Penbox writes to a contact only when your team sends it a form or an email.
Retries
Posting a contact identical to one that already exists (same value on every field you send) returns that contact with a200 instead of creating a duplicate. A 201 means the contact was created. Emails are trimmed and lowercased first.
A contact that differs on one field, for example the same email with another internal_ref, is a new contact. Look it up first, then update it.
Authorizations
API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}
Body
application/json
Response
An identical contact already exists, and is returned unchanged