Complete
Mark a webflow as done with POST /v3/api/webflows/{id}/complete, with or without creating its case from the answers so far.
POST https://api.nextsign.dk/v3/api/webflows/{id}/completeClose a webflow that is still waiting for answers, as Marker som færdig in the dashboard. Its links then say the form is closed, and no more reminders go out. With createCase: true the form's case is first created from the answers so far, as when the last answer comes in.
curl --request POST 'https://api.nextsign.dk/v3/api/webflows/65ab12cd34ef56ab78cd9100/complete' \
--header "Authorization: Bearer $NEXTSIGN_API_KEY" \
--header 'Content-Type: application/json' \
--data '{ "reason": "Answered by phone" }'Request
| Field | Required | Meaning |
|---|---|---|
createCase | No | true: create the form's case from the answers so far, then close. Default false: close without a case. |
reason | No | Why, up to 1,000 characters. Kept in the webflow's log in the dashboard; never shown to the recipients. |
A webflow closed without a case can still get one from the dashboard (Opret sag). Questions sent in the request (form) have no case to create: createCase: true then answers 422 case-not-created.
Response
200 OK: the webflow, now closed, and caseId, the case created (null without one). Trimmed here to the customer:
{
"webflow": {
"id": "65ab12cd34ef56ab78cd9100",
"formId": "65ab12cd34ef56ab78cd9101",
"title": "Information for order 1042",
"referenceId": "order-1042",
"state": "awaiting-responses",
"closed": {
"state": "completed",
"closedAt": "2026-11-12T09:33:40.000Z"
},
"createdAt": "2026-11-12T09:30:00.000Z",
"completedAt": null,
"caseId": null,
"recipients": [
{
"id": "65ab12cd34ef56ab78cd9102",
"role": "customer",
"name": "Alex Example",
"email": "alex@example.com",
"phone": null,
"channel": "email",
"requiresResponse": true,
"completed": false,
"invitationStatus": "submitted",
"delivery": {
"status": "opened",
"lastSentAt": "2026-11-12T09:33:00.000Z",
"remindersSent": 1,
"lastReminderAt": "2026-11-12T09:33:00.000Z"
},
"formUrl": null,
"identity": null,
"answers": []
}
]
},
"caseId": null
}With createCase: true, the case's id:
{ "webflow": { "…": "…" }, "caseId": "65ab12cd34ef56ab78cd90c9" }state stays awaiting-responses: it follows the answers, and closed says the sender stopped it.
Errors
| Status | Error | Meaning |
|---|---|---|
400 | validation-failed | A field is missing or invalid. details names each one by its path. |
404 | webflow-not-found | No webflow with this id in your company (or it is deleted). |
409 | webflow-not-open | Already completed or closed; state says which. |
422 | case-not-created | createCase: true, and the case could not be created from the answers. reason says why, fields names the questions it needs. The webflow stays open. |
{
"error": "case-not-created",
"reason": "form-validation",
"fields": [
{
"tag": "customer_address"
}
]
}