If you have your own documents in the panel, such as terms and conditions or a data processing agreement, your form can show them and have them accepted. The connection also works without your own documents.
Steps
-
Request the documents with the same key:
GET https://panel.souver.nl/api/v1/aanmeldingen/documenten?taal=nlFor each document you get, among other things,
uuid,title,version,required,sha256andurl. Theurlis a readable page on the panel. -
Show a link and a checkbox for each document. If
requiredis true, the document is mandatory. -
For each checked document, send the
uuidand thesha256indocuments:"documents": [ { "uuid": "…", "sha256": "…" } ]
Good to know
- The
sha256proves which version the visitor saw. If the document has changed in the meantime, you get a422. Show the document again in that case. - On approval, the documents are shown as accepted for the customer, with the time and IP address of the applicant.