curl --request GET \
--url https://api.comm.com/api/v1/sms/routing/sms-tests \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"sms_route_id": "<string>",
"test_schedule_id": "<string>",
"foreign_id": "<string>",
"sid": "<string>",
"destphone": 123,
"country_id": 123,
"code": "<string>",
"mcc": 123,
"mnc": 123,
"network_name": "<string>",
"status": "<string>",
"raw_response": [
"<unknown>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sms_id": "<string>",
"sms_route": {
"id": "<string>",
"name": "<string>",
"company_id": "<string>",
"is_connected": true,
"connection_id": "<string>",
"rates_total": 123,
"created_at": "2023-11-07T05:31:56Z",
"links": {
"delete": "<string>"
},
"queue_info": [
"<unknown>"
],
"company": {
"id": "<string>",
"team_id": "<string>",
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"is_active": true,
"overdraft_enabled": true,
"overdraft_limit": 123,
"provider_balance": 123,
"provider_balance_updated_at": "<string>",
"balance_checker": "<string>",
"endpoints_count": "<string>",
"sms_routes_count": "<string>",
"balance_email": "<string>",
"links": [
"<string>"
],
"client_balance": "<string>",
"vendor_balance": "<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
}
},
"connection": "<string>",
"client_balance": 123,
"vendor_balance": 123
},
"sms": {
"sms_id": "<string>",
"endpoint_id": "<string>",
"sms_route_id": "<string>",
"sms_routing_plan_id": "<string>",
"client_company_id": "<string>",
"vendor_company_id": "<string>",
"foreign_id": "<string>",
"country_id": "<string>",
"source_addr": "<string>",
"destination_addr": "<string>",
"message_payload": "<string>",
"dlr_status": "<string>",
"network_id": "<string>",
"network_brand": "<string>",
"cost": "<string>",
"profit": "<string>",
"is_sent": "<string>",
"is_clicked": "<string>",
"is_lead": "<string>",
"is_sale": "<string>",
"is_delivered": "<string>",
"created_at": "<string>"
}
}
]
}curl --request GET \
--url https://api.comm.com/api/v1/sms/routing/sms-tests \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"sms_route_id": "<string>",
"test_schedule_id": "<string>",
"foreign_id": "<string>",
"sid": "<string>",
"destphone": 123,
"country_id": 123,
"code": "<string>",
"mcc": 123,
"mnc": 123,
"network_name": "<string>",
"status": "<string>",
"raw_response": [
"<unknown>"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"sms_id": "<string>",
"sms_route": {
"id": "<string>",
"name": "<string>",
"company_id": "<string>",
"is_connected": true,
"connection_id": "<string>",
"rates_total": 123,
"created_at": "2023-11-07T05:31:56Z",
"links": {
"delete": "<string>"
},
"queue_info": [
"<unknown>"
],
"company": {
"id": "<string>",
"team_id": "<string>",
"name": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"is_active": true,
"overdraft_enabled": true,
"overdraft_limit": 123,
"provider_balance": 123,
"provider_balance_updated_at": "<string>",
"balance_checker": "<string>",
"endpoints_count": "<string>",
"sms_routes_count": "<string>",
"balance_email": "<string>",
"links": [
"<string>"
],
"client_balance": "<string>",
"vendor_balance": "<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
}
},
"connection": "<string>",
"client_balance": 123,
"vendor_balance": 123
},
"sms": {
"sms_id": "<string>",
"endpoint_id": "<string>",
"sms_route_id": "<string>",
"sms_routing_plan_id": "<string>",
"client_company_id": "<string>",
"vendor_company_id": "<string>",
"foreign_id": "<string>",
"country_id": "<string>",
"source_addr": "<string>",
"destination_addr": "<string>",
"message_payload": "<string>",
"dlr_status": "<string>",
"network_id": "<string>",
"network_brand": "<string>",
"cost": "<string>",
"profit": "<string>",
"is_sent": "<string>",
"is_clicked": "<string>",
"is_lead": "<string>",
"is_sale": "<string>",
"is_delivered": "<string>",
"created_at": "<string>"
}
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Array of SmsTestResource
Show child attributes
Show child attributes
'rates' => SmsRoutingRateResource::collection($this->whenLoaded('smsRouteRates')),
Show child attributes
0 elementbalance_checker_data
Show child attributes
api, email, none none, basic, bearer, custom GET, POST x >= 1Show child attributes
'registered_delivery' => $this->resource['registered_delivery'], 'esm_class' => $this->resource['esm_class'], 'data_coding' => $this->resource['data_coding'], 'sm_length' => $this->resource['sm_length'], 'user_message_reference' => $this->resource['user_message_reference'], 'sar_msg_ref_num' => $this->resource['sar_msg_ref_num'], 'sar_total_segments' => $this->resource['sar_total_segments'], 'sar_segment_seqnum' => $this->resource['sar_segment_seqnum'], 'payload_type' => $this->resource['payload_type'], 'source_addr_ton' => $this->resource['source_addr_ton'], 'source_addr_npi' => $this->resource['source_addr_npi'], 'dest_addr_ton' => $this->resource['dest_addr_ton'], 'dest_addr_npi' => $this->resource['dest_addr_npi'], 'service_type' => $this->resource['service_type'],
'schedule_delivery_time' => $this->resource['schedule_delivery_time'], 'validity_period' => $this->resource['validity_period'],
'pdu' => $this->resource['pdu'], 'error' => $this->resource['error'], 'error_code' => $this->resource['error_code'],
'dlr_received' => $this->resource['dlr_received'], 'dlr_sent' => $this->resource['dlr_sent'],