Retrieve a list of IP Commands from your account
Machine-to-machine IP Commands sent to/from Super SIMs
Retrieve a list of IP Commands from your account.
Query parameters
-
Sim string
The SID or unique name of the Sim resource that IP Command was sent to or from.
-
SimIccid string
The ICCID of the Sim resource that IP Command was sent to or from.
-
Status string
The status of the IP Command. Can be:
queued
,sent
,received
orfailed
. See the IP Command Status Values for a description of each.Values are
queued
,sent
,received
, orfailed
. -
Direction string
The direction of the IP Command. Can be
to_sim
orfrom_sim
. The value ofto_sim
is synonymous with the termmobile terminated
, andfrom_sim
is synonymous with the termmobile originated
.Values are
to_sim
orfrom_sim
. -
PageSize integer
How many resources to return in each list page. The default is 50, and the maximum is 1000.
Minimum value is
1
, maximum value is1000
.
curl \
-X GET https://supersim.twilio.com/v1/IpCommands \
--user "username:password"
{
"ip_commands": [
{
"account_sid": "string",
"date_created": "2023-05-04T09:42:00+00:00",
"date_updated": "2023-05-04T09:42:00+00:00",
"device_ip": "string",
"device_port": 42,
"direction": "to_sim",
"payload": "string",
"payload_type": "text",
"sid": "string",
"sim_iccid": "string",
"sim_sid": "string",
"status": "queued",
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}
{
"ip_commands": [
{
"account_sid": "string",
"date_created": "2024-05-04T09:42:00+00:00",
"date_updated": "2024-05-04T09:42:00+00:00",
"device_ip": "string",
"device_port": 42,
"direction": "to_sim",
"payload": "string",
"payload_type": "text",
"sid": "string",
"sim_iccid": "string",
"sim_sid": "string",
"status": "queued",
"url": "https://example.com"
}
],
"meta": {
"first_page_url": "https://example.com",
"key": "string",
"next_page_url": "https://example.com",
"page": 42,
"page_size": 42,
"previous_page_url": "https://example.com",
"url": "https://example.com"
}
}