NextSign API
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}/complete

Close 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
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

FieldRequiredMeaning
createCaseNotrue: create the form's case from the answers so far, then close. Default false: close without a case.
reasonNoWhy, 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

StatusErrorMeaning
400validation-failedA field is missing or invalid. details names each one.
401Missing or invalid credentials, or another company's.
404webflow-not-foundNo webflow with this id in your company.
409webflow-not-openAlready completed or closed; state says which.
422case-not-createdcreateCase: true and the case could not be created: reason and fields say why. The webflow stays open.