Create new contact
Create a new contact with duplicate checking and comprehensive data validation
POST
https://api.channelautomation.com/api/contactsAuthorization
Request body JSON required
Example requests
{
"workspace_id": "15213",
"firstname": "John",
"lastname": "Doe",
"phone_number": "+1234567890",
"email": "john.doe@example.com",
"lead_status": "new",
"lead_source": "website"
}{
"workspace_id": "123e4567-e89b-12d3-a456-426614174000",
"firstname": "Jane",
"lastname": "Smith",
"phone_number": "+1987654321",
"email": "jane.smith@example.com",
"lead_status": "qualified",
"lead_source": "referral",
"product": "enterprise_plan",
"address": "456 Oak Avenue",
"city": "San Francisco",
"state": "CA",
"zip": "94102",
"notes": "Interested in enterprise features",
"tags": [
"enterprise",
"high-value"
],
"priority": "high",
"follow_up_date": "2024-02-15"
}Returns
201
Contact created successfully
