Blocked Handles
Block handles — phone numbers, email addresses, SMS short codes, or
sender IDs. Inbound messages from a blocked handle are dropped before
they reach your webhooks, and direct sends to a blocked handle are
rejected with 403 (error code 2026). Group sends that include
unblocked members are not restricted.
List blocked handles
client.blockedHandles.list(RequestOptionsoptions?): BlockedHandleListResponse { blocked_handles }
GET/v3/blocked_handles
Block a handle
client.blockedHandles.block(BlockedHandleBlockParams { handle, reason } body, RequestOptionsoptions?): BlockedHandleBlockResponse { blocked_handle }
POST/v3/blocked_handles
Unblock a handle
client.blockedHandles.unblock(BlockedHandleUnblockParams { handle } body, RequestOptionsoptions?): void
DELETE/v3/blocked_handles