Skip to main content
POST
Create one invoice per contact in an audience (bulk).

Authorizations

x-api-key
string
header
required

Your workspace API key. It both authenticates the caller and selects the workspace.

Body

application/json
line_items
object[]
required
segment_id
string<uuid>
currency
string
issue_date
string<date>
due_date
string<date>
client_notes
string
send
boolean
run_automations
boolean
default:true
contact_ids
string<uuid>[]
tag
string
class_session_id
string<uuid>
discount_total
number
channels
enum<string>[]
Available options:
whatsapp,
sms,
email

Response

Accepted. The run is queued; the body is its summary.