cURL
getOrSetState
Retrieves the State object for a valid identifiers. If the state does not exist, it creates a new state.
POST
cURL
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
Last modified on June 1, 2026