openapi: 3.0.0
info:
title: Programmable Wireless APIs
description: The KORE Programmable Wireless REST API
termsOfService: https://pardot.korewireless.com/koremsa
contact:
name: KORE Support
url: https://korewireless.service-now.com/csm
email: support@korewireless.com
license:
name: Apache 2.0
url: https://www.apache.org/licenses/LICENSE-2.0.html
version: 1.0.0
servers:
- url: https://programmable-wireless.api.korewireless.com
paths:
/v1/UsageRecords:
get:
summary: List Data Usage records for an account
tags:
- UsageRecords Resource
operationId: listDataUsage
parameters:
- name: Start
in: query
required: false
description: Only include usage that has occurred on or after this date. Format is ISO 8601
schema:
type: string
x-jvm-type: java.time.Instant
- name: End
in: query
required: false
description: Only include usage that has occurred on or before this date. Format is ISO 8601.
schema:
type: string
x-jvm-type: java.time.Instant
- name: Granularity
in: query
required: false
description: How to summarize the usage by time. Can be - daily, hourly, or all. A value of all returns one Usage Record that describes the usage for the entire period.
schema:
$ref: '#/components/schemas/Granularity'
- name: PageSize
in: query
required: false
schema:
type: integer
format: int32
description: How many resources to return in each list page. The default is 50, and the maximum is 1000. Minimum= 1 Maximum=1000
- name: Page
in: query
required: false
schema:
type: integer
description: The page index. This value is simply for client state.
- name: PageToken
description: The page token. This is provided by the API.
in: query
required: false
schema:
type: string
responses:
'200':
description: Data Usage List
content:
application/json:
schema:
$ref: '#/components/schemas/UsageList'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'401':
description: Credentials were not provided and are required to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'403':
description: Credentials were not provided and are required to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'409':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'415':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'422':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'503':
description: Server is temporary not available
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
x-code-samples:
- lang: cURL
label: cURL
source: 'curl --location --globoff ''https://programmable-wireless.api.korewireless.com/v1/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&Page=<string>&PageToken=<string>'' \
--header ''Authorization: Bearer <YOUR_AUTH_TOKEN>'''
- lang: js
label: NodeJs
source: "var request = require('request');\nvar options = {\n 'method': 'GET',\n 'url': 'https://programmable-wireless.api.korewireless.com/v1/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&Page=<string>&PageToken=<string>',\n 'headers': {\n 'Authorization': 'Bearer <YOUR_AUTH_TOKEN>',\n 'Accept': 'application/json'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new Error(error);\n console.log(response.body);\n});\n"
- lang: java
label: Java
source: "OkHttpClient client = new OkHttpClient().newBuilder()\n .build();\nMediaType mediaType = MediaType.parse(\"text/plain\");\nRequestBody body = RequestBody.create(mediaType, \"\");\nRequest request = new Request.Builder()\n .url(\"https://programmable-wireless.api.korewireless.com/v1/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&Page=<string>&PageToken=<string>\")\n .method(\"GET\", body)\n .addHeader(\"Authorization\", \"Bearer <YOUR_BEARER_TOKEN>\")\n .addHeader(\"Accept\", \"application/json\")\n .build();\nResponse response = client.newCall(request).execute();"
- lang: cs
label: C#
source: "var options = new RestClientOptions(\"https://programmable-wireless.api.korewireless.com/v1/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&Page=<string>&PageToken=<string>\") {\n MaxTimeout = -1, \n}; var client = new RestClient(options); var request = new RestRequest(\"\", Method.Get); request.AddHeader(\"Authorization\", \"Bearer <YOUR_BEARER_TOKEN>\"); request.AddHeader(\"Accept\", \"application/json\"); RestResponse response = await client.ExecuteAsync(request); Console.WriteLine(response.Content);"
- lang: PHP
label: Php
source: "<?php\n$curl = curl_init();\ncurl_setopt_array($curl, array(\n CURLOPT_URL => 'https://programmable-wireless.api.korewireless.com/v1/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&Page=<string>&PageToken=<string>',\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_ENCODING => '',\n CURLOPT_MAXREDIRS => 10,\n CURLOPT_TIMEOUT => 0,\n CURLOPT_FOLLOWLOCATION => true,\n CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n CURLOPT_CUSTOMREQUEST => 'GET',\n CURLOPT_HTTPHEADER => array(\n 'Authorization: Bearer <YOUR_AUTH_TOKEN>'\n CURLOPT_HTTPHEADER => array(\n 'Accept: application/json'\n ),\n));\n$response = curl_exec($curl);\ncurl_close($curl);\necho $response;\n"
- lang: py
label: Python
source: "import requests\nurl = \"https://programmable-wireless.api.korewireless.com/v1/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&Page=<string>&PageToken=<string>\"\npayload = {}\nheaders = {\n 'Authorization': 'Bearer <YOUR_BEARER_TOKEN>',\n 'Accept': 'application/json'\n}\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\nprint(response.text)\n"
/v1/Sims/{Sid}/UsageRecords:
parameters:
- name: Sid
in: path
description: The SID of the Sim resource to read the usage from.
schema:
type: string
required: true
get:
summary: List Data Usage records for a sim
tags:
- UsageRecords Resource
operationId: listDataUsageForSim
parameters:
- name: Start
in: query
required: false
description: Only include usage that has occurred on or after this date. Format is ISO 8601
schema:
type: string
x-jvm-type: java.time.Instant
- name: End
in: query
required: false
description: Only include usage that has occurred on or before this date. Format is ISO 8601.
schema:
type: string
x-jvm-type: java.time.Instant
- name: Granularity
in: query
required: false
description: How to summarize the usage by time. Can be - daily, hourly, or all. A value of all returns one Usage Record that describes the usage for the entire period.
schema:
$ref: '#/components/schemas/Granularity'
- name: PageSize
in: query
required: false
schema:
type: integer
format: int32
description: How many resources to return in each list page. The default is 50, and the maximum is 1000. Minimum= 1 Maximum=1000
- name: Page
in: query
required: false
schema:
type: integer
description: The page index. This value is simply for client state.
- name: PageToken
description: The page token. This is provided by the API.
in: query
required: false
schema:
type: string
responses:
'200':
description: Data Usage List
content:
application/json:
schema:
$ref: '#/components/schemas/SIMUsageList'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'401':
description: Credentials were not provided and are required to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'403':
description: Credentials were not provided and are required to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'415':
description: Credentials were not provided and are required to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'422':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'503':
description: Server is temporary not available
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
x-code-samples:
- lang: cURL
label: cURL
source: 'curl --location --globoff ''https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&PageToken=<string>'' \
--header ''Authorization: Bearer <YOUR_AUTH_TOKEN>'''
- lang: js
label: NodeJs
source: "var request = require('request');\nvar options = {\n 'method': 'GET',\n 'url': 'https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&PageToken=<string>',\n 'headers': {\n 'Authorization': 'Bearer <YOUR_AUTH_TOKEN>',\n 'Accept': 'application/json'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new Error(error);\n console.log(response.body);\n});\n"
- lang: java
label: Java
source: "OkHttpClient client = new OkHttpClient().newBuilder()\n .build();\nMediaType mediaType = MediaType.parse(\"text/plain\");\nRequestBody body = RequestBody.create(mediaType, \"\");\nRequest request = new Request.Builder()\n .url(\"https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&PageToken=<string>\")\n .method(\"GET\", body)\n .addHeader(\"Authorization\", \"Bearer <YOUR_AUTH_TOKEN>\")\n .addHeader(\"Accept\", \"application/json\")\n .build();\nResponse response = client.newCall(request).execute();"
- lang: cs
label: C#
source: "var options = new RestClientOptions(\"https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&PageToken=<string>\")\n{\n MaxTimeout = -1, \n};\nvar client = new RestClient(options);\nvar request = new RestRequest(\"\", Method.Get);\nrequest.AddHeader(\"Authorization\", \"Bearer <YOUR_AUTH_TOKEN>\");\nrequest.AddHeader(\"Accept\", \"application/json\");\nRestResponse response = await client.ExecuteAsync(request);\nConsole.WriteLine(response.Content);"
- lang: PHP
label: Php
source: "<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, array(\n CURLOPT_URL => 'https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&PageToken=<string>',\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_ENCODING => '',\n CURLOPT_MAXREDIRS => 10,\n CURLOPT_TIMEOUT => 0,\n CURLOPT_FOLLOWLOCATION => true,\n CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n CURLOPT_CUSTOMREQUEST => 'GET',\n CURLOPT_HTTPHEADER => array(\n 'Authorization: Bearer <YOUR_AUTH_TOKEN>'\n CURLOPT_HTTPHEADER => array(\n 'Accept: application/json'\n ),\n));\n\n$response = curl_exec($curl);\n\ncurl_close($curl);\necho $response;\n"
- lang: py
label: Python
source: "import requests\n\nurl = \"https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/UsageRecords?Start=<string>&End=<string>&Granularity=<string>&PageSize=<integer>&PageToken=<string>\"\n\npayload = {}\nheaders = {\n 'Authorization': 'Bearer <YOUR_AUTH_TOKEN>',\n 'Accept': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
/v1/Sims/{Sid}/DataSessions:
parameters:
- name: Sid
in: path
description: The SID of the Sim resource to read the usage from.
schema:
type: string
required: true
get:
summary: List Data Usage records for a sim
tags:
- DataSessions Resource
operationId: getDataSession
parameters:
- name: PageSize
in: query
required: false
schema:
type: integer
description: How many resources to return in each list page. The default is 50, and the maximum is 1000. Minimum= 1 Maximum=1000
- name: Page
in: query
required: false
schema:
type: integer
description: The page index. This value is simply for client state.
- name: PageToken
description: The page token. This is provided by the API.
in: query
required: false
schema:
type: string
responses:
'200':
description: Data Usage List
content:
application/json:
schema:
type: object
properties:
data_sessions:
type: array
items:
$ref: '#/components/schemas/DataSession'
meta:
properties:
first_page_url:
format: uri
type: string
key:
type: string
next_page_url:
format: uri
nullable: true
type: string
page:
type: integer
page_size:
type: integer
previous_page_url:
format: uri
nullable: true
type: string
url:
format: uri
type: string
type: object
title: ListDataSessionResponse
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'401':
description: Credentials were not provided and are required to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'403':
description: Credentials were not provided and are required to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'404':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'415':
description: Credentials were not provided and are required to access this resource
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'422':
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
'503':
description: Server is temporary not available
content:
application/json:
schema:
$ref: '#/components/schemas/UsageApiErrorResponse'
headers:
Access-Control-Allow-Origin:
schema:
type: string
Access-Control-Allow-Methods:
schema:
type: string
Access-Control-Allow-Credentials:
schema:
type: string
Access-Control-Allow-Headers:
schema:
type: string
x-code-samples:
- lang: cURL
label: cURL
source: 'curl --location --globoff ''https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/DataSessions?PageSize=<integer>&Page=<integer>&PageToken=<string>'' \
--header ''Authorization: Bearer <YOUR_AUTH_TOKEN>'''
- lang: js
label: NodeJs
source: "var request = require('request');\nvar options = {\n 'method': 'GET',\n 'url': 'https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/DataSessions?PageSize=<integer>&Page=<integer>&PageToken=<string>',\n 'headers': {\n 'Authorization': 'Bearer <YOUR_AUTH_TOKEN>',\n 'Accept': 'application/json'\n }\n};\nrequest(options, function (error, response) {\n if (error) throw new Error(error);\n console.log(response.body);\n});\n"
- lang: java
label: Java
source: "OkHttpClient client = new OkHttpClient().newBuilder()\n .build();\nMediaType mediaType = MediaType.parse(\"text/plain\");\nRequestBody body = RequestBody.create(mediaType, \"\");\nRequest request = new Request.Builder()\n .url(\"https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/DataSessions?PageSize=<integer>&Page=<integer>&PageToken=<string>\")\n .method(\"GET\", body)\n .addHeader(\"Authorization\", \"Bearer <YOUR_AUTH_TOKEN>\") \n .addHeader(\"Accept\", \"application/json\")\n .build();\nResponse response = client.newCall(request).execute();"
- lang: cs
label: C#
source: "var options = new RestClientOptions(\"https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/DataSessions?PageSize=<integer>&Page=<integer>&PageToken=<string>\")\n{\n MaxTimeout = -1,\n};\nvar client = new RestClient(options);\nvar request = new RestRequest(\"\", Method.Get);\nrequest.addHeader(\"Authorization\", \"Bearer <YOUR_AUTH_TOKEN>\");\nrequest.AddHeader(\"Accept\", \"application/json\");\nRestResponse response = await client.ExecuteAsync(request);\nConsole.WriteLine(response.Content);"
- lang: PHP
label: Php
source: "<?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, array(\n CURLOPT_URL => 'https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/DataSessions?PageSize=<integer>&Page=<integer>&PageToken=<string>',\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_ENCODING => '',\n CURLOPT_MAXREDIRS => 10,\n CURLOPT_TIMEOUT => 0,\n CURLOPT_FOLLOWLOCATION => true,\n CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,\n CURLOPT_CUSTOMREQUEST => 'GET',\n CURLOPT_HTTPHEADER => array(\n 'Authorization: Bearer <YOUR_AUTH_TOKEN>'\n CURLOPT_HTTPHEADER => array(\n \n \n 'Accept: application/json'\n ),\n));\n\n$response = curl_exec($curl);\n\ncurl_close($curl);\necho $response;\n"
- lang: py
label: Python
source: "import requests\n\nurl = \"https://programmable-wireless.api.korewireless.com/v1/Sims/<string>/DataSessions?PageSize=<integer>&Page=<integer>&PageToken=<string>\"\n\npayload = {}\nheaders = {\n 'Authorization': 'Bearer <YOUR_AUTH_TOKEN>', \n 'Accept': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=h
# --- truncated at 32 KB (190 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kore-wireless/refs/heads/main/openapi/kore-wireless-programmable-wireless.yml