Get MMS Rate
This request returns the MMS rates for the destination phone number and the direction specified in the request.
get | /rating/mms/{sub_type} |
Sample
A sample GET request to get rates for an MMS sent to or received from the phone number specified in the request:
curl -X GET \
'https://api.carrierx.com/core/v2/rating/mms/toll?direction=outbound&to=17605692222' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200
status code with a serialized copy of the Rating MCC/MNC Response object:
{
"direction": "outbound",
"price": "0.07000",
"rate": "0.07000",
"segments": "1"
}
Required Scopes
To get information about a Rating MCC/MNC Response object, the partner must have one of the following scopes enabled:
rating.manage
rating.read
Path Arguments
Parameter | Data Type | Description |
---|---|---|
sub_type required | string | The type of the rating used to calculate the price for the MMS. Values accepted in this field are short_code , toll , and toll_free . |
Query Arguments
Parameter | Data Type | Description |
---|---|---|
direction required | string | The direction of the MMS. Values accepted in this field are:
|
partner_sid | string | The secure ID of the partner for which you want to calculate the MMS price. |
to required | string | The destination phone number. |