Skip to main content
POST
/
v2
/
bulk
/
create
/
contacts
Bulk create contacts
curl --request POST \
  --url https://app.closerx.ai/api/v2/bulk/create/contacts/ \
  --header 'Company-Name: <company-name>' \
  --header 'Content-Type: application/json' \
  --header 'api_key: <api-key>' \
  --data '
{
  "contact": [
    {
      "phone": "+9821985448"
    }
  ],
  "tags": [
    "Test campaign"
  ]
}
'
{
  "message": "Bulk upload process started. Check status later.",
  "task_id": {
    "message": "Contacts uploaded successfully!",
    "created": 0,
    "updated": 1,
    "failed_rows": []
  }
}

Authorizations

api_key
string
header
required

Headers

Company-Name
string
required

Schema name for multi-tenancy

Body

application/json
contact
object[]
required

List of contacts to be created

tags
string[]
required

Tags to associate with contacts

Response

Bulk contact creation started successfully

message
string
Example:

"Bulk upload process started. Check status later."

task_id
object