Skip to main content
POST

How it works

Required fields

first_name and group_id are required. The group_id determines which celebration category and workflow applies to the contact. You do not need to create a template, configure a message, or schedule an automation through the API. Configure those settings in Peoplewisher once, then use the API to keep contacts synchronized.

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.

Body

application/json
first_name
string
required
group_id
integer
required
Required range: x >= 1
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
custom_fields
object

Response

Contact created

success
boolean
data
object