Operations related to subscriptions.
- Production serverhttps://api.tellisim.com/v3/subscription
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.tellisim.com/v3/subscription?key=YOUR_API_KEY_HERE'Successful response containing subscription details
Contains an array of subscription objects
The unique identifier for the subscription
The timestamp when the subscription was created
Additional metadata related to the subscription
The unique identifier for the eSIM
The Integrated Circuit Card Identifier for the eSIM
The LPA string associated with the eSIM if it is an eSIM else null.
{ "error": false, "data": [ { … } ] }
Request
This endpoint allows users to create a new subscription for a SIM. By sending a POST request to the specified URL, users can initiate the subscription process with the necessary parameters. The optional active_period field controls when the subscription becomes active and (optionally) when it expires.
ICCID of the SIM (eSIM or Physical SIM). If not provided, the API will automatically select a free eSIM for the specified plan label. If no free eSIM is available for that label, a 404 error will be returned.
Optional activation window for the subscription.
Non‑recurring plans
active_periodis optional.- When
active_periodis provided, bothstartandendare required. - The
startandendvalues are used as the start and end date and time for the active period of the package and override any validity period configured in the package template. - When
active_periodis not provided, the package uses the default behavior: activation at first use.
Recurring plans
active_periodis optional.- When
active_periodis provided,startis required andendis optional. - If
active_periodis not provided, the recurring subscription also uses the default behavior: activation at first use.
When a Start date is provided for a recurring plan:
- Start date in the past (maximum 24 hours): the first subscriber package is created immediately.
- Start date in the future but within the next 12 hours: the first subscriber package is also created immediately.
- Start date more than 12 hours in the future: no subscriber package is created immediately; the first subscriber package will be created by the system 12 hours before its activation time.
- Production serverhttps://api.tellisim.com/v3/subscription
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.tellisim.com/v3/subscription?key=YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"iccid": "8948010000031324502",
"metadata": "usa recurring plan",
"plan_id": "0a3ee1d6-fe5e-4561-91a0-d4649aaf0754",
"active_period": {
"start": "2025-12-10T15:03:28.533603",
"end": "2025-12-20T15:03:28.533603"
}
}'Subscription created successfully
The unique identifier for the created subscription
Timestamp indicating when the subscription was created
Present only when active_period was provided in the request. The value reflects the actual activation time reported by the underlying system when available. If the underlying system does not return an activation timestamp, the API falls back to active_period.start. This field is omitted entirely if active_period was not sent.
Present only when active_period was provided in the request. The value reflects the actual expiration time reported by the underlying system when available. If the underlying system does not return an expiration timestamp, the API falls back to active_period.end when provided; otherwise it remains null. This field is omitted entirely if active_period was not sent.
An object containing details about the eSIM or Physical SIM
The unique identifier for the eSIM
The Integrated Circuit Card Identifier for the eSIM
{ "subscription_id": "a3b60fe5-a6ae-4b33-b5b0-9fae1832aa64", "created_at": "2025-08-08T11:05:57.703Z", "activation_at": "2025-12-10T15:03:28.533603Z", "expiration_at": "2025-12-20T15:03:28.533603Z", "metadata": "usa recurring plan", "esimdata": { "esim_id": "65a89dca-349e-4278-95fb-a8fe2e9b281f", "iccid": "8937103400004164763", "label": "blue", "lpa_string": "LPA:1$rsp-eu.redteamobile.com$0F222CA0C9B2F3A99457DADC94A4958C" } }
- Production serverhttps://api.tellisim.com/v3/subscriptions/{iccid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.tellisim.com/v3/subscriptions/{iccid}?key=YOUR_API_KEY_HERE'Successful response containing subscription details
Contains the details of the subscription
The unique identifier for the subscription
The timestamp when the subscription was created
Additional metadata related to the subscription
Contains details about the SIM
The unique identifier for the SIM(eSIM or Physical SIM)
The ICCID of the SIM(eSIM or Physical SIM)
The LPA string associated with the eSIM else null for physical SIM
{ "error": false, "data": { "subscription_id": "38838e12-4394-4e04-bb11-9250e835668e", "created_at": "2025-08-17T15:16:00.890Z", "metadata": "Subscription for USA", "esim": { … } } }
Request
Deletes the subscription and recycles the ICCID associated with it. The associated ICCID goes back into the customer inventory and will be picked up again automatically in the creation of a new subscription at some point in time in future.
Note: this operation will fail if the esim profile associated with the ICCID was ever downloaded by an end-user.
- Production serverhttps://api.tellisim.com/v3/subscriptions/{iccid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://api.tellisim.com/v3/subscriptions/{iccid}?key=YOUR_API_KEY_HERE'{ "error": false, "message": "Subscription deleted successfully" }
- Production serverhttps://api.tellisim.com/v3/subscriptions/{iccid}/plan-attachments
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.tellisim.com/v3/subscriptions/{iccid}/plan-attachments?key=YOUR_API_KEY_HERE'Successful response containing plan attachments
An array containing details of the plan attachments
The unique identifier for the plan attachment
The timestamp when the plan attachment was created
The timestamp when the plan attachment was activated (may be null)
The timestamp when the plan attachment will expire (may be null)
An object containing usage details
The current state of the plan attachment
The plan details associated with this attachment
The unique identifier for the plan
The unique identifier for the coverage area
Indicates whether throttling is enabled for this plan
{ "error": false, "data": [ { … } ] }
- Production serverhttps://api.tellisim.com/v3/subscriptions/{iccid}/plan-attachments/{plan_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://api.tellisim.com/v3/subscriptions/{iccid}/plan-attachments/{plan_id}?key=YOUR_API_KEY_HERE'{ "error": true, "data": { "plan_attachment_id": "ba3b527f-4a01-42e2-892a-fff6d217217e", "created_at": "2025-08-30T08:00:18.681Z", "activation_at": "2025-08-30T08:00:18.681Z", "expiration_at": "2025-08-30T08:00:18.681Z", "used_allowance": { … }, "state": "CREATED", "plan": { … } } }
- Production serverhttps://api.tellisim.com/v3/subscriptions/{iccid}/plan-attachments/{id}/suspend
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.tellisim.com/v3/subscriptions/{iccid}/plan-attachments/{id}/suspend?key=YOUR_API_KEY_HERE'{ "error": false, "message": "Plan attachment suspended successfully" }
- Production serverhttps://api.tellisim.com/v3/subscriptions/{iccid}/send-sms
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://api.tellisim.com/v3/subscriptions/{iccid}/send-sms?key=YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"from": "tellisim",
"message": "test message"
}'{ "error": false, "message": "SMS sent successfully" }
