Suppressions

Suppress number

Stop a number being messaged by any path.

Idempotent; the first reason recorded is kept.

Header Parameters

X-Request-Id?string

Your id for this request; it becomes the request_id of any error. Without it the server makes one.

Request Body

application/json
  1. body
phone*string
reason?string
Default"manual"
Value in"opt_out""manual"
curl -X POST 'https://v3.ghala.io/v1/suppressions' \  -H 'Content-Type: application/json' \  -d '{  "phone": "string"}'
{  "phone": "255712345678",  "suppressed": true}