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

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

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.