# Plan Information

To facilitate the management of your plan, you can directly consult detailed information about its status and available credits via the API. This endpoint provides essential data on the current plan, giving you more autonomy to track its status and manage usage effectively.\
\
\
Endpoint:<mark style="color:blue;">`GET`</mark> `https://api.zapsign.com.br/api/v1/info-plan`

#### Headers

<table><thead><tr><th width="211">Name</th><th width="135">Type</th><th>Description</th></tr></thead><tbody><tr><td>Authorization<mark style="color:red;">*</mark></td><td>string</td><td>API token prefixed with the word "Bearer". Ex: Bearer c7f35c84-7893-4087-b4fb-d1f06c23</td></tr></tbody></table>

![Plan information](https://github.com/AmandaAmani/documenta-ocurso/blob/main/info%20plan.gif?raw=true)

This endpoint returns information about the plan, including:

* **Plan name** (`name`)
* **Number of credits** in the account (`number_of_credits`)
* **Plan status** (`status`): can be `paid`, `pending_payment`, `unpaid`, or `canceled`
* **Period** (`period`): monthly (`monthly`) or annual (`annual`)
* **End date** of the current period (`current_period_end`)<br>

**Example Response**

{% tabs %}
{% tab title="200-plan found" %}

```
{
    "name": "Test Plan",
    "number_of_credits": "100",
    "status": "paid",
    "period": "annual",
    "current_period_end": "dd-mm-yyyy"
}
```

{% endtab %}

{% tab title="404-Not found" %}
Unable to find information about this plan
{% endtab %}
{% endtabs %}


---

# 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://docs.zapsign.com.br/english/account/plan-information.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.
