Specification Changelog
Complete list of changes:
0.42.0 Add new FTN provider
- Add
ftnas a new authentication provider.
0.41.0 Add new Onfido authentication methods
Onfido
auth_to_viewandauth_to_view_archivednow support two new methods:"method": "document_and_video""method": "document_and_motion"
The default
attempts_per_smslimit for SMS OTP authentications is changed to 5. It previously defaulted to 3.
0.40.0 Introduce accessible_duration.
- The new setting controls when a process becomes inaccessible for its participants.
0.39.0 Introduce Automatic document redirects setting.
- The new setting controls how or if the participant will be automatically redirected to signview after each action (sign or approve).
The available settings are:
"last_action": The participant will be automatically redirected to signview if they have only one document action remaining. This is the default setting."always": The participant will be automatically redirected to signview after each action"never": The participant will never be automatically redirected to signview
0.38.0 Introduce Flow data retention endpoints.
- Add endpoints for getting/setting and deleting data retention policy for Flow instances.
0.37.0 Add documents field to get instance response
- Add a new
documentsfield to the response of the "Get Instance" endpoint. The new field contains the list of documents ids associated with the instance.
0.36.0 Deprecate list calls
- Removed the "Get all Flow instances for user" API end-point from our public API. No compatibility will be guaranteed for this API call going forward.
- This call had the potential to return excessive amounts of data if many instances existed for the given API user. This could cause request time-outs and/or server overload.
0.35.0 Hotfix list calls
- List calls have been limited to return a maximum of 10,000 last instances, because excessively long instance lists lead to timeouts and/or server errors. We are working on a more principled way to list Flow instances.
0.34.0 Add start instance end-point
- Add an end-point for starting an instance without first creating a draft.
0.33.0 Add allow-rejections options
- Adds the
allow-rejectionsDSL option that controls whether the participants can reject the process via the overview page or not. Participants are still able to reject the process by rejecting individual documents even whenallow-rejectionsoptions is set tofalse.
0.32.0 Add end-point for prolonging instance time out
- Add a new end-point to prolong in progress or timed out instances (documentation).
0.31.0 Add end-point for the author to send reminder notifications to participants
- Add an end-point to send reminder notifications to participants (documentation).
- Add two new elements to theGet a Flow instance end-point:
"admin_actions"list which advertises which reminders can be sent. This list will expand to contain new administrative actions as we implement them."participants"list which contains the association of participant names in the DSL with Participant IDs, which can be used to send reminders to the correct participant. More data will be added to participants in the future.
- Adds the new
durationparameter to Flow drafts. The parameter sets the expected timeout date of the instance in days after the draft has been started and can be an integer between 1 - 365.
0.30.0 Remove use_micro_api parameter
- Remove the optional
use_micro_apiparameter from thestart draftendpoint.
0.29.0 Remove sms_pin
- Remove the deprecated
sms_pinauthentication provider.
0.28.0 Allow multiple notification actions in confirmation stages
- Add the possibility to specify multiple notification actions to allow some recipients to receive confirmation via SMS, some via Email and some with Email and SMS.
0.27.0 Add WIP timed_out status, rejection bugfix and limiting max_failures
- Adds new
timed_outstatus to Flow instances (WIP). - Fixed a bug where on document and instance rejection, some in_progress documents would not get canceled. Now, all remaining in_progress documents are canceled.
- Authentication
max_failuresis now limited to a range of 0 to 255.
0.26.0 Add canceled to Flow instance status
- Adds new
canceledstatus for Flow instances. Canceled processes will now use thecanceledstatus instead offailed.
0.25.0 Add sms_otp, deprecate sms_pin
Deprecation notice: The sms_pin authentication provider will be removed on 1 September 2022.
- Add a new authentication provider:
sms_otp, intended to replacesms_pin. The new provider includes an option to specify the number of failed attempts per sms. The existingmax_failuresoption specifies total number of sms the user will receive per authentication attempt. If the option is not provided, the number of attempts per sms defaults to 3.
0.24.0 Add new EID Service endpoints for MicroApi Flows
- Add the
startandcheckEID service endpoints for authentication in MicroApi Flow processes.
0.23.0 Add trashing restoring and deleting Flow instances
- Flow instances can now be trashed, restored and deleted by the instance author. More information can be found at the API documentation for the relevant endpoints.
- Instances retrieved for a user can now be filtered with the
trashedfilter.
0.22.0 revert the introduction of the schemaref endpoint
- Remove the
schemarefendpoint in favor of manually configured Flow payload schemas.
0.21.0 schemaref endpoint and Custom callbacks
- Add
schemarefendpoint to retrieve a JSON schema that can be used for writing and validating Flow API requests. - Add a
callbackaction to the DSL to allow custom callbacks to be defined per stage.
0.20.0 Improve redirect-to expect conditions.
Incompatibility notice: This update invalidates uses of redirect-to expect conditions with users that do not have document actions in this stage.
This includes stand alone redirect-to stages. For examples on valid use of redirect-to expect conditions, please see the Flow documentation.
- Redirect participants at the end of their document actions in a stage
0.19.1 Add basic callback authentication
callbackfield in the endpoints for manipulating Flow drafts has been extended to accept an optional"auth"key.
0.19.0 Add NemID and MitID as authentication to view methods
- Add new authentication to view provider methods "dk_nemid", "dk_mitid" and "dk_mitid/nemid".
0.18.1 Retirement of viewed-by
Deprecation notice: The viewed-by condition will be removed from the DSL on 7 March 2022.
Please use the new allow-viewing and deny-viewing actions instead.
0.18.0 Add viewing permissions to MicroApi based flows.
- Add
allow-viewinganddeny-viewingactions to the DSL. These allow you to set document viewing permissions for participants in a Flow. This functionality is available only for flows that use MicroApi.
0.17.1 Onfido allowed document countries
- Add
allowed_document_countriesto OnfidoAuthenticationConfigurationschema.
0.17.0 Add External redirections
- Add
redirect-toto the DSL'sExpectschema. - The
DocumentIDinInstanceUserEventandInstanceUserActionForAuthordatatypes are now optional.
0.16.0 Retirement of Templates API
Deprecation notice: Templates API will be retired on 22 November 2021.
Features that will be removed on 22 November 2021:
- Remove all
/templatesendpoints, i.e.createTemplate,deleteTemplate,getTemplate,patchTemplate,listTemplates,commitTemplate,startTemplateandvalidateTemplate - Schema
InstanceGetResponse: remove fieldstemplate_idandtemplate_parameters
0.15.0 Signing groups (K of N)
- Add
approved-by-group-ofandsigned-by-group-ofto the DSL'sExpectschema
0.14.3 Add Flow instance cancellation callback
- Add callback event for Flow cancellation
0.14.2 Remove instance id from the internal /view endpoint
- Schema
GetInstanceView: remove theidfield
0.14.1 Onfido date of birth and additional report information
- Enable Onfido date of birth validation for signatories with the
DoBfield. - Schema
AuthenticationOnfido: add optionaladditional_report_infofield.
0.14.0 Drafts API
- Add
/drafts/*endpoints. Drafts API provides an alternative to the existing Templates API.
0.13.7 Swedish BankID authentication in flow
- New authentication provider "se_bankid". See
AuthenticationSeBankIdobject fore more details.
0.13.6 Preparation for drafts API
Changes to InstanceGetResponse schema:
- Add
processandprocess_parameters. - Deprecation notice:
template_idis now optional and will be removed as of the September 1, 2021. - Deprecation notice:
template_parameterswill be removed as of the September 1, 2021. Useprocess_parametersinstead.
0.13.5 Full name identification
- Add Flow
full_nameasid_type.
0.13.4 Support Onfido authentication from Desktop
Add support for allowing Onfido authentication from a mobile device only or from both mobile and desktop.
Schema
AuthenticationOnfido: add optionaldocument_capturefield.
0.13.3 Confirmation messages
- Add new confirmation stage, see:
FlowDslConfirmationStage. - Deprecation notice: Per document confirmations will be removed as of the September 1, 2021, use
FlowDslConfirmationStageinstead.
0.13.2 Remove link field in /view previous_events
- Remove the
linkfield from /view endpointprevious_eventsobjects due to a refactoring.
0.13.1 New link field in /view previous_events
- Add new
linkfield to the /view endpointprevious_eventsobjects. (Will likely be removed in an upcoming refactor). - Correct
InstanceUserActiondefinition (action_linkfield is actually calledlink).
0.13.0 New finalising state
- Add new instance status
finalising
0.12.1 Improve Flow callbacks
- Add
eid_transaction_idtoCallbackEventAuthenticationAttemptedVersion1callback event.
0.12.0 Improve Flow author handling and access control
- Endpoint
GET /instances: return all instances created by the current API user (breaking change). - Schema
TemplateCreateRequest: add optional fieldfolder_id. - Schema
TemplateResponse: add fieldauthor_id. - Schema
InstanceCreateRequest: add optional fieldfolder_id. - Schema
InstanceGetResponse: add fieldsauthor_idandfolder_id. - Improved access controls rules (for internal use only).
0.11.3 Add template created date to response
- Add created date and time to the
TemplateResponseschema.
0.11.2 Improve internal endpoint for viewing instances by participants
- Update the
InstanceViewResponseschema to include the participants's previous actions and correctly report the state of all their documents. - Remove
InstanceUserStateschema. - Add
InstanceUserEventschema. - Schema
InstanceUserAction: renamedocumentfield todocument_id.
0.11.1 Improve error documentation
- Added documentation for
detailsfield in error responses.
0.11.0 Add cancel endpoint for instances
- New /cancel endpoint added to allow the flow author to withdraw the flow and all its unsealed documents.
- Change to the error code for the reject endpoint when not able to reject the flow due to state already being failed or cancelled.
0.10.8 Support more Onfido settings
- Add support for specifying allowed document types when using Onfido for authentication.
- Schema
AuthenticationOnfido: add optionalallowed_document_typesfield. - Schema
VersionResponse: add fieldsapi_versionandbuild_date.
0.10.7 Support SMS OTP authentication provider
- Add support for SMS OTP (one-time password) authentication via EID Hub.
0.10.6
- Add support for specifying which method when using Onfido for authentication.
- Schema
AuthenticationOnfido: add optionalmethodfield.
0.10.5
- Add
messageparameter for flow instance rejection API. - Send
flow_rejectedcallback event when a flow instance is rejected.
0.10.4
- Add
CallbackEventFailedVersion1schema. - Add
POST /instances/{instance_id}/rejectfor rejecting a flow instance. - Start sending
completedandfailedevents. See the API guide for details.
0.10.3
Add specification of callback events.
- Add
CallbackEventschema. - Add
CallbackEventVersion1schema. - Add
CallbackEventBaseVersion1schema. - Add
CallbackEventCompletedVersion1schema. - Add
CallbackEventFlowRejectedVersion1schema. - Add
CallbackEventAuthenticationAttemptedVersion1schema. - Add
OnfidoProviderDataVersion1schema.
0.10.2
Add authentication configuration. The authentication functionality itself is not implemented yet.
- Add optional (per user) authentication settings in
POST /templates/{template_id}/start - Add
UserConfigandAuthConfigschemas. - Modify
TemplateParametersschema: theusersproperty now acceptsUserConfigobjects. This change is backwards-compatible andRichUserIds are also accepted.
0.10.1
Add callback configuration. The callback functionality itself is not implemented yet.
- Schema
InstanceCreateRequest: add fieldcallback. - Schema
InstanceGetResponse: add fieldcallback.
0.10.0
- DSL spec has been modified. Notification methods must be specified (email and/or sms) rather than simply a message.
- Require that
dsl-versionbe equal to"0.2.0".
0.9.2
- Add
GET /documentationendpoint that presents the API specification. - Add a more detailed specification description.
- Fix specification metadata.
- Remove unused schemas
InstanceStage,InstanceEvent,InstanceEventAction.
0.9.1
- Add
GET /versionendpoint that presents Flow service version information. - Add
VersionResponseschema.
0.9.0
- New fields added to the return JSON of
GET /instances/{instance_id}andGET /instances/{instance_id}/viewdepicting the user-providedtitle, the start time and last event time of the flow instance. - Breaking change: Request JSON spec of
POST /templates/{template_id}/startaltered. The previously-required object is pushed down into thetemplate_parametersobject and the root object can now take an optionaltitleparameter that allows for a human-readable name to be provided.
0.8.0
- Endpoint
GET /templates/validate: return 204 on success. - Schema
InstanceGetResponse: rename fieldtemplatetotemplate_id
0.7.0
- Schema
InstanceState: remove fieldhistory. - Schema
InstanceStage: add required fieldstatus.
0.6.3
- Schema
InstanceUserAction: add required fieldaction_link.
0.6.2
- Add
SignatoryIdschema. - Replace
DocumentOverviewschema byInstanceUserDocument. - Schema
InstanceUserDocument: add required fieldsignatory_id. - Schema
InstanceUserAction: add required fieldsignatory_id.
0.6.1
- Replace
InstanceIdObjectschema byInstanceGetResponse. - Schema
InstanceGetResponse: addaccess_linksfield.
0.6.0
- Require that
dsl-versionbe equal to"0.1.0". - Remove DSL action
close. - Remove
FlowDslCloseschema.
0.5.0
- Add required field
dsl-versionto the DSL. - Schema
InstanceEvent: renamedeedfield toaction. - Rename
InstanceEventDeedschema toInstanceEventAction.
0.4.4
- Add
GET /instancesendpoint for listing instances created by the user.
0.4.3
- Schema
ErrorResponse: makeexplanationfield optional.