PUT /bot_storage
!!! warn ""
**Note:** This endpoint is only available to [bot user](/help/bots-overview)
accounts.
Add or update data stored for a bot user.
Each bot has a limited storage set by the server, which normally is a default of 10,000,000 characters.
Changes: Prior to Zulip 12.0 (feature level 494), users who were not bots could access this endpoint.
Servers
- https://{subdomain}.zulipchat.com/api/v1
- {server}/api/v1
- https://chat.zulip.org/api/v1
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/x-www-form-urlencoded" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
storage |
Object | Yes |
A JSON-encoded dictionary mapping string keys to string values that will be added to the bot's storage. If the bot's storage already has a specific key, then the value stored for that key will be updated for the new value. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.