Renew cloud numbers.
Note: Supported renewal durations may vary between cloud numbers. To ensure a successful renewal, please query the Cloud Number Renewal Package Details endpoint before renewing to obtain the supported renewal durations for the selected cloud numbers.
POST/api/v1/cloudNumber/renewal| Parameter | Type | Required | Description |
|---|---|---|---|
| list | array | Yes | Renewal details. |
| Parameter | Type | Required | Description |
|---|---|---|---|
| number_ids | array | Yes | Cloud number IDs. These can be obtained from the Cloud Number List endpoint. |
| duration | integer | Yes | Renewal duration. Since supported renewal durations vary by cloud number, please query the Cloud Number Renewal Package Details endpoint to obtain the supported renewal durations before renewing. |
{
"list": [
{
"number_ids": [
"xxxx",
"xxxx"
],
"duration": 30
},
{
"number_ids": [
"xxxx"
],
"duration": 29
}
]
}
{
"code": 200,
"data": {
"order_id": "xxxx" // Order No
},
"message": "Success"
}