Skip to main content
PATCH
Edit a contact

Authorizations

Authorization
string
header
required

Your API key, e.g. gr_live_…

Path Parameters

phone
string
required

The number with its country code, e.g. +9198250*****, or the WhatsApp username id.

Body

application/json
name
string
fields
object

Response

The contact.

id
string
phone
string | null

null for a contact who uses a WhatsApp username and shared no number.

country
string | null
name
string | null
whatsapp_name
string | null
email
string | null
company
string | null
city
string | null
fields
object
tags
string[]
source
string
opted_in
boolean
stopped_marketing
boolean
last_message_at
string | null
created_at
string | null