cURL
curl --request POST \ --url https://api.example.com/api/contacts
Create a new contact
curl -X POST https://app.orova.ai/api/contacts \ -H "x-api-key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "contactName": "John Doe", "phoneNumber": "+1234567890", "region": "US East", "workspaceId": "WORKSPACE_ID", "externalFields": { "accountNumber": "ACC-001", "company": "Acme Corp" } }'
contactName
phoneNumber
region
workspaceId
externalFields
{ "_id": "contact_id", "contactName": "John Doe", "phoneNumber": "+1234567890", "region": "US East", "workspaceId": "WORKSPACE_ID", "externalFields": { "accountNumber": "ACC-001", "company": "Acme Corp" }, "createdAt": "2025-01-01T00:00:00.000Z" }