# Channel extension

For a channel to remain active and functional, timely extension is key. Initially, upon creation, every channel enters a Trial mode, which lasts for 5 days. Post-Trial, the channel ceases to operate unless extended.

{% hint style="success" %}
If you subscribe to channels on your own, there is no need to extend channels as this will be done automatically.
{% endhint %}

To facilitate this, a specific method exists that allows days to be transferred from an account's balance to the channel. For instance, adding 30 days extends the channel's active period by a month, ensuring uninterrupted service up to the extended date.

{% hint style="info" %}
Some of our partners opt to charge daily for the service, automating channel extensions day by day to match their billing cycle.
{% endhint %}

{% embed url="<https://whapi-partner.readme.io/reference/extendchannel>" %}
The channel will run until the date you extend the channel to
{% endembed %}

```
curl --request POST \
     --url https://manager.whapi.cloud/channels/MANTIS-PF298/extend \
     --header 'accept: application/json' \
     --header 'authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6ImExZDI2YWYyYmY4MjVmYjI5MzVjNWI3OTY3ZDA3YmYwZTMxZWIxYjcifQ.eyJwYXJ0bmVyIjp0cnVlLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2hhcGktYTcyMWYiLCJhdWQiOiJ3aGFwaS1hNzIxZiIsImF1dGhfdGltZSI6MTcxMjU4MDY1MywidXNlcl9pZCI6IkRkRUlrYThlMkJlc09PUThkNDkxVnM2MmtRcDIiLCJzdWIiOiJEZEVJa2E4ZTJCZXNPT1E4ZDQ5MVZzNjJrUXAyIiwiaWF0IjoxNzEyNTgwNjUzLCJleHAiOjE3NzMwNjA2NTMsImVtYWlsIjoiaGVsbG9Ad2hhcGkuY2xvdWQiLCJlbWFpbF92ZXJpZmllZCI6ZmFsc2UsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsiaGVsbG9Ad2hhcGkuY2xvdWQiXX0sInNpZ25faW5fcHJvdmlkZXIiOiJwYXNzd29yZCJ9fQ.X4H7kLaJ4YOstu5OKM2eN4d7X9yqPgWQt8h0-Ay8S61v6E9gL5G2jgDCfUqUtSXjtT6BVC8O7zV-2qyxDkC82nHJBCUIJZM0y0jyk3JZYxNCm8Nn5Ba_BJqQPvAF8Y9bilDALdyYJmc36cZ6bOvh_Aguzj1e1pK83w7N0lu8NW9VF_6BaXWlliewZAcGuZO6NVBuco1Q6KvEPBw-9E730MAiHkcfR7TNVFtK7BvysgSZbnYN28KatR1UCil0ZAlshkc3fWjzrTPTF8B4TOh2tobf8dCa6RC5xzzbH_Xy9tib0iJJoa8PkKZn38sYavFBCvKOIC04uvPXsycySfoDEg' \
     --header 'content-type: application/json' \
     --data '
{
  "days": 30,
  "comment": "[Whapi Billing] Auto Top-Up"
}
'
```

The `comment` parameter is required, but it is done for convenience, you can type anything here. This information is displayed on the [Billing History page](https://panel.whapi.cloud/billing/history).

Read more about balance: [/pages/GWNcdUXsIiAR0HTE1AcF#id-2.-account-balance-replenishment](https://support.whapi.cloud/help-desk/partner-documentation/partner-documentation/pages/GWNcdUXsIiAR0HTE1AcF#id-2.-account-balance-replenishment "mention")


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.whapi.cloud/help-desk/partner-documentation/partner-documentation/channel-extension.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
