NextSign API
Webflows

Cancel

Cancel a webflow with POST /v3/api/webflows/{id}/cancel. No case is created and nobody is told.

POST https://api.nextsign.dk/v3/api/webflows/{id}/cancel

Stop a webflow that is still waiting for answers, as Annullér in the dashboard. No case is created and nobody is told; the links say the form is closed, and no more reminders go out. It cannot be undone: send a new webflow instead.

curl --request POST 'https://api.nextsign.dk/v3/api/webflows/65ab12cd34ef56ab78cd9105/cancel' \
  --header "Authorization: Bearer $NEXTSIGN_API_KEY" \
  --header 'Content-Type: application/json' \
  --data '{ "reason": "Wrong customer" }'

Request

FieldRequiredMeaning
reasonNoWhy, up to 1,000 characters. Kept in the webflow's log in the dashboard; never shown to the recipients.

Response

200 OK with the webflow, as Get returns it, 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

StatusErrorMeaning
400validation-failedA field is missing or invalid. details names each one by its path.
404webflow-not-foundNo webflow with this id in your company (or it is deleted).
409webflow-not-openAlready completed or closed; state says which.