NextSign API
Webflows

Webflows

Send forms for people to fill in from API v2, by e-mail, SMS or as links, with your own form or questions in the request, and follow up on them.

A webflow is a form sent to people to fill in. Every person gets a personal link to their own part of the form; when everyone has answered, the webflow is complete and you have the answers. This is Send webflow in the dashboard, and webflows sent through the API show there like any other.

Endpoints

MethodPath
POST/api/v2/{company}/webflows/createSend a webflow
GET/api/v2/{company}/webflows/getList webflows
GET/api/v2/{company}/webflows/{id}/getGet one, with links, delivery and answers
POST/api/v2/{company}/webflows/{id}/remindRemind who has not answered
POST/api/v2/{company}/webflows/{id}/resendResend a person's invitation
POST/api/v2/{company}/webflows/{id}/completeComplete: close, with or without the case
POST/api/v2/{company}/webflows/{id}/cancelCancel: close without a case

All are on https://www.nextsign.dk. Use your company's API key as bearer token, as for the other v2 routes:

Authorization: Bearer YOUR_API_KEY

{company} is your company id. Your credentials only reach your own company's webflows: another company's answers 404 webflow-not-found, the same as an id that does not exist. The answers are the same as API v3's, field for field.

Who sends

A webflow has a sender: the user it goes out from, who is notified when it completes. It is the API key's user, or the logged-in user. The company bearer token has no user: give senderEmail, the e-mail address of a user in your company, when sending with it.

How it works

  1. Send with create: one recipient per role of the form, each by email, sms or link (nothing sent: you hand on formUrl yourself). Use a published form (formId), or put the questions in the request (form): NextSign then saves them as a form that only collects answers.
  2. They answer on their personal link, which shows each person only their own questions.
  3. Follow up: get shows who has answered and what became of their e-mail or SMS (delivered, opened, failed). Remind who hasn't, or resend to a corrected address.
  4. Done: when the last answer comes in, state is completed and the webflow.completed webhook fires. A form set up to create a signing case does so. Close a webflow early with complete or cancel.

Good to know

  • Personal links are credentials. Anyone with a formUrl can answer as that person.
  • One send per key. Sending needs an Idempotency-Key header, so a retry never sends twice.
  • The form is frozen. A webflow keeps a copy of the form as it was when sent.
  • Sensitive answers stay inside. CPR numbers and fields marked sensitive are stored encrypted and never returned.