Skip to main content
curl --request PATCH \
--url https://api.maildiver.com/v1/automation/contacts/{email} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"properties": {
"first_name": "John",
"last_name": "Doe",
"plan": "enterprise"
}
}'
{
"message": "Contact metadata updated successfully",
"email": "user@example.com",
"updated_properties": [
"first_name",
"last_name",
"plan",
"company"
]
}

Authorizations

Authorization
string
header
required

API key with format "Bearer {your-api-key}"

Path Parameters

email
string
required

Contact's email address

Body

application/json
properties
object

Contact properties to merge (key-value pairs, set to null to delete)

Example:
{
"first_name": "John",
"plan": "enterprise"
}

Response

Contact successfully updated

The response is of type any.