Skip to main content
POST
Create a new listing with rule and bulk contacts

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Body

application/json
name
string
required
Example:

"My Call List"

agent_uuid
string<uuid>
required

Agent UUID. The channel binding (agent_app) is resolved automatically: when campaign_type is given, the agent's channel matching that type is used.

Example:

"550e8400-e29b-41d4-a716-446655440000"

contacts
object[]
required

Contacts to add. Matched by phone_number (priority 1) then email (priority 2). If found, existing contact is updated with new data; otherwise a new contact is created.

description
string | null
campaign_type
enum<string>
Available options:
call,
text
Example:

"call"

start_date
string<date>
Example:

"2026-02-22"

end_date
string<date>
Example:

"2026-03-22"

contact_template_setting_uuid
string<uuid> | null

REQUIRED for campaign_type='text' (WhatsApp). UUID of an active template setting (create via POST /api/v1/whatsapp/template-settings) — it defines which approved template to send and what fills its placeholders per contact.

contact_template_setting_id
integer | null
deprecated

Legacy numeric id. Prefer contact_template_setting_uuid.

rule
object
auto_start
boolean

Auto-create tasks and start campaign

Example:

true

Response

Created