This endpoint retrieves the plan attachments associated with a specific subscription identified by its ICCID.
The response structure varies based on whether the plan attachments are recurring or non-recurring:
- For non-recurring plans: Returns basic plan attachment details with activation_at, expiration_at, used_allowance, and state
- For recurring plans: Returns plan attachment with recurrence metadata and an array of instances, where activation_at, expiration_at, used_allowance, and state may be null at the attachment level
The response may contain a mix of both recurring and non-recurring plan attachments in the same array.
Security
ApiKeyAuth
GET
curl -i -X GET \
'https://api.tellisim.com/v3/subscriptions/{iccid}/plan-attachments?key=YOUR_API_KEY_HERE'Successful response containing plan attachments (may include both recurring and non-recurring plans)
Response
- PlanAttachmentListResponse
- RecurringPlanAttachmentListResponse
- Non-recurring plan attachment
- Recurring plan attachment with instances
- Mixed response with both recurring and non-recurring plans
{ "error": false, "data": [ { … } ] }