Skip to main content
PUT
/
public-api
/
contacts
/
{id}
Update a contact
curl --request PUT \
  --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>"
}'
"<any>"

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

The contact ID

Body

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

Response

Contact updated successfully

The response is of type any.