> For the complete documentation index, see [llms.txt](https://docs.cartat.net/cartat-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cartat.net/cartat-api/whatsapp-qr-api/instance/initialize-instance.md). Agents can also search and read this documentation through its [MCP server](https://docs.cartat.net/cartat-api/~gitbook/mcp).

# Initialize Instance

To initialize instance

**you can use this endpoint to run your instance after destroying it.**

## To initialize instance

<mark style="color:green;">`POST`</mark> `https://api.cartat.net/instance/init`

#### Headers

| Name                                            | Type             | Description                                                                                              |
| ----------------------------------------------- | ---------------- | -------------------------------------------------------------------------------------------------------- |
| Accept<mark style="color:red;">\*</mark>        | application/json |                                                                                                          |
| Content-Type<mark style="color:red;">\*</mark>  | application/json |                                                                                                          |
| Authorization<mark style="color:red;">\*</mark> | Bearer {{token}} | you can find your access token [here](https://docs.cartat.net/cartat-api/whatsapp-qr-api/get-started.md) |

{% tabs %}
{% tab title="200: OK " %}

```json
{
    "code": 202,
    "status": "instance initialized successfully"
}
```

{% endtab %}
{% endtabs %}
