Webflows
Cancel
Cancel a webflow with POST /api/v2/{company}/webflows/{id}/cancel. No case is created and nobody is told.
POST https://www.nextsign.dk/api/v2/{company}/webflows/{id}/cancelStop a webflow that is still waiting for answers (Annullér in the dashboard). No case is created, nobody is told, the links say the form is closed and reminders stop. It cannot be undone.
curl --request POST 'https://www.nextsign.dk/api/v2/{company}/webflows/65ab12cd34ef56ab78cd9105/cancel' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'Content-Type: application/json' \
--data '{
"reason": "Wrong customer"
}'Request
| Field | Required | Meaning |
|---|---|---|
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".
Response
200 OK with the webflow, now with closed.state cancelled (trimmed here to the customer):
{
"webflow": {
"id": "65ab12cd34ef56ab78cd9105",
"formId": "65ab12cd34ef56ab78cd9101",
"title": "Information for order 1042",
"referenceId": "order-1042",
"state": "awaiting-responses",
"closed": {
"state": "cancelled",
"closedAt": "2026-11-12T09:34:20.000Z"
},
"createdAt": "2026-11-12T09:30:40.000Z",
"completedAt": null,
"caseId": null,
"recipients": [
{
"id": "65ab12cd34ef56ab78cd9106",
"role": "customer",
"name": "Alex Example",
"email": "",
"phone": "+4512345678",
"channel": "sms",
"requiresResponse": true,
"completed": false,
"invitationStatus": "submitted",
"delivery": {
"status": "sent",
"lastSentAt": "2026-11-12T09:31:00.000Z",
"remindersSent": 0,
"lastReminderAt": null
},
"formUrl": null,
"identity": null,
"answers": []
}
]
}
}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. |