Skip to main content
POST
Create broadcast

Authorizations

better-auth.session_token
string
cookie
required

Session cookie set by Better Auth on sign-in.

x-workspace-id
string
header
required

Workspace UUID. Required on all /api/* endpoints.

Body

application/json

Create a draft broadcast

name
string
required
Minimum string length: 1
whatsappNumberId
string
required
Minimum string length: 1
templateName
string
required
Minimum string length: 1
templateLanguage
string
templateCategory
string | null
templateParams
any
audienceFilter
any
groupId
string<uuid> | null
scheduledAt
string | null

Response

Broadcast created

{key}
any