Skip to main content
POST
Recommend a messaging channel from a send intent

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Body

application/json
messageType
enum<string>

Kind of message being sent. Defaults to transactional.

Available options:
transactional,
marketing,
otp
urgency
enum<string>

Delivery urgency. Defaults to medium.

Available options:
low,
medium,
high
costOptimize
boolean

When true, prefer the cheapest channel that meets the quality bar.

Response

200 - application/json

The ranked channel recommendation for the supplied intent.

data
object
meta
object