Get a form
GET/v1/forms/:formId
Get the form details by formId
and processDefinitionKey
required query param. The version
query param is optional and is used only for deployed forms (if empty, it retrieves the highest version).
Request
Path Parameters
The ID of the form.
Query Parameters
Reference to the process definition.
The version of the form. Valid only for deployed forms.
Responses
- 200
- 404
On success returned.
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier of the embedded form within one process.
Reference to process definition (renamed equivalent of Form.processDefinitionId
field).
The title of the form.
The form content.
The version field is null in the case of an embedded form, while it represents the deployed form's version in other scenarios.
The tenant ID associated with the form.
Indicates whether the deployed form is deleted or not on Zeebe. This field is false by default, in the case of an embedded form.
{
"id": "string",
"processDefinitionKey": "string",
"title": "string",
"schema": "string",
"version": 0,
"tenantId": "string",
"isDeleted": true
}
An error is returned when the form with the formId
and processDefinitionKey
is not found.
- application/problem+json
- Schema
- Example (from schema)
Schema
An integer that represents the HTTP status code of the error response. For example, 400 indicates a 'Bad Request' error, 404 indicates a 'Not Found' error, and so on.
A string that provides a brief description of the error that occurred.
Error instance UUID for lookup (e.g., in log messages).
{
"status": 0,
"message": "string",
"instance": "string"
}