Identification Chain Admin


Parameters

Name In Type Required Description
org_id path string true Organization name
User-Agent header string true information to identify the application, operating system, vendor, and/or version of the requester
body body CreateChainIdentificationRequest true Data about actor and the identification chain process.

Request body - instance of CreateChainIdentificationRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
  "actor": {
    "name": "James",
    "last_name": "Smith",
    "identity_document": {
      "document_number": "12345678A",
      "document_type": "NIF"
    },
    "email": "example@email.com",
    "msisdn": {
      "phone_number": 6123456789,
      "country_code": "34"
    },
    "language": "ES"
  },
  "expires_in": "PT15M",
  "sequence": [
    {
      "configuration": {
        "identificationType": "OTP",
        "twoFactorType": "DOCUMENT_NUMBER",
        "channel": {
          "type": "SMS",
          "external": "true"
        }
      }
    }
  ]
}
Name Type Required Description
actor IdentificationActor true none
expires_in string true Validity duration time (ISO-8601 format) from now.
sequence [ChainIdentificationStep] true Ordered array defining the identification steps (at least one required).

Request example

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35

curl -X POST https://documents.masstack.com/v1/orgs/{org_id}/identifications/chain \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0" \
 --data-raw "{
  'actor': {
    'name': 'James',
    'last_name': 'Smith',
    'identity_document': {
      'document_number': '12345678A',
      'document_type': 'NIF'
    },
    'email': 'example@email.com',
    'msisdn': {
      'phone_number': 6123456789,
      'country_code': '34'
    },
    'language': 'ES'
  },
  'expires_in': 'PT15M',
  'sequence': [
    {
      'configuration': {
        'identificationType': 'OTP',
        'twoFactorType': 'DOCUMENT_NUMBER',
        'channel': {
          'type': 'SMS',
          'external': 'true'
        }
      }
    }
  ]
}" 

Responses

Code Meaning Description Schema
201 Created New chain identification is created. CreateChainIdentificationResponse
400 Bad Request Request input is not valid None
401 Unauthorized Unauthorized. AuthN and AuthZ validations have fail None
404 Not Found Not found. Entity does not exist or can not be found None
409 Conflict Conflict. Entity state has conflicts between its new state and the old one. None
500 Internal Server Error Not expected error None
default Default Error response ErrorsResponse

Parameters

Name In Type Required Description
org_id path string true Organization name
identification_chain_id path string true Unique identifier for the chained identification process
User-Agent header string true information to identify the application, operating system, vendor, and/or version of the requester
body body CancelIdentificationRequest false Optional reason for cancellation

Request body - instance of CancelIdentificationRequest

1
2
3
{
  "reason": "The client does not want to continue with the identification process."
}
Name Type Required Description
reason string true The reason why the process is going to be cancelled.

Request example

1
2
3
4
5
6
7
8
9

curl -X POST https://documents.masstack.com/v1/orgs/{org_id}/identifications/chain/{identification_chain_id}/cancel \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0" \
 --data-raw "{
  'reason': 'The client does not want to continue with the identification process.'
}" 

Responses

Code Meaning Description Schema
204 No Content Action executed correctly None
400 Bad Request Request input is not valid None
401 Unauthorized Unauthorized. AuthN and AuthZ validations have fail None
404 Not Found Not found. Entity does not exist or can not be found None
409 Conflict Conflict. Entity state has conflicts between its new state and the old one. None
500 Internal Server Error Not expected error None
default Default Error response ErrorsResponse

Parameters

Name In Type Required Description
org_id path string true Organization name
identification_chain_id path string true Unique identifier for the chained identification process
User-Agent header string true information to identify the application, operating system, vendor, and/or version of the requester

Request example

1
2
3
4
5

curl -X POST https://documents.masstack.com/v1/orgs/{org_id}/identifications/chain/{identification_chain_id}/close \
  -H "Accept: application/json" \
  -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X x.y; rv:42.0) Gecko/20100101 Firefox/42.0"

Responses

Code Meaning Description Schema
204 No Content Action executed correctly None
400 Bad Request Request input is not valid None
401 Unauthorized Unauthorized. AuthN and AuthZ validations have fail None
404 Not Found Not found. Entity does not exist or can not be found None
409 Conflict Conflict. Entity state has conflicts between its new state and the old one. None
500 Internal Server Error Not expected error None
default Default Error response ErrorsResponse

Endpoints

Documents

    Forms

      Sections

        Templates

          Templates Configuration

            Digital Sign Process

              Biometric Signature

                Simple Signature

                  Identification Agent

                    Sign Configuration

                      Identification OTP

                        Identification with identity document

                          Identification Agent Admin

                            Identification OTP Admin

                              Identification with identity document Admin

                                Contracts

                                  Scoring

                                    Securize

                                      Identification Chain

                                        Identification Chain Admin