curl --request GET \
--url https://api.comm.com/api/management/live-phones-sms \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"live_phone_id": "<string>",
"sms_route_id": "<string>",
"user_id": "<string>",
"message": "<string>",
"sender_id": "<string>",
"foreign_id": "<string>",
"dlr_status": 123,
"dlr_received_at": "<string>",
"dlr_error_code": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sent_at": "<string>",
"received_at": "<string>",
"received_sender_id": "<string>",
"status": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"method": "<string>",
"pdu": "<string>",
"live_phone": {
"id": "<string>",
"phone_number": 123,
"country_id": 123,
"network_id": 123,
"is_active": true,
"last_used_at": "<string>",
"used_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"network_brand_id": "<string>",
"email": "<string>"
},
"sms_route": {
"id": "<string>",
"name": "<string>",
"company_id": "<string>",
"company": {
"id": "<string>",
"team_id": "<string>",
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"is_active": true,
"overdraft_enabled": true,
"overdraft_limit": 123,
"client_balance": "<string>",
"vendor_balance": "<string>",
"provider_balance": 123,
"provider_balance_updated_at": "<string>",
"balance_checker": "<string>",
"endpoints_count": "<string>",
"sms_routes_count": "<string>",
"balance_checker_data": {
"balance_checker": "api",
"balance_regex": "<string>",
"api_auth_type": "none",
"api_auth_data": [
"<string>"
],
"balance_endpoint_url": "<string>",
"balance_endpoint_method": "GET",
"balance_json_path": "<string>",
"notification_if_no_data_x_days": 2
},
"balance_email": "<string>",
"links": [
"<string>"
]
},
"connection": "<string>",
"is_connected": true,
"connection_id": "<string>",
"rates_total": 123,
"created_at": "2023-11-07T05:31:56Z",
"links": {
"delete": "<string>"
},
"client_balance": 123,
"vendor_balance": 123,
"queue_info": [
"<any>"
]
}
}
]
}
curl --request GET \
--url https://api.comm.com/api/management/live-phones-sms \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "<string>",
"live_phone_id": "<string>",
"sms_route_id": "<string>",
"user_id": "<string>",
"message": "<string>",
"sender_id": "<string>",
"foreign_id": "<string>",
"dlr_status": 123,
"dlr_received_at": "<string>",
"dlr_error_code": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sent_at": "<string>",
"received_at": "<string>",
"received_sender_id": "<string>",
"status": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"method": "<string>",
"pdu": "<string>",
"live_phone": {
"id": "<string>",
"phone_number": 123,
"country_id": 123,
"network_id": 123,
"is_active": true,
"last_used_at": "<string>",
"used_count": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z",
"network_brand_id": "<string>",
"email": "<string>"
},
"sms_route": {
"id": "<string>",
"name": "<string>",
"company_id": "<string>",
"company": {
"id": "<string>",
"team_id": "<string>",
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"is_active": true,
"overdraft_enabled": true,
"overdraft_limit": 123,
"client_balance": "<string>",
"vendor_balance": "<string>",
"provider_balance": 123,
"provider_balance_updated_at": "<string>",
"balance_checker": "<string>",
"endpoints_count": "<string>",
"sms_routes_count": "<string>",
"balance_checker_data": {
"balance_checker": "api",
"balance_regex": "<string>",
"api_auth_type": "none",
"api_auth_data": [
"<string>"
],
"balance_endpoint_url": "<string>",
"balance_endpoint_method": "GET",
"balance_json_path": "<string>",
"notification_if_no_data_x_days": 2
},
"balance_email": "<string>",
"links": [
"<string>"
]
},
"connection": "<string>",
"is_connected": true,
"connection_id": "<string>",
"rates_total": 123,
"created_at": "2023-11-07T05:31:56Z",
"links": {
"delete": "<string>"
},
"client_balance": 123,
"vendor_balance": 123,
"queue_info": [
"<any>"
]
}
}
]
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
manual
, auto
12h
, 24h
, 72h
, all
Array of LivePhoneSmsResource
The response is of type object
.