POST
/
contact
Create a contact
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"
  ]
}'
{
  "status": "<string>",
  "message": "<string>",
  "data": "<string>"
}

Authorizations

X-Team-ApiKey
string
header
required

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.