Get Message Detail Record by SID
This request returns the detailed data for an SMS/MMS message, targeted by the message detail record secure ID.
get | /sms/message_drs/{dr_sid} |
Sample
A sample GET request to get a message detail record, targeted by secure ID:
curl -X GET \
'https://api.carrierx.com/core/v2/sms/message_drs/92cd9154-2f53-4e62-8b4e-8ff6e4849d16' \
-H 'Authorization: Bearer 5ebc03d6-8b2b-44ad-bf65-72d4f1491dda'
Response
200
status code with a serialized copy of the SMS Detail Record object:
"a2p_campaign": null,
"date_changed": "2025-04-14T10:32:18.175Z",
"date_insert": "2025-04-14T10:32:17.279Z",
"date_sent": "2025-04-14T10:32:17.997Z",
"date_start": "2025-04-14T10:32:17.279Z",
"date_stop": "2025-04-14T10:32:00.000Z",
"delay_sent": 0,
"direction": "outbound",
"dr_sid": "92cd9154-2f53-4e62-8b4e-8ff6e4849d16",
"mcc": 310,
"mcc_mnc_price": "0.015",
"mcc_mnc_rate": "0.005",
"media_urls": [
"https://storage.carrierx.com/f/cdac0471-f144-42a2-94f8-d9838ce5e4b9"
],
"message": null,
"message_segments": 1,
"mnc": 999,
"number_billing": "12078152557",
"number_dst": "17575000929",
"number_external": "17575000929",
"number_group_dst": [
"17207217011",
"17207210038",
"17575000929"
],
"number_src": "12078152557",
"p2p_nnid": null,
"partner_sid": "8d180104-0b34-4e55-907f-4a72409484c9",
"passthrough_price": null,
"passthrough_rate": null,
"price": "0.015",
"provider": "tsg",
"rate": "0.005",
"registration_type": null,
"status": "sent",
"type": "mms",
"user_data": "test_message",
"vendor_error_code": "503",
"version": null
}
This request is enabled for Field Filtering.
Required Scopes
To get information about an SMS Detail Record object, the partner must have one of the following scopes enabled:
sms.manage
sms.read
To view information about an SMS Detail Record object for the inherited partners, the partner must additionally have the sms.read_descendant
scope enabled.
Path Arguments
Parameter | Data Type | Description |
---|---|---|
dr_sid required | string | The message detail record secure ID. |