Skip to main content
POST

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

id
string
required

The id of the task to submit the form for.

Body

application/json
variables
object | null

A JSON object containing variable key-value pairs.

withVariablesInReturn
boolean | null
default:false

Indicates whether the response should contain the process variables or not. The default is false with a response code of 204. If set to true the response contains the process variables and has a response code of 200. If the task is not associated with a process instance (e.g. if it's part of a case instance) no variables will be returned.

Response

Request successful. The response contains the process variables.

{key}
object