Skip to main content
GET
List Omni templates
Same API key as Create lead. Never returns SMTP passwords or WhatsApp/AiSensy keys.
  1. Copy email.templates[].lead (the row with "selected": true, or another template)
  2. Fill email / name and templateVariables
  3. Or copy whatsapp.templates[].lead and fill phone + whatsappParams (paramLabels[i] = {{i+1}})
  4. POST /api/v1/leads
Invalid campaignId400. Not yours → 404.

Authorizations

Authorization
string
header
required

Paste only your API key (ond_live_… or ond_test_…). Do not type the word Bearer — the playground adds it.

Query Parameters

campaignId
string

Optional. Omit for all profiles/templates. Pass a campaign you own to see which profile + template that campaign uses.

Response

Profiles and templates

campaignId
string | null
name
string | null
email
object
whatsapp
object