Skip to main content
PATCH
/
public-api
/
contacts
/
{id}
Partially update a contact
curl --request PATCH \
  --url https://agents.nineteen58.co.za/public-api/contacts/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "identifier": "<string>",
  "name": "<string>",
  "channel": "<string>",
  "email": "<string>",
  "personal_context": "<string>",
  "notes": "<string>",
  "relevant_information": "<string>",
  "currentChannel": "<string>"
}'
"<any>"

Authorizations

x-api-key
string
header
required

Headers

x-api-key
string
required

API key for authentication

Path Parameters

id
string
required

The contact ID

Body

application/json
identifier
string
name
string
channel
string
email
string | null
personal_context
string | null
notes
string | null
relevant_information
string | null
currentChannel
string

Current channel type (needed for WhatsApp validation)

Response

Contact updated successfully

The response is of type any.