Create Threshold
Create a new usage threshold that can be assigned to subscriptions. A threshold specifies a resource type, a trigger amount, and the action to take when that amount is reached — such as sending an alert or pausing service.
What this does: Returns the new ThresholdId and full threshold record. After creating a threshold, assign it to one or more subscriptions using POST /v1.0/subscriptions/thresholds/assignments/add.
Next steps:
- Assign the threshold to a subscription —
POST /v1.0/subscriptions/thresholds/assignments/add - View threshold details —
GET /v1.0/subscriptions/thresholds
Documentation Index
Fetch the complete documentation index at: https://docs.telegent.com/llms.txt
Use this file to discover all available pages before exploring further.
Body
Threshold object
Your Telegent account identifier (AID-). Scopes the threshold to this account.
"AID-1234567"
Human-readable name for this threshold.
"80% Data Alert"
Resource the threshold applies to. Supported values: Data, SMS, Voice.
"Data"
Numeric limit at which the threshold triggers (e.g. 80 for 80 MB).
80
Unit of measurement for ThresholdAmount. Supported values: MB, GB, Count.
"MB"
Action taken when the threshold is reached. Supported values: Alert, Pause, Restrict.
"Alert"
Response
Success — returns the new threshold ID and record
The response is of type object.