Contactos
Create Contact
Add a new contact to your organization
POST
This endpoint allows you to create a new contact in your organization’s database. You can provide various details about the contact including their name, phone number, email, and additional custom data fields.
Use Cases
- Add a new lead or prospect to your CRM
- Import contacts from external sources
- Register new users or customers
- Create contact records from form submissions
Headers
string
requerido
Your API key for authentication. You can find this in your dashboard under API settings.
Body Parameters
string
requerido
The phone number of the contact in international format (e.g., +12124567890)
string
requerido
The full name of the contact
string
The country of the contact
string
The email address of the contact
string
Optional description or notes about the contact
array
Optional array of additional data fields for the contact
Response
number
201 on successful creation
string
The unique identifier of the created contact (UUID format)
string
The timestamp when the contact was created (ISO 8601 format)
string
The phone number of the contact
string
The full name of the contact
string
The country of the contact
string
The email of the contact
string
Description or notes about the contact
array
Additional data associated with the contact
string
The ID of the organization the contact belongs to
Error Codes
400 Bad Request- Invalid input data (e.g., missing required fields)401 Unauthorized- Invalid or missing API key409 Conflict- Contact with the same phone number already exists500 Internal Server Error- Server-side error
Code Examples
Notes and Best Practices
- Always use international format for phone numbers (e.g., +12124567890) to ensure consistency
- Store the returned contact ID for future reference and updates
- Validate data on your end before submitting to avoid 400 errors
- Consider implementing deduplication checks before creating new contacts to avoid conflicts
- Use meaningful and consistent naming conventions for additional_data fields to maintain data quality
