Operations related to subscriptions.
When true, only archived plans are returned. When false, only non archived plans are returned. When absent all are returned.
A cursor for pagination across multiple pages of results. Don’t include this parameter on the first call.
Filter plans by label. Allowed values are Green, Aqua, Blue, Voilet, Red, Grey, Orange
- Production serverhttps://api.tellisim.com/v3/plans
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.tellisim.com/v3/plans?archived=true&page_size=10&page=string&label=Green&search_query=string&country_iso_2=string&key=YOUR_API_KEY_HERE'Successful response containing a list of plans. The optional fields are returned for labels on which throttling or recurring is enabled.
An array of plan objects returned by the request
Unique identifier for the plan
Identifier for the coverage area of the plan
Timestamp of when the plan was archived (if applicable)
Timestamp of when the plan was created
Amount of data in megabytes included in the plan
The percentage threshold for first throttling
The limit associated with the first throttling threshold
The percentage threshold for second throttling
The limit associated with the second throttling threshold
The percentage threshold for third throttling
The limit associated with the third throttling threshold
The type of periodicity for the recurring plan. Possible values are 0=Daily, 1=Weekly, 2=Monthly.
{ "error": false, "data": [ { … } ], "next_page": null }
Name of the plan which can be any thing you like.
The number of occurrences for the plan. Required if recurring is true.
Recurring periodicity type. Possible values are 0=Daily, 1=Weekly, 2=Monthly. Required if recurring is true.
Along with recurring_periodicity_type will determine the frequency at which the subscriber will receive its packages. For example recurring_periodicity_frequency=0 and recurring_periodicity_frequency=2, the subscriber is going to receive a package every 2 days. Required if recurring is true.
First threshold for throttling, in percentage of the total volume of the package. Required if throttling is true.
Limit to apply when the subscriber is crossing the first threshold. It's units is Kbit/sec. Required if throttling is true.
Second threshold for throttling, in percentage of the total volume of the package. Required if throttling is true.
Limit to apply when the subscriber is crossing the second threshold. It's units is Kbit/sec. Required if throttling_threshold2_perc is present in request.
Third threshold for throttling, in percentage of the total volume of the package. Required if throttling is true.
- Production serverhttps://api.tellisim.com/v3/plans
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.tellisim.com/v3/plans?key=YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"coverage_id": "819b05c4-f154-4df9-8fd1-16be3e82f5c6",
"data_MBs": 1024,
"name": "test1 recurring and throttling package",
"period_days": 1,
"recurring": true,
"throttling": true,
"nb_occurrence": 2,
"recurring_periodicity_type": "0",
"recurring_periodicity_frequency": 2,
"throttling_threshold1_perc": 50,
"throttling_threshold1_limit": "1024",
"throttling_threshold2_perc": 90,
"throttling_threshold2_limit": "1024",
"throttling_threshold3_perc": 100,
"throttling_threshold3_limit": "1024"
}'{ "error": false, "message": "plan created successfully", "plan_id": "39c3ae26-22a5-49cb-93ca-2fe65b3a5c69" }
- Production serverhttps://api.tellisim.com/v3/plans/{planId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.tellisim.com/v3/plans/{planId}?key=YOUR_API_KEY_HERE'Successful response containing plan details
Contains the details of the requested plan
The unique identifier of the plan
The ID associated with the plan's coverage
Timestamp indicating when the plan was archived, if applicable
The amount of data in megabytes included in the plan
The percentage threshold for first throttling
The limit associated with the first throttling threshold
The percentage threshold for second throttling
The limit associated with the second throttling threshold
The percentage threshold for third throttling
The limit associated with the third throttling threshold
The type of periodicity for the recurring plan. Possible values are 0=Daily, 1=Weekly, 2=Monthly.
{ "error": false, "data": { "plan_name": "USA Plan", "plan_id": "0a3ee1d6-fe5e-4561-91a0-d4649aaf0754", "coverage_id": "819b05c4-f154-4df9-8fd1-16be3e82f5c6", "archived_at": "2025-01-01T00:00:00Z", "region_code": "US", "label": "blue", "throttling": true, "recurring": true, "archive": true, "data_mega_bytes": 1024, "period_days": 1, "throttling_threshold1_perc": 10, "throttling_threshold1_limit": "3072", "throttling_threshold2_perc": 10, "throttling_threshold2_limit": "3072", "throttling_threshold3_perc": 10, "throttling_threshold3_limit": "3072", "nb_occurrence": 2, "recurring_periodicity_type": "2", "recurring_periodicity_frequency": 0 } }
- Production serverhttps://api.tellisim.com/v3/plans/{planId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.tellisim.com/v3/plans/{planId}?key=YOUR_API_KEY_HERE'{ "error": false, "message": "Plan deleted successfully" }
- Production serverhttps://api.tellisim.com/v3/plans/{planId}/archive
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.tellisim.com/v3/plans/{planId}/archive?key=YOUR_API_KEY_HERE'{ "error": false, "message": "Plan archived successfully" }
- Production serverhttps://api.tellisim.com/v3/plans/{planId}/unarchive
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.tellisim.com/v3/plans/{planId}/unarchive?key=YOUR_API_KEY_HERE'{ "error": false, "message": "Plan unarchived successfully" }
