Webflows
Complete
Mark a webflow as done with POST /api/v2/{company}/webflows/{id}/complete, with or without creating its case.
POST https://www.nextsign.dk/api/v2/{company}/webflows/{id}/completeClose a webflow that is still waiting for answers (Marker som færdig in the dashboard): its links say the form is closed and reminders stop. With createCase: true the form's case is first created from the answers so far.
curl --request POST 'https://www.nextsign.dk/api/v2/{company}/webflows/65ab12cd34ef56ab78cd9100/complete' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H '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, for the webflow's log in the dashboard. Never shown to the recipients. |
The webflow's id is in the path; an id in the body is refused. The action is logged in the dashboard as the API key's user (or senderEmail, a user in your company), else as "API".
Questions sent in the request (form) have no case to create. v3 Complete has an example of case-not-created.
Response
200 OK: the webflow, now closed, and caseId (null without a case). 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
}Errors
| Status | Error | Meaning |
|---|---|---|
400 | validation-failed | A field is missing or invalid. details names each one. |
401 | Missing or invalid credentials, or another company's. | |
404 | webflow-not-found | No webflow with this id in your company. |
409 | webflow-not-open | Already completed or closed; state says which. |
422 | case-not-created | createCase: true and the case could not be created: reason and fields say why. The webflow stays open. |