Skip to main content
Changes a route. Only what the body gives changes; steps, when given, replace all of them. Messages already under way keep the steps they started with.
Needs the routes:write scope.

Path parameters

Body

Each step is {"channel", "succeed_on", "within"}: channel is sms, whatsapp, rcs or firetone (Voice) — the channels your account has; succeed_on is sent, delivered (the default), read or answered — only what that channel reports (SMS reports delivery, WhatsApp and RCS delivery and reads, Voice whether the call was answered); within is how many seconds to wait for it, from 30 to 604800 (default 900). A route has 1 to 6 steps.

Request

Response

200 OK

Errors

Every refusal is {"error": {"code", "message", "field"}}; field is there when one input is at fault. Any request can also be refused for its key, its account or its rate (key_required, invalid_key, account_suspended, plan_excludes_api, address_not_allowed, rate_limited); see the overview.