Skip to main content
POST
Upsert event route
campaignId must be an API campaign you own. Example eventType: lead.created, invoice.overdue.

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
eventType
string
required
campaignId
string
required
defaultChannels
string[]
enabled
boolean
default:true

Response

Saved

route
object