Skip to main content
POST
/
v1.0
/
numbers
/
data-usage
/
update-renewal-info
json
{
  "PhoneNumbers": [
    { "Number": "+18014730876" }
  ],
  "ResetUsage": false,
  "AutoRenew": true,
  "PeriodType": "M",
  "PeriodValue": 1,
  "RenewalDay": 1
}
{
  "Status": "Complete",
  "StatusMessage": "",
  "PhoneNumbers": [
    {
      "Number": "+18014730876",
      "Status": "Success",
      "StatusMessage": ""
    }
  ]
}

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.

Authorizations

Authorization
string
header
required

Enter the token obtained from the Authentication endpoint

Body

application/json
PhoneNumbers
object[]
required

Array of phone numbers to update renewal settings for

AutoRenew
boolean
required

Whether data usage automatically resets on the configured RenewalDay each period

Example:

true

PeriodType
enum<string>
required

Renewal period type. M for monthly, W for weekly

Available options:
M,
W
Example:

"M"

RenewalDay
integer
required

Day on which usage resets. 1-31 for monthly periods, 1-7 for weekly periods

Example:

1

ResetUsage
boolean

Set to true to zero out current usage immediately without waiting for the next renewal cycle

Example:

false

PeriodValue
integer

Number of periods between renewals. Typically 1

Example:

1

Response

200 - application/json

Renewal settings updated successfully

The response is of type object.