cURL
patchState
Updates the State object by setting the values of the parameters passed.
PATCH
cURL
Documentation Index
Fetch the complete documentation index at: https://botpress-add-desk-to-botpress-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Bot id
Integration id
Integration alias
Path Parameters
Represents the resource type that the state is related to
Available options:
conversation, user, bot, integration, workflow Id of the State which will be either the botId, the userId or the conversationId
Name of the State which is declared inside the bot definition
Body
application/json
State content
Payload is the content of the state defined by your bot.
Last modified on May 27, 2026