ScreenlyyIDDocs
Docs › Authentication › Authentication

Create instance

Creates a correlation ID, which you pass in the x-correlation-id header on every later call, alongside your API key, until the sequence is finished. Think of it as a session token: use it for one set of API calls for a single customer.

The request also defines which ScreenlyyID products the session can access. Put idv, aml, eidv1 and eidv2 in GlobalScreening, and adv, emv, phv, ipv and bin in CustomerIntelligence. The products must be activated on your account. See product codes.

For identity verification the response also includes a webEnrolmentUrl you can load in a WebView. See Mobile app.

POSThttps://api.screenlyyid.com/api/v1/instance/create

Headers#

NameTypeRequiredDescription
x-api-keystringYesYour ScreenlyyID API key

Request body#

FieldTypeRequiredDescription
FirstNamestringNo
LastNamestringNo
ClientLookupIdstring (uuid)No
RedirectUrlstringNo
GlobalScreeningarray of stringNo
CustomerIntelligencearray of stringNo

Responses#

StatusDescription
200Successful response
400Bad request
401Unauthorized

Code samples#

curl --request POST \
  --url 'https://api.screenlyyid.com/api/v1/instance/create' \
  --header 'x-api-key: YOUR_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "FirstName": "Jane",
  "LastName": "Citizen",
  "ClientLookupId": "00000000-0000-0000-0000-000000000000",
  "RedirectUrl": "https://example.com/done",
  "GlobalScreening": [
    "idv"
  ],
  "CustomerIntelligence": [
    "emv"
  ]
}'