POST
/
identityDocuments
/
urls
curl --request POST \
  --url https://api.sandbox.sardine.ai/v1/identityDocuments/urls \
  --header 'Content-Type: application/json' \
  --data '{
  "sessionKey": "555fdc5c-8694-4345-b724-14454f320484",
  "customerId": "87d8e330-2878-4742-a86f-dbbb3bf522ac",
  "idBack": true,
  "selfie": true,
  "poa": true,
  "locale": "en-US",
  "inputData": {
    "issuingCountry": "US",
    "documentNumber": "L89781313",
    "firstName": "John",
    "middleName": "string",
    "lastName": "Doe",
    "dateOfBirth": "1980-08-24",
    "dateOfIssue": "2014-08-24",
    "dateOfExpiry": "2024-08-24",
    "gender": "male",
    "address": {
      "street1": "1 Main St",
      "city": "Okhahoma City",
      "region": "Oklhahoma",
      "postalCode": "70438",
      "countryCode": "US"
    }
  }
}'
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "link": "http://link-to-embed-for-collecting-kyc.sardine.ai"
}

Body

application/json
sessionKey
string
required

uuid that identifies the given customer sssion

customerId
string
required

ID of Customer

idBack
boolean

Set to true to enable back scan of the document

selfie
boolean

Set to true to enable the selfie scan

poa
boolean

Color image file of the ID document. Supported format: bitmap, jpeg, png, and pdf. Image size has to be between 30KB and 5MB

locale
string

Locale in which the id verification process with display titles. See here for full list of options

inputData
object

Response

200
application/json
OK
id
string

ID of request

URL that can be embedded to collect documents