cURL
curl --request POST \ --url https://app.closerx.ai/api/v2/contact/ \ --header 'Company-Name: <company-name>' \ --header 'Content-Type: application/json' \ --header 'api_key: <api-key>' \ --data ' { "first_name": "Amandeep (testingg)", "last_name": "Singhh", "contact_number": "+919999728776", "id": "", "email": "[email protected]", "company_name": "softvel", "industry": "IT", "custom1": null, "custom2": null, "custom3": null, "custom4": null, "tags": [ { "tag_name": "agent_hangup" } ] } '
{ "success": true, "message": "Success", "data": { "id": 4503, "contact_number": "+919999728776", "email": "[email protected]", "first_name": "Amandeep (testingg)", "last_name": "Singhh", "company_name": "softvel", "industry": "IT", "custom1": null, "custom2": null, "custom3": null, "custom4": null, "isactive": true, "address": null, "contact_id": null, "tags": [ { "id": 14, "tag_name": "agent_hangup" } ] } }
Creates a new contact with personal, company, and tag information.
The schema name for multi-tenancy
"Amandeep (testingg)"
"Singhh"
"+919999728776"
""
"[email protected]"
"softvel"
"IT"
null
Show child attributes
"agent_hangup"
Contact created successfully
true
"Success"
4503
14