> ## Documentation Index
> Fetch the complete documentation index at: https://developer.z-api.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Subscribing an instance

> Subscribes a partner integrator instance

## Overview

Method used to subscribe an instance.

<Warning>
  To use Partner endpoints, provide the Partner Token in the **Authorization** field using the following format: `Bearer <Partner-Token>`

  It is not necessary to send the **Client-Token** in these requests.
</Warning>

***

## Attributes

### Optional

<ParamField body="withCalls" type="boolean">
  Defines whether the instance will be created with call support
</ParamField>

<Info>
  The **withCalls** attribute is optional. If not sent, the request will continue to work normally with the default behavior. This feature is only available for accounts with call functionality enabled.
</Info>

***

## Request Body

```json theme={"theme":{"light":"github-light","dark":"poimandres"}}
{
  "withCalls": true
}
```

***

## Response

### 201

### 405

Make sure you are correctly sending the method specification, that is, verify that you sent POST or GET as specified at the beginning of this topic.

### 415

If you receive a 415 error, make sure to add the "Content-Type" header to your request, which in most cases is "application/json".
