Skip to main content
PATCH
Update a contact. Send only the fields that change: the others stay as they are. null clears a field. At least one field is required. The contact stays the same contact under its new email: its Cases follow it.
There is no delete. Removing a contact stays a manual action inside Penbox.

Authorizations

Authorization
string
header
required

API token (starts with pnbx_). Create at https://app.penbox.io/workspace/settings/api. Include as: Authorization: Bearer {token}

Path Parameters

id
string<uuid>
required

Contact UUID

Body

application/json
email
string<email> | null

Email address. Trimmed and lowercased.

given_name
string | null

First name

Maximum string length: 100
family_name
string | null

Last name

Maximum string length: 100
company_name
string | null

Company the contact belongs to

Maximum string length: 255
internal_ref
string | null

Your own reference for the contact, such as its id in your CRM

Maximum string length: 255
phone
string | null

Phone number, international format preferred

Maximum string length: 50
Example:

"+32470123456"

locale
string | null

Language Penbox addresses the contact in

Maximum string length: 10
Example:

"fr"

Response

The updated contact

id
string<uuid>

Contact UUID

created_at
string<date-time>

Creation timestamp

updated_at
string<date-time>

Last update timestamp

email
string<email> | null

Email address. Trimmed and lowercased.

given_name
string | null

First name

family_name
string | null

Last name

company_name
string | null

Company the contact belongs to

internal_ref
string | null

Your own reference for the contact, such as its id in your CRM

phone
string | null

Phone number, international format preferred

locale
string | null

Language Penbox addresses the contact in

workspace
object

Workspace the contact belongs to