Identification Agent Admin

Digital agent identification administrative services


Parameters

Name In Type Required Description
org_id path string true Organization name
body body CreateAgentIdentificationRequest true Data about actor and the identification process.

Request body - instance of CreateAgentIdentificationRequest

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
{
  "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"
  },
  "personal_document_image": true,
  "expires_in": "P7D"
}
Name Type Required Description
actor IdentificationActor true none
personal_document_image PersonalIdentificationEvidence1 false Flag to indicate if the agent needs to take a picture of the actor personal document.
If true, the agent will take a picture of the document.
If false, the agent will not take a picture of the document.
expires_in string true Minimum 1 minute. Max 30 days. Validity duration time (ISO-8601 format) from now.

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

curl -X POST https://documents.masstack.com/v1/orgs/{org_id}/identifications/agent \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
 --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'
  },
  'personal_document_image': true,
  'expires_in': 'P7D'
}" 

Responses

Code Meaning Description Schema
201 Created New agent identification is created. Expected response for a valid request. CreateAgentIdentificationResponse
400 Bad Request Request input is not valid None
401 Unauthorized Unauthorized. AuthN and AuthZ validations have fail 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
admin_identification_id path string true uuid identification unique identifier
body body CancelIdentificationRequest true Required data to cancel an identification process

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

curl -X POST https://documents.masstack.com/v1/orgs/{org_id}/identifications/agent/{admin_identification_id}/cancel \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
 --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
admin_identification_id path string true uuid identification unique identifier

Request example

1
2
3
4

curl -X POST https://documents.masstack.com/v1/orgs/{org_id}/identifications/agent/{admin_identification_id}/close \
  -H "Accept: application/json"

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
admin_identification_id path string true uuid identification unique identifier
force query string false If the process is not in CREATED state this parameter has to be passed as true AND needed permission has to be present at the token for the deletion to happen. A FORBIDDEN code will be thrown otherwise.
- ‘true’ if identification process must be deleted regardless of the state.
- ‘false’ or not present otherwise.

Request example

1
2
3
4

curl -X DELETE https://documents.masstack.com/v1/orgs/{org_id}/identifications/agent/{admin_identification_id}?force='true' \
  -H "Accept: application/json"

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
403 Forbidden Forbidden. Request has invalid credentials None
404 Not Found Not found. Entity does not exist or can not be found 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 Agent Admin

                          Identification OTP Admin

                            Contracts

                              Scoring

                                Securize