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.
Send
By e-mail, SMS or as links, from a form or your own questions
Get
Each recipient's link, delivery status and answers
Remind and resend
Nudge the people who have not answered
Complete or cancel
Close a webflow, with or without its case
Endpoints
| Method | Path | |
|---|---|---|
POST | /api/v2/{company}/webflows/create | Send a webflow |
GET | /api/v2/{company}/webflows/get | List webflows |
GET | /api/v2/{company}/webflows/{id}/get | Get one, with links, delivery and answers |
POST | /api/v2/{company}/webflows/{id}/remind | Remind who has not answered |
POST | /api/v2/{company}/webflows/{id}/resend | Resend a person's invitation |
POST | /api/v2/{company}/webflows/{id}/complete | Complete: close, with or without the case |
POST | /api/v2/{company}/webflows/{id}/cancel | Cancel: 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
- Send with create: one recipient per role of the form, each by
email,smsorlink(nothing sent: you hand onformUrlyourself). Use a published form (formId), or put the questions in the request (form): NextSign then saves them as a form that only collects answers. - They answer on their personal link, which shows each person only their own questions.
- 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.
- Done: when the last answer comes in,
stateiscompletedand thewebflow.completedwebhook 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
formUrlcan answer as that person. - One send per key. Sending needs an
Idempotency-Keyheader, 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.