Skip to main content
PATCH

How it works

Use the Peoplewisher contact_id returned when the contact is created. Updating group_id moves the contact to the selected Celebration Group. If the birthday changes, Peoplewisher updates the relevant birthday processing state.

Authentication

Include your Peoplewisher API key as a Bearer token on every request:
Your API key is available in Peoplewisher → Settings → API. Keep it private and never expose it in browser-side code or public repositories.

Authorizations

Authorization
string
header
required

Use the API key generated in Peoplewisher Settings as a Bearer token.

Path Parameters

contact_id
integer
required

Peoplewisher contact ID.

Required range: x >= 1

Body

application/json
first_name
string
last_name
string
email
string<email>
phone
string

Primary phone number.

whatsapp_phone
string
birthday
string<date>

Birthday in YYYY-MM-DD format. The year may be omitted when only month/day are known.

timezone
string
Example:

"Africa/Lagos"

gender
string
location
string
language
string
company
string
job_title
string
salutation
string
relationship_status
string
guardian_contact_id
integer
profile_image
string

URL or PeopleWisher-supported profile image reference.

status
string
default:1
group_id
integer
Required range: x >= 1
custom_fields
object

Response

Contact updated

success
boolean
data
object