curl --request POST \
--url https://api.comm.com/api/v1/hub/endpoints/{endpoint}/static-client-rates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"country_id": 123,
"sms_route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"network_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"network_id": 123,
"rate": 1
}'
{
"data": {
"id": "<string>",
"seller_endpoint_id": "<string>",
"sms_route_id": "<string>",
"country_id": 123,
"network_id": 123,
"network_brand_id": "<string>",
"rate": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
curl --request POST \
--url https://api.comm.com/api/v1/hub/endpoints/{endpoint}/static-client-rates \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"country_id": 123,
"sms_route_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"network_brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"network_id": 123,
"rate": 1
}'
{
"data": {
"id": "<string>",
"seller_endpoint_id": "<string>",
"sms_route_id": "<string>",
"country_id": 123,
"network_id": 123,
"network_brand_id": "<string>",
"rate": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The endpoint ID
StaticClientRateResource
The response is of type object
.