Update a Toolzz Bot
Endpoint used to update a created Toolzz Bot.
Request Example
Section titled “Request Example”curl --request PATCH \ --url 'https://bots.toolzz.ai/api/v1/toolzz/{typebotId}' \ --header 'Authorization: Bearer <token>'Response Example
Section titled “Response Example”{ "typebots": [ { "id": "<string>", "name": "<string>", "events": [], "groups": [], "variables": [] } ]}Request description
Section titled “Request description”Access Token
Section titled “Access Token”| Parameter | Type | Description | Required |
|---|---|---|---|
Authorization | String | Access token (must contain “Bearer” before the token) | Yes |
URL Parameters (Path)
Section titled “URL Parameters (Path)”| Parameter | Type | Description | Required |
|---|---|---|---|
typebotId | string | The unique identifier of the bot to update. | Yes |
Response description
Section titled “Response description”| Key | Type | Description |
|---|---|---|
typebots | object[] | Toolzz Bot updated information. |
typebots[].id | string | The unique identifier of the bot. |
typebots[].name | string | The name of the bot. |
typebots[].events | object[] | The events that occurred on the bot flow. |
typebots[].groups | object[] | The groups of the bot. |
typebots[].variables | object[] | The variables of the bot. |
Security
Section titled “Security”To access this endpoint, it is necessary to send a valid access token through the authorization header (Authorization) of the request.