form-builder-submissions
7 Endpunkte. Basis-URL: https://xapi.ambertech.cloud/api/v1
List submissions for a form (paginated)#
/spaces/{spaceId}/forms/{formId}/submissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
formIdPflicht | Pfad | string | – |
page | Query | number | – |
limit | Query | number | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/forms/{formId}/submissions" \
-H "Authorization: Bearer $XISUITE_TOKEN"Submit a response to a form#
/spaces/{spaceId}/forms/{formId}/submissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
formIdPflicht | Pfad | string | – |
user-agentPflicht | Header | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
dataPflicht | object | Answer map keyed by field_key (e.g. { field_123: "Ada" }). |
is_test | boolean | Marks a preview submission from the builder — bypasses the published-status gate and is excluded from response counts. |
task_id | string | Links the response to an existing task (inline form on a task detail). Suppresses the form -> task creator; the task must be in the same space and organization. |
surface | string | Where the form was filled. Absent = the form's own page. A surface whose ticket switch is off creates no ticket. Werte: |
Antworten
- 201Erstellt
curl -X POST "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/forms/{formId}/submissions" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"data":{}}'Delete a single submission#
/spaces/{spaceId}/forms/{formId}/submissions/{submissionId}TokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
formIdPflicht | Pfad | string | – |
submissionIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/forms/{formId}/submissions/{submissionId}" \
-H "Authorization: Bearer $XISUITE_TOKEN"Get the current user's saved draft for a form#
/spaces/{spaceId}/forms/{formId}/submissions/draftTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
formIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/forms/{formId}/submissions/draft" \
-H "Authorization: Bearer $XISUITE_TOKEN"Save or update the current user's draft for a form#
/spaces/{spaceId}/forms/{formId}/submissions/draftTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
formIdPflicht | Pfad | string | – |
Request-Body
| Name | Typ | Beschreibung |
|---|---|---|
dataPflicht | object | Answer map keyed by field_key (e.g. { field_123: "Ada" }). |
is_test | boolean | Marks a preview submission from the builder — bypasses the published-status gate and is excluded from response counts. |
task_id | string | Links the response to an existing task (inline form on a task detail). Suppresses the form -> task creator; the task must be in the same space and organization. |
surface | string | Where the form was filled. Absent = the form's own page. A surface whose ticket switch is off creates no ticket. Werte: |
Antworten
- 200OK
curl -X POST "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/forms/{formId}/submissions/draft" \
-H "Authorization: Bearer $XISUITE_TOKEN" \
-H "Content-Type: application/json" \
-d '{"data":{}}'Delete the current user's draft for a form#
/spaces/{spaceId}/forms/{formId}/submissions/draftTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
formIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X DELETE "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/forms/{formId}/submissions/draft" \
-H "Authorization: Bearer $XISUITE_TOKEN"List the submitted form responses that produced a task#
/spaces/{spaceId}/tasks/{taskId}/form-submissionsTokenParameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
spaceIdPflicht | Pfad | string | – |
taskIdPflicht | Pfad | string | – |
Antworten
- 200OK
curl -X GET "https://xapi.ambertech.cloud/api/v1/spaces/{spaceId}/tasks/{taskId}/form-submissions" \
-H "Authorization: Bearer $XISUITE_TOKEN"