POST
/
v1
/
sms
/
routing
/
blacklist
Store a newly created resource in storage
curl --request POST \
  --url https://api.comm.com/api/v1/sms/routing/blacklist \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sms_route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "company_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "country_id": 123,
  "reason": "<string>"
}'
{
  "data": {
    "id": "<string>",
    "sms_route_id": "<string>",
    "company_id": "<string>",
    "country_id": "<string>",
    "reason": "<string>",
    "team_id": "<string>",
    "created_by": "<string>",
    "created_at": "<string>",
    "updated_at": "<string>",
    "sms_route": "<string>",
    "company": "<string>",
    "country": "<string>",
    "created_by_user": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
country_id
number
required
reason
string
required
Maximum length: 1000
sms_route_id
string<uuid> | null
company_id
string<uuid> | null

Response

SmsRoutingBlacklistResource

data
object
required