Skip to main content
PATCH
Update a contact

Authorizations

Authorization
string
header
required

All requests must include Authorization: Bearer <api_key>. Keys are prefixed pw_live_ or pw_test_. See Authentication.

Path Parameters

contact_id
string
required
Example:

"ct_5n2p9x"

Body

application/json
phone_number
string
first_name
string
last_name
string
metadata
object

Response

The updated contact

id
string
Example:

"ct_5n2p9x"

object
enum<string>
Available options:
contact
email
string<email>
phone_number
string | null
first_name
string | null
last_name
string | null
subscribed
boolean

Whether this contact can currently receive messages

metadata
object
created_at
string<date-time>