Suppression
Block caller numbers, for the account or one campaign
Needs the suppression:write scope. About scopes
keyheader
AuthorizationBearer <traki_account_…>application/json- body
numbers*array<>Items
1 <= items <= 1000reason*stringLength
1 <= length <= 200campaignId?stringFormat
uuidSuccess
application/json- response
added*integerRange
-9007199254740991 <= value <= 9007199254740991duplicates*integerRange
-9007199254740991 <= value <= 9007199254740991invalid*array<>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" } ]}