Creates a new contact in your SendX team with the provided information.
🎯 Key Features:
📋 Business Rules:
Team API key for authentication. Find your API key in SendX Settings → Team API Key.
Example:
X-Team-ApiKey: your_team_api_key_hereEmail address of the contact (required and must be unique within team).
Validation:
255First name of the contact
255"John"
Last name of the contact
255"Doe"
Company name of the contact
255"Example Corp"
Custom fields as key-value pairs. Keys should use custom_field_ prefix.
Processing:
Examples:
"field_MnuqBAG2NPLm7PZMWbjQxt": "Engineering" → stored as department: Engineering{
"field_MnuqBAG2NPLm7PZMWbjQxt": "Engineering",
"field_QqfhckbdcvQinLPlduIbHq": "Senior"
}Array of list identifiers to associate with the contact.
Identifiers should use list_ prefix.
Processing:
Examples:
"list_OcuxJHdiAvujmwQVJfd3ss" → valid prefixed format["list_OcuxJHdiAvujmwQVJfd3ss"]Array of tag identifiers to associate with the contact.
Identifiers should use tag_ prefix.
Processing:
Examples:
"tag_UhsDkjL772Qbj5lWtT62VK" → valid prefixed format["tag_UhsDkjL772Qbj5lWtT62VK"]Last tracked IP address of the contact for analytics purposes.
Usage:
"192.168.1.100"
✅ Contact created successfully
Unique contact identifier with contact_ prefix.
Format: contact_ + 22 alphanumeric characters
Usage:
"contact_BnKjkbBBS500CoBCP0oChQ"
First name of the contact
"John"
Last name of the contact
"Doe"
Email address of the contact (unique within team)
Company name of the contact
"Example Corp"
Custom fields with custom_field_ prefixed keys.
Format: All keys have custom_field_ prefix in responses
Example Structure:
{
"field_MnuqBAG2NPLm7PZMWbjQxt": "Engineering",
"field_QqfhckbdcvQinLPlduIbHq": "Senior",
"field_MnuqBAG2NPLm7PZMWbjQxt": "$75000"
}{
"field_MnuqBAG2NPLm7PZMWbjQxt": "Engineering",
"field_QqfhckbdcvQinLPlduIbHq": "Senior"
}Associated lists with list_ prefixed identifiers.
Format: All IDs have list_ prefix in responses
[
"list_OcuxJHdiAvujmwQVJfd3ss",
"list_xyz789ghi012"
]Associated tags with tag_ prefixed identifiers.
Format: All IDs have tag_ prefix in responses
[
"tag_UhsDkjL772Qbj5lWtT62VK",
"tag_UhsDkjL772Qbj5lWtT62VK"
]Whether the contact has unsubscribed from emails
false
Whether emails to this contact have bounced
false
Whether the contact has marked emails as spam
false
Whether the contact is blocked from receiving emails
false
Whether emails to this contact have been dropped
false
Contact creation timestamp (ISO 8601 format)
"2024-01-10T14:20:00Z"
Contact last update timestamp (ISO 8601 format)
"2024-01-15T09:15:00Z"
Email tracking data and UTM parameters.
Contains:
"utm_source=website&utm_campaign=signup&utm_medium=banner"
Source type of the contact creation.
Values:
1 - API/Manual2 - Import3 - Form4 - Integration1
URL of the page where contact was created
"https://example.com/signup?ref=google-ads"
Last tracked IP address of the contact
"203.0.113.42"
Lifetime Value of the contact in cents.
Example: 7500 = $75.00
7500