PUT
/
contact
/
{identifier}
Update Contact
curl --request PUT \
  --url https://api.sendx.io/api/v1/rest/contact/{identifier} \
  --header 'Content-Type: application/json' \
  --header 'X-Team-ApiKey: <api-key>' \
  --data '{
  "email": "jane.doe@example.com",
  "firstName": "Jane",
  "lastName": "Doe",
  "company": "Tech Solutions Inc.",
  "lastTrackedIp": "34.94.159.140",
  "customFields": {
    "Position": "VIP",
    "Status": "Special Offer Subscriber"
  },
  "lists": [
    "sendx123",
    "sendx233"
  ],
  "tags": [
    "223",
    "3232"
  ]
}'
{
  "id": "a1b2c3d4e5",
  "firstName": "Jane",
  "lastName": "Doe",
  "email": "jane.doe@example.com",
  "company": "Tech Solutions Inc.",
  "customFields": {
    "Position": "VIP",
    "Status": "Special Offer Subscriber"
  },
  "unsubscribed": false,
  "bounced": false,
  "spam": false,
  "created": "2024-10-08T09:30:00Z",
  "updated": "2024-10-08T12:45:00Z",
  "blocked": false,
  "dropped": false,
  "LTV": 5000,
  "contactSource": 8,
  "lastTrackedIp": "192.168.0.1",
  "lists": [
    "sendx123",
    "sendx233"
  ],
  "tags": [
    "223",
    "3232"
  ]
}

Authorizations

X-Team-ApiKey
string
header
required

Path Parameters

identifier
string
required

The ID or email of the Contact to update

Example:

"sendxid123"

Body

application/json

Schema for the contact request payload. Used for creating or updating a contact.

Response

200
application/json

Contact Updated Successfully

The response is of type object.