blacklist
Add a number to a user's blacklist
Adds a phone number to a user's personal blacklist. Once blacklisted, calls from this number to the user are blocked. An optional comment can be attached to explain why the number was blocked (e.g., "spam caller", "wrong number"). If the number is already blacklisted, the request returns 304 Not Modified.
Permission: Users Write required.
Monitoring impact:
- OFF: Can only add to your own blacklist.
- ON: Can add to any user's blacklist.
post/users/{userId}/blacklists/numbers
Path parameters
userIdinteger required
Example:123456
The identifier of the user
Request body
Example request
{
"number": 33184800000,
"direction": "IN"
}Response
Successful operation