getOrSetState
Retrieves the State object for a valid identifiers. If the state does not exist, it creates a new state.
POST
Path Parameters
State type
Available options:
conversation
, user
, bot
, integration
, task
, workflow
State id
State name
Body
application/json
State content
The body is of type object
.
Response
200
application/json
Returns the [State](#schema_state) object if a valid identifiers were provided. Returns [an error](#errors) otherwise.
The response is of type object
.