seal.ID quick start guide

Step 1: Create a document-basket

POST https://sandbox-autoid.ubiid.ch/api/v1/{TenantId}/document-baskets

With the following request a document-basket and an identification case is created:

circle-info

If firstName or lastName is set to "Xtesthappy" a testbot will be triggered to simulate the happy case of a successful review.

{
	"ubiSignProfileId": 2,
	"ubiIdConfiguration": {
		"doIdentification": "ALWAYS",
		"ubiIdProfileId": 2
	},
	"signers": {
		"signersEvidence": [
			{
				"firstName": "Xtesthappy",
				"lastName": "Muster",
				"language": "de",
				"mobileCountryCode": 41,
				"mobilePhoneNumber": 791234567
			}
		]
	}
}

In the response, the documentBasketId and for each added signer a signerId and and ubiIdCaseId are returned.

Step 2: Upload a document

POST https://sandbox-autoid.ubiid.ch/api/v1/{TenantId}/document-baskets/{documentBasketId}/documents

Sample request:

Sample response:

Step 3: Do Identification and signing process

Open "ubiIdUrl" from response of step 1 in a web browser and go through the process.

circle-info

It is recommended to do the scanning process in a mobile phone. If the link is opened in a desktop browser a QR code is displayed before the scanning. The QR code can be scanned with a mobile phone to do the AutoIdent.

Step 4: Retrieve result of identification and signing

circle-info

A webhook url for identification and a separate one for signing needs to be provided by the customer. Once these 2 urls are configured in the account a webhook notification will be sent in the following occasions:

  • when creating the document-basket and the identification case

  • on each status update of each identification and of each signer

Get Identification files:

GET https://sandbox-autoid.ubiid.ch/api/v1/{TenantId}/id-cases/{ubiIdCaseId}/files.zip

Get Identification data:

GET https://sandbox-autoid.ubiid.ch/api/v1/{TenantId}/id-cases/{ubiIdCaseId}

Get signed documents:

GET https://sandbox-autoid.ubiid.ch/api/v1/{TenantId}/document-baskets/{documentBasketId}/files.zip

Get status of document-basked and signers:

GET https://sandbox-autoid.ubiid.ch/api/v1/{TenantId}/document-baskets/{documentBasketId}