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.
Overview
Method used to update an instance subscription to enable call support.
The withCalls attribute is required and only accepts the value true. It is not possible to downgrade the subscription (remove calls). To do so, cancel the current subscription and contract a new one.
This feature is only available for accounts with call functionality enabled.
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.
Attributes
Required
Must be sent as true to enable calls
Request Body
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”.