patchState
Updates the State object by setting the values of the parameters passed.
PATCH
Path Parameters
State type
Available options:
conversation
, user
, bot
, integration
, task
, workflow
State id
State name
Body
application/json
State content
Payload is the content of the state defined by your bot.
Response
200
application/json
Returns the updated [State](#schema_state) object if a valid identifier was provided. Returns an [an error](#errors) otherwise
The state object represents the current payload. A state is always linked to either a bot, a conversation or a user.
Was this page helpful?