API Reference
Getting Started
Contact
Campaign
Reports
Event
Webhook
Contact
Create a contact
Create Contact with given data
POST
/
contact
Create a contact
Copy
Ask AI
curl --request POST \
--url https://api.sendx.io/api/v1/rest/contact \
--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
{
"status": "<string>",
"message": "<string>",
"data": "<string>"
}
Authorizations
Body
application/json
Schema for the contact request payload. Used for creating or updating a contact.
Response
200
application/json
Contact Created Successfully
The response is of type object
.
Was this page helpful?
Create a contact
Copy
Ask AI
curl --request POST \
--url https://api.sendx.io/api/v1/rest/contact \
--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
{
"status": "<string>",
"message": "<string>",
"data": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.