PATCH
/
webhook
/
contact
/
update
  curl --request PATCH \
  --url https://webhook.cocoonmail.com/webhook/contact/update \
  --header 'X-COCOONMAIL-API-KEY: <API Key>' \
  --header 'Content-Type: application/json' \
  -- data '{
  "email": "<string>",
  "first_name": "<string>",
  "middle_name":  "<string>",
  "last_name":  "<string>",
  "attributes":[{
              "attr_name":"<String>",
              "attr_type":"STRING",
              "attr_value":"<String>",
              "uuid" :"<String>"
          }],
  "lists":  "[]",
  "tag":  "[]",
 }
  curl --request PATCH \
  --url https://webhook.cocoonmail.com/webhook/contact/update \
  --header 'X-COCOONMAIL-API-KEY: <API Key>' \
  --header 'Content-Type: application/json' \
  -- data '{
  "email": "<string>",
  "first_name": "<string>",
  "middle_name":  "<string>",
  "last_name":  "<string>",
  "attributes":[{
              "attr_name":"<String>",
              "attr_type":"STRING",
              "attr_value":"<String>",
              "uuid" :"<String>"
          }],
  "lists":  "[]",
  "tag":  "[]",
 }

Authorizations

X-COCOONMAIL-API-KEY
string
header
required

Body

application/json
email
string
required

Email address of the user.

first_name
string

First name of the user.

middle_name
string

Middle name of the user.

last_name
string

Last name of the user.

lists
string[]

List of UUIDs associated with the user.

tag
string[]

Tags associated with the user.

Response

201
_mintlify/placeholder

User created successfully.