API Reference
Getting Started
Contact
Campaign
Reports
Event
Webhook
Contact
Update Contact
Update Contact with given data
PUT
/
contact
/
{identifier}
Update Contact
Copy
Ask AI
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"
]
}'
Copy
Ask AI
{
"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
Path Parameters
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
.
Was this page helpful?
Update Contact
Copy
Ask AI
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"
]
}'
Copy
Ask AI
{
"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"
]
}
Assistant
Responses are generated using AI and may contain mistakes.