Skip to content

Set a failure rule

PUT
/sandbox/failure-injection

Make the next simulated sends on a channel fail the way you choose (M3-5).

Authorizations

Parameters

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

object
channel
required

Channel the injected failure applies to: email, sms, whatsapp, voice, linkedin, crm, ads, calendar, or ’*’ for every channel.

string
failure_mode
required

One of: hard_bounce, provider_error, timeout, rate_limited, invalid_recipient.

string
remaining
Any of:
integer
>= 1 <= 10000

Responses

200

Successful Response

object
rules
required
Array<object>
object
key
additional properties
any
sandbox
boolean
default: true

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string