Skip to main content
POST
/
api
/
leads
/
bulk-create
Bulk Create Leads
curl --request POST \
  --url https://api.trysela.com/api/leads/bulk-create/ \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "leads": [
    {
      "phone_number": "<string>",
      "email": "jsmith@example.com",
      "metadata": "<unknown>",
      "lead_type": 123,
      "representative": 123,
      "external_id": "<string>",
      "lead_source": "<string>",
      "call_schedule_start_time": "2023-11-07T05:31:56Z"
    }
  ]
}
'
{
  "results": [
    {
      "id": 123,
      "action": "created"
    },
    {
      "id": 456,
      "action": "reengaged"
    },
    {
      "id": null,
      "action": "error",
      "error": "Each lead must be a JSON object."
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.trysela.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Body

leads
object[]
required

Response

Per-lead bulk create results.

results
object[]
required