Skip to main content
POST
Validate lead (dry run)
Use Lead setup first to copy a body, fill it, then Try it here.
  • ok: true → safe to POST /api/v1/leads
  • ok: false → read checks (severity: error blocks create)
  • Warnings (empty templateVariables) still send

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.

Body

application/json
campaignId
string
required
Example:

"6a7afae1e1cf2999568febc4"

channel
enum<string>
default:call
required

Dial only. Email and WhatsApp fields are not used.

Available options:
call
phone
string
required
Example:

"+919876543210"

name
string
Example:

"Asha"

priority
enum<string>
default:normal
Available options:
high,
normal
scheduledAt
string<date-time>

When to dial. Defaults to now.

requeue
boolean

Re-arm a finished contact.

metadata
object
Example:

Response

All required checks passed (nothing created)

ok
boolean
campaignId
string
channels
string[]
missing
string[]
warnings
string[]
issues
object[]