Messages/SMS Block
Add SMS Blocks for Domain
Changed onpost/domains/{domain}/smsblocks
Request
- Base URLhttps://ns-api.com/ns-api/v2
- URLhttps://ns-api.com/ns-api/v2/domains/{domain}/smsblocks
- AuthHTTP bearer
Path parameters
domainstring required
This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.
Example:example.com
Request body
Example request
{
"requesting-number": "+18585551234",
"blocked-number": "+18585551234"
}Response
Changes
- info
endpoint added
- info