API para gestión de workflows. (stable)
Download OpenAPI specification:Download
Esta API permite la creación y ejecución de flujos de negocio personalizables, brindando flexibilidad y dinamismo para diversos procesos.
Flujos
Un flujo es una secuencia ordenada de pasos, personalizable según el caso de uso.
Pasos
Cada paso es una unidad de ejecución dentro del flujo, pudiendo ser de distintos tipos y ajustarse a requerimientos específicos.
Obtener la lista de flujos.
Authorizations:
query Parameters
page | integer Default: 1 Example: page=1 Número de página para la consulta de resultados. |
per_page | integer <= 100 Default: 10 Example: per_page=10 Cantidad máxima de resultados por página (hasta 100). |
Responses
Response samples
- 200
{- "success": true,
- "result": [
- {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "responsible_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "people_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "status": "string",
- "disable_geolocation": true,
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "lead_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "credit_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "skip_steps": {
- "document_sign": "enroll_full['payload']['biometrics']['matchLevel'] >= 5"
}, - "error": {
- "fatal": true,
- "extra": {
- "user_id": "uuid",
- "location": "US"
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "external_reference_id": 123456789,
- "callback_at": "2022-04-12T22:10:12Z",
- "expires_in": 60,
- "metadata": {
- "user_id": "uuid",
- "location": "US"
}, - "template_binding_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "rule_set_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "document_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "user_email": "user@example.com",
- "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z",
- "steps": [
- {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "workflow_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "custom_id": "1",
- "coordinates": [
- [
- "-99.123456",
- "19.123456"
]
], - "error": {
- "fatal": true,
- "extra": {
- "idScanStatus": 500,
- "faceScanStatus": 500
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "metadata": {
- "name": "enroll_full",
- "title": "Enrolamiento Completo",
- "description": "Enrolamiento biometrico y obtencion de selfie con identificacion oficial"
}, - "status": "string",
- "step": "document_sign",
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "payload": {
- "biometrics": {
- "safe": true,
- "success": true,
- "matchLevel": 7,
- "executed_at": "2023-04-27T21:29:06.162000Z",
- "referenceId": "dev-123adc51-ff0e-44f0-af93-456cad813dca",
- "wasProcessed": true,
- "nfcStatusEnumInt": 0,
- "fullIDStatusEnumInt": 0,
- "barcodeStatusEnumInt": 0,
- "matchLevelNFCToFaceMap": 0,
- "digitalIDSpoofStatusEnumInt": 0,
- "faceOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_FACE",
- "textOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_TEXT",
- "idScanAgeEstimateGroupEnumInt": 4
}, - "ocr_backside": {
- "cic": "8596841236",
- "date": "990311",
- "name": "JUAN",
- "lines": [
- "IDMEX85968412367<<4578965896412",
- "9903110H3112319MEX<06<<16540<3",
- "PEREZ<GONZALES<<JUAN<<<<<<<<<<"
], - "gender": "H",
- "last_name": "PEREZ",
- "last_names": "PEREZ GONZALES",
- "ocr_number": "4578965896412",
- "nationality": "MEX",
- "cic_digit_check": "7",
- "expiration_date": "241231",
- "date_check_digit": "0",
- "emission_and_fuar": "06-16540",
- "mothers_last_name": "GONZALEZ",
- "expiration_date_digit": "9",
- "section_and_consecutive": "54236975896321",
- "is_cic_digit_check_consistent": true
}, - "ocr_frontside": {
- "city": "XOCHIMILCO",
- "curp": "PEGU990311HDFRMZA4",
- "name": "JUAN",
- "type": "INE",
- "gender": "H",
- "street": "CALLE 1",
- "city_id": null,
- "control": "2",
- "ine_type": "EFGH",
- "province": "CDMX",
- "state_id": null,
- "zip_code": "01000",
- "last_name": "PEREZ",
- "birth_date": "1999-03-11",
- "elector_key": "PRJMER99031109H900",
- "neighborhood": "COL CENTRO",
- "emission_number": "06",
- "expiration_date": null,
- "mothers_last_name": "GOZALEZ"
}, - "is_address_complete": true
}, - "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z"
}
]
}
]
}
Crear un nuevo flujo.
Authorizations:
Request Body schema: application/json
Parámetros requeridos para crear un flujo.
people_uuid | string or null <uuid> Identificador de persona |
callback_url | string or null URL de notificaciones por medio de Webhook (debe ser HTTPS) |
disable_geolocation | boolean or null Indica si se desea deshabilitar la geolocalizacion en los pasos |
responsible_uuid | string or null <uuid> Identificador de usuario responsable del flujo |
external_reference_id | string or null Referencia externa de ID para el usuario que ejecuta el flujo |
skip_steps | object or null Pasos a saltar en el flujo, se usa la llave con el nombre del paso |
rule_set_uuid | string or null <uuid> Identificador de conjunto de reglas a aplicar al flujo |
object or null Datos para autollenado de campos | |
object or null Algunos steps requieren un Setup inicial, en este parametro se envian tales configuraciones usando la llave con el nombre del Step | |
metadata | object or null Metadatos del Flujo, con la propiedad customization_uuid se puede personalizar el contenido de los textos mostrados en los Steps. |
expires_in | integer Default: 0 Tiempo en que tarda en expirar el token de este Flujo en minutos. Este campo se omite o se envia en 0 si no se queire que caduque. |
required | Array of Auth (string) or Biometric Sign (string) or Document Sign (string) or Enroll Basic (string) or Enroll Full (string) or Enroll Simple (string) or Liveness (string) or Document Preview (string) or Verify Email (string) or Verify Phone Number (string) or Personal Address (string) or CDC Authorization (string) or Document Analyzer (string) or Acceptance (string) or Files Upload (string) or Document QR (string) or Personal Financial (string) or Personal Job Detail (string) or Personal References (string) or Personal Bank Data (string) or Custom Form (string) or Address Verificacion (string) or Multiple Document Sign (string) or Enroll Fingerprint (string) >= 1 [ items unique ] Arreglo de steps para el workflow |
Responses
Request samples
- Payload
{- "people_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "disable_geolocation": true,
- "responsible_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "external_reference_id": 123456,
- "skip_steps": {
- "acceptance": "enroll_full['payload']['biometrics']['matchLevel'] >= 5}"
}, - "rule_set_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "autofill": {
- "autosigning": true,
- "send_email": true,
- "template_binding_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "document_name": "Documento de prueba",
- "document_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "user_email": "example@mail.com"
}, - "setup": {
- "document_sign": {
- "token": "TOKEN",
- "store_sign": false
}
}, - "metadata": {
- "user_id": "uuid",
- "location": "US",
- "customization_uuid": "uuid"
}, - "expires_in": 60,
- "steps": [
- "document_sign"
]
}
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "responsible_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "people_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "status": "string",
- "disable_geolocation": true,
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "lead_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "credit_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "skip_steps": {
- "document_sign": "enroll_full['payload']['biometrics']['matchLevel'] >= 5"
}, - "error": {
- "fatal": true,
- "extra": {
- "user_id": "uuid",
- "location": "US"
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "external_reference_id": 123456789,
- "callback_at": "2022-04-12T22:10:12Z",
- "expires_in": 60,
- "metadata": {
- "user_id": "uuid",
- "location": "US"
}, - "template_binding_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "rule_set_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "document_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "user_email": "user@example.com",
- "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z",
- "steps": [
- {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "workflow_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "custom_id": "1",
- "coordinates": [
- [
- "-99.123456",
- "19.123456"
]
], - "error": {
- "fatal": true,
- "extra": {
- "idScanStatus": 500,
- "faceScanStatus": 500
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "metadata": {
- "name": "enroll_full",
- "title": "Enrolamiento Completo",
- "description": "Enrolamiento biometrico y obtencion de selfie con identificacion oficial"
}, - "status": "string",
- "step": "document_sign",
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "payload": {
- "biometrics": {
- "safe": true,
- "success": true,
- "matchLevel": 7,
- "executed_at": "2023-04-27T21:29:06.162000Z",
- "referenceId": "dev-123adc51-ff0e-44f0-af93-456cad813dca",
- "wasProcessed": true,
- "nfcStatusEnumInt": 0,
- "fullIDStatusEnumInt": 0,
- "barcodeStatusEnumInt": 0,
- "matchLevelNFCToFaceMap": 0,
- "digitalIDSpoofStatusEnumInt": 0,
- "faceOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_FACE",
- "textOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_TEXT",
- "idScanAgeEstimateGroupEnumInt": 4
}, - "ocr_backside": {
- "cic": "8596841236",
- "date": "990311",
- "name": "JUAN",
- "lines": [
- "IDMEX85968412367<<4578965896412",
- "9903110H3112319MEX<06<<16540<3",
- "PEREZ<GONZALES<<JUAN<<<<<<<<<<"
], - "gender": "H",
- "last_name": "PEREZ",
- "last_names": "PEREZ GONZALES",
- "ocr_number": "4578965896412",
- "nationality": "MEX",
- "cic_digit_check": "7",
- "expiration_date": "241231",
- "date_check_digit": "0",
- "emission_and_fuar": "06-16540",
- "mothers_last_name": "GONZALEZ",
- "expiration_date_digit": "9",
- "section_and_consecutive": "54236975896321",
- "is_cic_digit_check_consistent": true
}, - "ocr_frontside": {
- "city": "XOCHIMILCO",
- "curp": "PEGU990311HDFRMZA4",
- "name": "JUAN",
- "type": "INE",
- "gender": "H",
- "street": "CALLE 1",
- "city_id": null,
- "control": "2",
- "ine_type": "EFGH",
- "province": "CDMX",
- "state_id": null,
- "zip_code": "01000",
- "last_name": "PEREZ",
- "birth_date": "1999-03-11",
- "elector_key": "PRJMER99031109H900",
- "neighborhood": "COL CENTRO",
- "emission_number": "06",
- "expiration_date": null,
- "mothers_last_name": "GOZALEZ"
}, - "is_address_complete": true
}, - "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z"
}
]
}
}
Consultar el detalle de un flujo específico.
Authorizations:
path Parameters
uuid required | string Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del Flujo. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "responsible_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "people_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "status": "string",
- "disable_geolocation": true,
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "lead_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "credit_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "skip_steps": {
- "document_sign": "enroll_full['payload']['biometrics']['matchLevel'] >= 5"
}, - "error": {
- "fatal": true,
- "extra": {
- "user_id": "uuid",
- "location": "US"
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "external_reference_id": 123456789,
- "callback_at": "2022-04-12T22:10:12Z",
- "expires_in": 60,
- "metadata": {
- "user_id": "uuid",
- "location": "US"
}, - "template_binding_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "rule_set_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "document_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "user_email": "user@example.com",
- "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z",
- "steps": [
- {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "workflow_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "custom_id": "1",
- "coordinates": [
- [
- "-99.123456",
- "19.123456"
]
], - "error": {
- "fatal": true,
- "extra": {
- "idScanStatus": 500,
- "faceScanStatus": 500
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "metadata": {
- "name": "enroll_full",
- "title": "Enrolamiento Completo",
- "description": "Enrolamiento biometrico y obtencion de selfie con identificacion oficial"
}, - "status": "string",
- "step": "document_sign",
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "payload": {
- "biometrics": {
- "safe": true,
- "success": true,
- "matchLevel": 7,
- "executed_at": "2023-04-27T21:29:06.162000Z",
- "referenceId": "dev-123adc51-ff0e-44f0-af93-456cad813dca",
- "wasProcessed": true,
- "nfcStatusEnumInt": 0,
- "fullIDStatusEnumInt": 0,
- "barcodeStatusEnumInt": 0,
- "matchLevelNFCToFaceMap": 0,
- "digitalIDSpoofStatusEnumInt": 0,
- "faceOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_FACE",
- "textOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_TEXT",
- "idScanAgeEstimateGroupEnumInt": 4
}, - "ocr_backside": {
- "cic": "8596841236",
- "date": "990311",
- "name": "JUAN",
- "lines": [
- "IDMEX85968412367<<4578965896412",
- "9903110H3112319MEX<06<<16540<3",
- "PEREZ<GONZALES<<JUAN<<<<<<<<<<"
], - "gender": "H",
- "last_name": "PEREZ",
- "last_names": "PEREZ GONZALES",
- "ocr_number": "4578965896412",
- "nationality": "MEX",
- "cic_digit_check": "7",
- "expiration_date": "241231",
- "date_check_digit": "0",
- "emission_and_fuar": "06-16540",
- "mothers_last_name": "GONZALEZ",
- "expiration_date_digit": "9",
- "section_and_consecutive": "54236975896321",
- "is_cic_digit_check_consistent": true
}, - "ocr_frontside": {
- "city": "XOCHIMILCO",
- "curp": "PEGU990311HDFRMZA4",
- "name": "JUAN",
- "type": "INE",
- "gender": "H",
- "street": "CALLE 1",
- "city_id": null,
- "control": "2",
- "ine_type": "EFGH",
- "province": "CDMX",
- "state_id": null,
- "zip_code": "01000",
- "last_name": "PEREZ",
- "birth_date": "1999-03-11",
- "elector_key": "PRJMER99031109H900",
- "neighborhood": "COL CENTRO",
- "emission_number": "06",
- "expiration_date": null,
- "mothers_last_name": "GOZALEZ"
}, - "is_address_complete": true
}, - "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z"
}
]
}
}
Generar token y URL de ejecución del flujo.
Authorizations:
path Parameters
uuid required | string Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del Flujo. |
query Parameters
redirect_url | string Example: redirect_url=http://example.com URL donde se redirigirá al finalizar el Flujo. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "token": "16968|r45IXIJHr9QfpHayecgFOw1R9Cs36zundce7VYk7",
- "token_encoded": "MzZ8czJhQUpFOWI2Z3IyNGFLOVBFcnRJODRrZDhjZ2pDQ0hxWmFCWUtFMA%3D%3D",
- "expiration": "2021-03-26 00:05:15",
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "responsible_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "people_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "status": "string",
- "disable_geolocation": true,
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "lead_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "credit_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "skip_steps": {
- "document_sign": "enroll_full['payload']['biometrics']['matchLevel'] >= 5"
}, - "error": {
- "fatal": true,
- "extra": {
- "user_id": "uuid",
- "location": "US"
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "external_reference_id": 123456789,
- "callback_at": "2022-04-12T22:10:12Z",
- "expires_in": 60,
- "metadata": {
- "user_id": "uuid",
- "location": "US"
}, - "template_binding_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "rule_set_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "document_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "user_email": "user@example.com",
- "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z",
- "steps": [
- {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "workflow_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "custom_id": "1",
- "coordinates": [
- [
- "-99.123456",
- "19.123456"
]
], - "error": {
- "fatal": true,
- "extra": {
- "idScanStatus": 500,
- "faceScanStatus": 500
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "metadata": {
- "name": "enroll_full",
- "title": "Enrolamiento Completo",
- "description": "Enrolamiento biometrico y obtencion de selfie con identificacion oficial"
}, - "status": "string",
- "step": "document_sign",
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "payload": {
- "biometrics": {
- "safe": true,
- "success": true,
- "matchLevel": 7,
- "executed_at": "2023-04-27T21:29:06.162000Z",
- "referenceId": "dev-123adc51-ff0e-44f0-af93-456cad813dca",
- "wasProcessed": true,
- "nfcStatusEnumInt": 0,
- "fullIDStatusEnumInt": 0,
- "barcodeStatusEnumInt": 0,
- "matchLevelNFCToFaceMap": 0,
- "digitalIDSpoofStatusEnumInt": 0,
- "faceOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_FACE",
- "textOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_TEXT",
- "idScanAgeEstimateGroupEnumInt": 4
}, - "ocr_backside": {
- "cic": "8596841236",
- "date": "990311",
- "name": "JUAN",
- "lines": [
- "IDMEX85968412367<<4578965896412",
- "9903110H3112319MEX<06<<16540<3",
- "PEREZ<GONZALES<<JUAN<<<<<<<<<<"
], - "gender": "H",
- "last_name": "PEREZ",
- "last_names": "PEREZ GONZALES",
- "ocr_number": "4578965896412",
- "nationality": "MEX",
- "cic_digit_check": "7",
- "expiration_date": "241231",
- "date_check_digit": "0",
- "emission_and_fuar": "06-16540",
- "mothers_last_name": "GONZALEZ",
- "expiration_date_digit": "9",
- "section_and_consecutive": "54236975896321",
- "is_cic_digit_check_consistent": true
}, - "ocr_frontside": {
- "city": "XOCHIMILCO",
- "curp": "PEGU990311HDFRMZA4",
- "name": "JUAN",
- "type": "INE",
- "gender": "H",
- "street": "CALLE 1",
- "city_id": null,
- "control": "2",
- "ine_type": "EFGH",
- "province": "CDMX",
- "state_id": null,
- "zip_code": "01000",
- "last_name": "PEREZ",
- "birth_date": "1999-03-11",
- "elector_key": "PRJMER99031109H900",
- "neighborhood": "COL CENTRO",
- "emission_number": "06",
- "expiration_date": null,
- "mothers_last_name": "GOZALEZ"
}, - "is_address_complete": true
}, - "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z"
}
]
}
}
Crear un token de acceso y una URL de ejecución del flujo (soporte para encoding seguro).
Genera un token de acceso público y una URL para ejecutar el Flujo, útil cuando existen problemas de encoding en la URL.
Authorizations:
path Parameters
uuid required | string Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del Flujo. |
Request Body schema: application/json
Parámetros requeridos para la creación de un token.
redirect_url | string URL al que se redireccionara al terminar el Flujo |
Responses
Request samples
- Payload
{
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "token": "16968|r45IXIJHr9QfpHayecgFOw1R9Cs36zundce7VYk7",
- "token_encoded": "MzZ8czJhQUpFOWI2Z3IyNGFLOVBFcnRJODRrZDhjZ2pDQ0hxWmFCWUtFMA%3D%3D",
- "expiration": "2021-03-26 00:05:15",
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "responsible_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "people_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "status": "string",
- "disable_geolocation": true,
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "lead_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "credit_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "skip_steps": {
- "document_sign": "enroll_full['payload']['biometrics']['matchLevel'] >= 5"
}, - "error": {
- "fatal": true,
- "extra": {
- "user_id": "uuid",
- "location": "US"
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "external_reference_id": 123456789,
- "callback_at": "2022-04-12T22:10:12Z",
- "expires_in": 60,
- "metadata": {
- "user_id": "uuid",
- "location": "US"
}, - "template_binding_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "rule_set_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "document_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "user_email": "user@example.com",
- "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z",
- "steps": [
- {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "workflow_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "custom_id": "1",
- "coordinates": [
- [
- "-99.123456",
- "19.123456"
]
], - "error": {
- "fatal": true,
- "extra": {
- "idScanStatus": 500,
- "faceScanStatus": 500
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "metadata": {
- "name": "enroll_full",
- "title": "Enrolamiento Completo",
- "description": "Enrolamiento biometrico y obtencion de selfie con identificacion oficial"
}, - "status": "string",
- "step": "document_sign",
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "payload": {
- "biometrics": {
- "safe": true,
- "success": true,
- "matchLevel": 7,
- "executed_at": "2023-04-27T21:29:06.162000Z",
- "referenceId": "dev-123adc51-ff0e-44f0-af93-456cad813dca",
- "wasProcessed": true,
- "nfcStatusEnumInt": 0,
- "fullIDStatusEnumInt": 0,
- "barcodeStatusEnumInt": 0,
- "matchLevelNFCToFaceMap": 0,
- "digitalIDSpoofStatusEnumInt": 0,
- "faceOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_FACE",
- "textOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_TEXT",
- "idScanAgeEstimateGroupEnumInt": 4
}, - "ocr_backside": {
- "cic": "8596841236",
- "date": "990311",
- "name": "JUAN",
- "lines": [
- "IDMEX85968412367<<4578965896412",
- "9903110H3112319MEX<06<<16540<3",
- "PEREZ<GONZALES<<JUAN<<<<<<<<<<"
], - "gender": "H",
- "last_name": "PEREZ",
- "last_names": "PEREZ GONZALES",
- "ocr_number": "4578965896412",
- "nationality": "MEX",
- "cic_digit_check": "7",
- "expiration_date": "241231",
- "date_check_digit": "0",
- "emission_and_fuar": "06-16540",
- "mothers_last_name": "GONZALEZ",
- "expiration_date_digit": "9",
- "section_and_consecutive": "54236975896321",
- "is_cic_digit_check_consistent": true
}, - "ocr_frontside": {
- "city": "XOCHIMILCO",
- "curp": "PEGU990311HDFRMZA4",
- "name": "JUAN",
- "type": "INE",
- "gender": "H",
- "street": "CALLE 1",
- "city_id": null,
- "control": "2",
- "ine_type": "EFGH",
- "province": "CDMX",
- "state_id": null,
- "zip_code": "01000",
- "last_name": "PEREZ",
- "birth_date": "1999-03-11",
- "elector_key": "PRJMER99031109H900",
- "neighborhood": "COL CENTRO",
- "emission_number": "06",
- "expiration_date": null,
- "mothers_last_name": "GOZALEZ"
}, - "is_address_complete": true
}, - "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z"
}
]
}
}
Response samples
- 200
- 404
{- "success": true,
- "result": [
- {
- "key": "enroll_simple",
- "title": "Enrolamiento simple",
- "description": "Setup de enrolamiento por medio de CURP.",
- "setup_required": "false,",
- "requires_people": "false,",
- "setup": { },
- "allow_multiple": "false,",
- "geolocation": false
}
]
}
Consultar el detalle de un Step de un flujo.
Authorizations:
path Parameters
uuid required | string Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador del Step |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "workflow_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "custom_id": "1",
- "coordinates": [
- [
- "-99.123456",
- "19.123456"
]
], - "error": {
- "fatal": true,
- "extra": {
- "idScanStatus": 500,
- "faceScanStatus": 500
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "metadata": {
- "name": "enroll_full",
- "title": "Enrolamiento Completo",
- "description": "Enrolamiento biometrico y obtencion de selfie con identificacion oficial"
}, - "status": "string",
- "step": "document_sign",
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "payload": {
- "biometrics": {
- "safe": true,
- "success": true,
- "matchLevel": 7,
- "executed_at": "2023-04-27T21:29:06.162000Z",
- "referenceId": "dev-123adc51-ff0e-44f0-af93-456cad813dca",
- "wasProcessed": true,
- "nfcStatusEnumInt": 0,
- "fullIDStatusEnumInt": 0,
- "barcodeStatusEnumInt": 0,
- "matchLevelNFCToFaceMap": 0,
- "digitalIDSpoofStatusEnumInt": 0,
- "faceOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_FACE",
- "textOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_TEXT",
- "idScanAgeEstimateGroupEnumInt": 4
}, - "ocr_backside": {
- "cic": "8596841236",
- "date": "990311",
- "name": "JUAN",
- "lines": [
- "IDMEX85968412367<<4578965896412",
- "9903110H3112319MEX<06<<16540<3",
- "PEREZ<GONZALES<<JUAN<<<<<<<<<<"
], - "gender": "H",
- "last_name": "PEREZ",
- "last_names": "PEREZ GONZALES",
- "ocr_number": "4578965896412",
- "nationality": "MEX",
- "cic_digit_check": "7",
- "expiration_date": "241231",
- "date_check_digit": "0",
- "emission_and_fuar": "06-16540",
- "mothers_last_name": "GONZALEZ",
- "expiration_date_digit": "9",
- "section_and_consecutive": "54236975896321",
- "is_cic_digit_check_consistent": true
}, - "ocr_frontside": {
- "city": "XOCHIMILCO",
- "curp": "PEGU990311HDFRMZA4",
- "name": "JUAN",
- "type": "INE",
- "gender": "H",
- "street": "CALLE 1",
- "city_id": null,
- "control": "2",
- "ine_type": "EFGH",
- "province": "CDMX",
- "state_id": null,
- "zip_code": "01000",
- "last_name": "PEREZ",
- "birth_date": "1999-03-11",
- "elector_key": "PRJMER99031109H900",
- "neighborhood": "COL CENTRO",
- "emission_number": "06",
- "expiration_date": null,
- "mothers_last_name": "GOZALEZ"
}, - "is_address_complete": true
}, - "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z"
}
}
Obtener los archivos multimedia (videos, imágenes, documentos) asociados a un Step.
Authorizations:
path Parameters
uuid required | string Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador del Step |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": [
- {
- "collection": "id_back",
- "created_at": "2021-03-26T01:06:59Z",
- "mime": "image/jpeg",
- "uuid": "52a7ac96-807f-4675-98a6-48d7383ade60",
- "size": 1500,
}
]
}
Obtener los archivos multimedia (videos, imágenes, documentos) asociados a un Step.
Authorizations:
path Parameters
uuid required | string Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador del Step |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": [
- {
- "collection": "id_back",
- "created_at": "2021-03-26T01:06:59Z",
- "mime": "image/jpeg",
- "uuid": "52a7ac96-807f-4675-98a6-48d7383ade60",
- "size": 1500,
}
]
}
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "data": [
- {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Template 1",
- "description": "Template 1",
- "config": {
- "metadata": {
- "user_id": "9c701122-defd-4ee7-9cd2-c4eca68b7af2"
}, - "expires_in": 20,
- "disable_geolocation": true
}, - "steps": [
- "acceptance"
], - "steps_setup": {
- "verify_email": { },
- "personal_address": { }
}, - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20
}
}
Crear una nueva plantilla de workflow.
Authorizations:
Request Body schema: application/json
name | string Nombre de la plantilla de workflow |
description | string Descripcion de la plantilla de workflow |
steps | Array of strings Items Enum: "acceptance" "auth" "biometric_sign" "cdc_authorization" "document_analyzer" "document_preview" "document_qr" "document_sign" "enroll_basic" "enroll_full" "enroll_simple" "files_upload" "personal_address" "verify_email" "verify_phone_number" "video_sign_step" Arreglo de pasos de la plantilla de workflow |
config | object Objeto de configuracion de la plantilla de workflow |
steps_setup | object |
Responses
Request samples
- Payload
{- "name": "Workflow Template 1",
- "description": "Workflow Template 1 description",
- "steps": [
- "acceptance"
], - "config": {
- "metadata": {
- "user_id": "{{$guid}}"
}, - "expires_in": 20,
- "disable_geolocation": true
}, - "steps_setup": {
- "personal_address": { },
- "verify_email": { }
}
}
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Template 1",
- "description": "Template 1",
- "config": {
- "metadata": {
- "user_id": "9c701122-defd-4ee7-9cd2-c4eca68b7af2"
}, - "expires_in": 20,
- "disable_geolocation": true
}, - "steps": [
- "acceptance"
], - "steps_setup": {
- "verify_email": { },
- "personal_address": { }
}, - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Obtener los detalles de una plantilla de workflow.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único de la plantilla de workflow. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Template 1",
- "description": "Template 1",
- "config": {
- "metadata": {
- "user_id": "9c701122-defd-4ee7-9cd2-c4eca68b7af2"
}, - "expires_in": 20,
- "disable_geolocation": true
}, - "steps": [
- "acceptance"
], - "steps_setup": {
- "verify_email": { },
- "personal_address": { }
}, - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Actualizar una plantilla de workflow.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único de la plantilla de workflow. |
Request Body schema: application/json
name | string Nombre de la plantilla de workflow |
description | string Descripcion de la plantilla de workflow |
steps | Array of strings Items Enum: "acceptance" "auth" "biometric_sign" "cdc_authorization" "document_analyzer" "document_preview" "document_qr" "document_sign" "enroll_basic" "enroll_full" "enroll_simple" "files_upload" "personal_address" "verify_email" "verify_phone_number" "video_sign_step" Arreglo de pasos de la plantilla de workflow |
config | object Objeto de configuracion de la plantilla de workflow |
steps_setup | object |
Responses
Request samples
- Payload
{- "name": "Workflow Template 1",
- "description": "Workflow Template 1 description",
- "steps": [
- "acceptance"
], - "config": {
- "metadata": {
- "user_id": "{{$guid}}"
}, - "expires_in": 20,
- "disable_geolocation": true
}, - "steps_setup": {
- "personal_address": { },
- "verify_email": { }
}
}
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Template 1",
- "description": "Template 1",
- "config": {
- "metadata": {
- "user_id": "9c701122-defd-4ee7-9cd2-c4eca68b7af2"
}, - "expires_in": 20,
- "disable_geolocation": true
}, - "steps": [
- "acceptance"
], - "steps_setup": {
- "verify_email": { },
- "personal_address": { }
}, - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Crear un workflow a partir de una plantilla de workflow.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único de la plantilla de workflow. |
Request Body schema: application/json
overwrites | object Objeto de configuracion de la plantilla de workflow |
Responses
Request samples
- Payload
{- "overwrites": {
- "setup": {
- "enroll_full": {
- "user_id": "86b9535d-50d9-419c-9965-ee4db5956871"
}, - "verify_email": {
- "user_id": "86b9535d-50d9-419c-9965-ee4db5956871"
}
}
}
}
Response samples
- 201
- 400
- 404
{- "success": true,
- "result": {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "responsible_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "people_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "status": "string",
- "disable_geolocation": true,
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "lead_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "credit_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "skip_steps": {
- "document_sign": "enroll_full['payload']['biometrics']['matchLevel'] >= 5"
}, - "error": {
- "fatal": true,
- "extra": {
- "user_id": "uuid",
- "location": "US"
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "external_reference_id": 123456789,
- "callback_at": "2022-04-12T22:10:12Z",
- "expires_in": 60,
- "metadata": {
- "user_id": "uuid",
- "location": "US"
}, - "template_binding_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "rule_set_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "document_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "user_email": "user@example.com",
- "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z",
- "steps": [
- {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "workflow_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "custom_id": "1",
- "coordinates": [
- [
- "-99.123456",
- "19.123456"
]
], - "error": {
- "fatal": true,
- "extra": {
- "idScanStatus": 500,
- "faceScanStatus": 500
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "metadata": {
- "name": "enroll_full",
- "title": "Enrolamiento Completo",
- "description": "Enrolamiento biometrico y obtencion de selfie con identificacion oficial"
}, - "status": "string",
- "step": "document_sign",
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "payload": {
- "biometrics": {
- "safe": true,
- "success": true,
- "matchLevel": 7,
- "executed_at": "2023-04-27T21:29:06.162000Z",
- "referenceId": "dev-123adc51-ff0e-44f0-af93-456cad813dca",
- "wasProcessed": true,
- "nfcStatusEnumInt": 0,
- "fullIDStatusEnumInt": 0,
- "barcodeStatusEnumInt": 0,
- "matchLevelNFCToFaceMap": 0,
- "digitalIDSpoofStatusEnumInt": 0,
- "faceOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_FACE",
- "textOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_TEXT",
- "idScanAgeEstimateGroupEnumInt": 4
}, - "ocr_backside": {
- "cic": "8596841236",
- "date": "990311",
- "name": "JUAN",
- "lines": [
- "IDMEX85968412367<<4578965896412",
- "9903110H3112319MEX<06<<16540<3",
- "PEREZ<GONZALES<<JUAN<<<<<<<<<<"
], - "gender": "H",
- "last_name": "PEREZ",
- "last_names": "PEREZ GONZALES",
- "ocr_number": "4578965896412",
- "nationality": "MEX",
- "cic_digit_check": "7",
- "expiration_date": "241231",
- "date_check_digit": "0",
- "emission_and_fuar": "06-16540",
- "mothers_last_name": "GONZALEZ",
- "expiration_date_digit": "9",
- "section_and_consecutive": "54236975896321",
- "is_cic_digit_check_consistent": true
}, - "ocr_frontside": {
- "city": "XOCHIMILCO",
- "curp": "PEGU990311HDFRMZA4",
- "name": "JUAN",
- "type": "INE",
- "gender": "H",
- "street": "CALLE 1",
- "city_id": null,
- "control": "2",
- "ine_type": "EFGH",
- "province": "CDMX",
- "state_id": null,
- "zip_code": "01000",
- "last_name": "PEREZ",
- "birth_date": "1999-03-11",
- "elector_key": "PRJMER99031109H900",
- "neighborhood": "COL CENTRO",
- "emission_number": "06",
- "expiration_date": null,
- "mothers_last_name": "GOZALEZ"
}, - "is_address_complete": true
}, - "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z"
}
]
}
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "current_page": 1,
- "data": [
- {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Template Binding 1",
- "template_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "text_bindings": {
- "77cf87f8-385a-463a-8088-c95322d70b95": {
- "steps": [
- "personal_address"
], - "template": "{personal_address.country}"
}, - "c6e6c76e-5a15-4f5f-9649-795da3d54f00": {
- "steps": [
- "verify_email"
], - "template": "{verify_email.email}"
}
}, - "sign_bindings": [
- "77cf87f8-385a-463a-8088-c95322d70b95",
- "c6e6c76e-5a15-4f5f-9649-795da3d54f00"
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "from": 1,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20
}
}
Crear un nuevo template binding.
Authorizations:
Request Body schema: application/json
name | string Nombre del template binding |
text_bindings | object Objeto de campos de texto del template binding |
sign_bindings | Array of strings <uuid> Arreglo de campos de firma del template binding |
template_uuid | string Identificador del template |
Responses
Request samples
- Payload
{- "name": "Template Binding 1",
- "text_bindings": {
- "c6e6c76e-5a15-4f5f-9649-795da3d54f00": {
- "steps": [
- "verify_email"
], - "template": "{verify_email.email}"
}
}, - "sign_bindings": [
- "faf108d5-0fd4-4802-8e31-71b7a812680b"
], - "template_uuid": "86b9535d-50d9-419c-9965-ee4db5956871"
}
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Template Binding 1",
- "template_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "text_bindings": {
- "77cf87f8-385a-463a-8088-c95322d70b95": {
- "steps": [
- "personal_address"
], - "template": "{personal_address.country}"
}, - "c6e6c76e-5a15-4f5f-9649-795da3d54f00": {
- "steps": [
- "verify_email"
], - "template": "{verify_email.email}"
}
}, - "sign_bindings": [
- "77cf87f8-385a-463a-8088-c95322d70b95",
- "c6e6c76e-5a15-4f5f-9649-795da3d54f00"
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Validar la sintaxis de una expresión.
Authorizations:
Request Body schema: application/json
expression | string Expresion a validar |
Responses
Request samples
- Payload
{- "expression": "5 > 10 ? 'true': 'false'"
}
Response samples
- 200
- 400
{- "success": true,
- "result": "Ok"
}
Consultar un template binding específico.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del template binding. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Template Binding 1",
- "template_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "text_bindings": {
- "77cf87f8-385a-463a-8088-c95322d70b95": {
- "steps": [
- "personal_address"
], - "template": "{personal_address.country}"
}, - "c6e6c76e-5a15-4f5f-9649-795da3d54f00": {
- "steps": [
- "verify_email"
], - "template": "{verify_email.email}"
}
}, - "sign_bindings": [
- "77cf87f8-385a-463a-8088-c95322d70b95",
- "c6e6c76e-5a15-4f5f-9649-795da3d54f00"
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Actualizar un template binding existente.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del template binding. |
Request Body schema: application/json
name | string Nombre del template binding |
text_bindings | object Objeto de campos de texto del template binding |
sign_bindings | Array of strings Arreglo de campos de firma del template binding |
Responses
Request samples
- Payload
{- "name": "Template Binding 1",
- "text_bindings": {
- "c6e6c76e-5a15-4f5f-9649-795da3d54f00": {
- "steps": [
- "verify_email"
], - "template": "{verify_email.email}"
}
}, - "sign_bindings": [
- "faf108d5-0fd4-4802-8e31-71b7a812680b"
]
}
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Template Binding 1",
- "template_uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "text_bindings": {
- "77cf87f8-385a-463a-8088-c95322d70b95": {
- "steps": [
- "personal_address"
], - "template": "{personal_address.country}"
}, - "c6e6c76e-5a15-4f5f-9649-795da3d54f00": {
- "steps": [
- "verify_email"
], - "template": "{verify_email.email}"
}
}, - "sign_bindings": [
- "77cf87f8-385a-463a-8088-c95322d70b95",
- "c6e6c76e-5a15-4f5f-9649-795da3d54f00"
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "data": [
- {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20
}
}
Crear una nueva regla de knockout.
Authorizations:
Request Body schema: application/json
name | string Nombre de la regla de knockout |
template | string Plantilla de knockout |
active | boolean Indica si la regla de knockout esta activa |
step | string Enum: "acceptance" "auth" "biometric_sign" "cdc_authorization" "document_analyzer" "document_preview" "document_qr" "document_sign" "enroll_basic" "enroll_full" "enroll_simple" "files_upload" "personal_address" "verify_email" "verify_phone_number" Tipo de step |
Responses
Request samples
- Payload
{- "name": "Knockout Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "acceptance"
}
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Consultar los detalles de una regla de knockout.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único de la regla de knockout. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Actualizar una regla de knockout.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único de la regla de knockout. |
Request Body schema: application/json
name | string Nombre de la regla de knockout |
template | string Plantilla de knockout |
active | boolean Indica si la regla de knockout esta activa |
step | string Enum: "acceptance" "auth" "biometric_sign" "cdc_authorization" "document_analyzer" "document_preview" "document_qr" "document_sign" "enroll_basic" "enroll_full" "enroll_simple" "files_upload" "personal_address" "verify_email" "verify_phone_number" Tipo de step |
Responses
Request samples
- Payload
{- "name": "Knockout Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "acceptance"
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "data": [
- {
- "name": "Rule Set 1",
- "description": "Rule Set 1",
- "active": true,
- "knockoutRules": [
- {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20
}
}
Crear un conjunto de reglas.
Authorizations:
Request Body schema: application/json
name | string Nombre del conjunto de reglas |
description | string Descripcion del conjunto de reglas |
active | boolean Indica si el conjunto de reglas esta activo |
knockout_rules | Array of strings <uuid> Arreglo de reglas |
Responses
Request samples
- Payload
{- "name": "Rule Set 1",
- "description": "Rule Set 1 description",
- "active": true,
- "knockout_rules": [
- "86b9535d-50d9-419c-9965-ee4db5956871",
- "86b9535d-50d9-419c-9965-ee4db5956871"
]
}
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "name": "Rule Set 1",
- "description": "Rule Set 1",
- "active": true,
- "knockoutRules": [
- {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Consultar los detalles de un conjunto de reglas.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del conjunto de reglas. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "name": "Rule Set 1",
- "description": "Rule Set 1",
- "active": true,
- "knockoutRules": [
- {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Actualizar un conjunto de reglas existente.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del conjunto de reglas. |
Request Body schema: application/json
name | string Nombre del conjunto de reglas |
description | string Descripcion del conjunto de reglas |
active | boolean Indica si el conjunto de reglas esta activo |
Responses
Request samples
- Payload
{- "name": "Rule Set 1",
- "description": "Rule Set 1 description",
- "active": true
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "name": "Rule Set 1",
- "description": "Rule Set 1",
- "active": true,
- "knockoutRules": [
- {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Agregar reglas a un conjunto ya existente.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del conjunto de reglas. |
Request Body schema: application/json
knockout_rules | Array of strings <uuid> Arreglo de reglas |
Responses
Request samples
- Payload
{- "knockout_rules": [
- "86b9535d-50d9-419c-9965-ee4db5956871",
- "86b9535d-50d9-419c-9965-ee4db5956871"
]
}
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "name": "Rule Set 1",
- "description": "Rule Set 1",
- "active": true,
- "knockoutRules": [
- {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Eliminar reglas de un conjunto.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único del conjunto de reglas. |
Request Body schema: application/json
knockout_rules | Array of strings <uuid> Arreglo de reglas |
Responses
Request samples
- Payload
{- "knockout_rules": [
- "86b9535d-50d9-419c-9965-ee4db5956871",
- "86b9535d-50d9-419c-9965-ee4db5956871"
]
}
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "name": "Rule Set 1",
- "description": "Rule Set 1",
- "active": true,
- "knockoutRules": [
- {
- "name": "Rule 1",
- "template": "email != 'example@example.com'",
- "active": true,
- "step": "verify_email",
- "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
], - "created_at": "2021-03-26T01:06:59Z",
- "updated_at": "2021-03-26T01:06:59Z"
}
}
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "data": [
- {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Customization 1",
- "values": {
- "auth": {
- "title": "Autentica con tu rostro",
- "errors": {
- "an_error_occurred": "Ocurrió un problema"
}, - "legend": "Coloca tu rostro en el recuadro",
- "description": "Sigue las instrucciones para validar tu identidad."
}
}
}
], - "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20
}
}
Crear una nueva personalización.
Authorizations:
Request Body schema: application/json
name | string Nombre de la personalizacion |
values | object Valores de la personalizacion |
Responses
Request samples
- Payload
{- "name": "Customization 1",
- "values": {
- "auth": {
- "title": "Autentica con tu rostro",
- "errors": {
- "an_error_occurred": "Ocurrió un problema"
}, - "legend": "Coloca tu rostro en el recuadro",
- "description": "Sigue las instrucciones para validar tu identidad."
}
}
}
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Customization 1",
- "values": {
- "auth": {
- "title": "Autentica con tu rostro",
- "errors": {
- "an_error_occurred": "Ocurrió un problema"
}, - "legend": "Coloca tu rostro en el recuadro",
- "description": "Sigue las instrucciones para validar tu identidad."
}
}
}
}
Consultar una personalización específica.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único de la personalización. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Customization 1",
- "values": {
- "auth": {
- "title": "Autentica con tu rostro",
- "errors": {
- "an_error_occurred": "Ocurrió un problema"
}, - "legend": "Coloca tu rostro en el recuadro",
- "description": "Sigue las instrucciones para validar tu identidad."
}
}
}
}
Actualizar una personalización existente.
Authorizations:
path Parameters
uuid required | string <uuid> Example: 86b9535d-50d9-419c-9965-ee4db5956871 Identificador único de la personalización. |
Request Body schema: application/json
name | string Nombre de la personalizacion |
values | object Valores de la personalizacion |
Responses
Request samples
- Payload
{- "name": "Customization 1",
- "values": {
- "auth": {
- "title": "Autentica con tu rostro",
- "errors": {
- "an_error_occurred": "Ocurrió un problema"
}, - "legend": "Coloca tu rostro en el recuadro",
- "description": "Sigue las instrucciones para validar tu identidad."
}
}
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "uuid": "86b9535d-50d9-419c-9965-ee4db5956871",
- "name": "Customization 1",
- "values": {
- "auth": {
- "title": "Autentica con tu rostro",
- "errors": {
- "an_error_occurred": "Ocurrió un problema"
}, - "legend": "Coloca tu rostro en el recuadro",
- "description": "Sigue las instrucciones para validar tu identidad."
}
}
}
}
Notificacion de actualizacion de Step/Flujo Webhook
Authorizations:
Request Body schema: application/json
event | string Enum: "update" "create" |
resource | string Enum: "workflow" "step" |
resource_uuid | string |
Workflow (object) or WorkflowStep (object) |
Responses
Request samples
- Payload
{- "event": "update",
- "resource": "workflow",
- "resource_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "payload": {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "responsible_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "people_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "status": "string",
- "disable_geolocation": true,
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "lead_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "credit_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "skip_steps": {
- "document_sign": "enroll_full['payload']['biometrics']['matchLevel'] >= 5"
}, - "error": {
- "fatal": true,
- "extra": {
- "user_id": "uuid",
- "location": "US"
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "external_reference_id": 123456789,
- "callback_at": "2022-04-12T22:10:12Z",
- "expires_in": 60,
- "metadata": {
- "user_id": "uuid",
- "location": "US"
}, - "template_binding_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "rule_set_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "document_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "user_email": "user@example.com",
- "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z",
- "steps": [
- {
- "uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "workflow_uuid": "cf455647-34ad-4bf2-900a-83f385b07927",
- "custom_id": "1",
- "coordinates": [
- [
- "-99.123456",
- "19.123456"
]
], - "error": {
- "fatal": true,
- "extra": {
- "idScanStatus": 500,
- "faceScanStatus": 500
}, - "details": {
- "reason": "Error al obtener la selfie",
- "error_id": 500,
- "stack": "Error al obtener la selfie"
}
}, - "metadata": {
- "name": "enroll_full",
- "title": "Enrolamiento Completo",
- "description": "Enrolamiento biometrico y obtencion de selfie con identificacion oficial"
}, - "status": "string",
- "step": "document_sign",
- "started_at": "2022-04-12T22:10:12Z",
- "finished_at": "2022-04-12T22:10:12Z",
- "payload": {
- "biometrics": {
- "safe": true,
- "success": true,
- "matchLevel": 7,
- "executed_at": "2023-04-27T21:29:06.162000Z",
- "referenceId": "dev-123adc51-ff0e-44f0-af93-456cad813dca",
- "wasProcessed": true,
- "nfcStatusEnumInt": 0,
- "fullIDStatusEnumInt": 0,
- "barcodeStatusEnumInt": 0,
- "matchLevelNFCToFaceMap": 0,
- "digitalIDSpoofStatusEnumInt": 0,
- "faceOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_FACE",
- "textOnDocumentStatusEnumInt": "LIKELY_ORIGINAL_TEXT",
- "idScanAgeEstimateGroupEnumInt": 4
}, - "ocr_backside": {
- "cic": "8596841236",
- "date": "990311",
- "name": "JUAN",
- "lines": [
- "IDMEX85968412367<<4578965896412",
- "9903110H3112319MEX<06<<16540<3",
- "PEREZ<GONZALES<<JUAN<<<<<<<<<<"
], - "gender": "H",
- "last_name": "PEREZ",
- "last_names": "PEREZ GONZALES",
- "ocr_number": "4578965896412",
- "nationality": "MEX",
- "cic_digit_check": "7",
- "expiration_date": "241231",
- "date_check_digit": "0",
- "emission_and_fuar": "06-16540",
- "mothers_last_name": "GONZALEZ",
- "expiration_date_digit": "9",
- "section_and_consecutive": "54236975896321",
- "is_cic_digit_check_consistent": true
}, - "ocr_frontside": {
- "city": "XOCHIMILCO",
- "curp": "PEGU990311HDFRMZA4",
- "name": "JUAN",
- "type": "INE",
- "gender": "H",
- "street": "CALLE 1",
- "city_id": null,
- "control": "2",
- "ine_type": "EFGH",
- "province": "CDMX",
- "state_id": null,
- "zip_code": "01000",
- "last_name": "PEREZ",
- "birth_date": "1999-03-11",
- "elector_key": "PRJMER99031109H900",
- "neighborhood": "COL CENTRO",
- "emission_number": "06",
- "expiration_date": null,
- "mothers_last_name": "GOZALEZ"
}, - "is_address_complete": true
}, - "updated_at": "2022-04-12T22:10:12Z",
- "created_at": "2022-04-12T22:10:12Z"
}
]
}
}