Skip to Content
Developers
Suppression

Block caller numbers, for the account or one campaign

Needs the suppression:write scope. About scopes

Try it with a test key

Sends to https://api.traki.io

Test keys only. The key stays in this page while it is open and is never saved.

/v1/account/suppression

Authorization

key
headerAuthorizationBearer <traki_account_…>

Request Body

application/json
  1. body
numbers*array<>
Items1 <= items <= 1000
reason*string
Length1 <= length <= 200
campaignId?string
Formatuuid

Response Body

Success

application/json
  1. response
added*integer
Range-9007199254740991 <= value <= 9007199254740991
duplicates*integer
Range-9007199254740991 <= value <= 9007199254740991
invalid*array<>
Example Request
curl -X POST 'https://api.traki.io/v1/account/suppression' \  -H "Authorization: Bearer $TRAKI_KEY" \  -H 'Content-Type: application/json' \  -H 'Idempotency-Key: a-unique-id-for-this-change' \  -d '{  "numbers": [    "string"  ],  "reason": "string"}'
Example Response
{  "added": -9007199254740991,  "duplicates": -9007199254740991,  "invalid": [    {      "row": -9007199254740991,      "value": "string",      "message": "string"    }  ]}