Skip to main content
POST
Create a new task

Body

application/json
type
string
required
Example:

"email"

target
string
Example:

"person@example.com"

message
string
Example:

"<p>Hello <strong>there</strong>.</p>"

context
string
Example:

"Follow-up task context"

greeting
string
Example:

"Hello from a task"

waitToGreet
boolean
Example:

true

accountId
integer
Example:

1234

scheduledFor
integer
Example:

1712350000

meta
object

Optional task metadata. Call tasks may use bridgeAfterAnswer with destination and optional monitor to bridge the answered target to another number.

Example:

Response

Task created successfully