POST
/
v1
/
sms
/
routing
/
rates
cURL
curl --request POST \
  --url https://api.comm.com/api/v1/sms/routing/rates \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "rate": 123,
  "country_id": 123,
  "sms_route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "network_id": 123,
  "network_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
  "data": {
    "id": "<string>",
    "country_id": 123,
    "rate": 123,
    "upcoming_rate": 123,
    "rate_updated_at": "<string>",
    "sms_route_id": "<string>",
    "network_id": 123,
    "network_brand_id": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Response

201
application/json

SmsRoutingRateResource

The response is of type object.