Plataforma para gestión y firma de documentos digitales. (stable)
Download OpenAPI specification:Download
Servicio para crear documentos digitales personalizables y firmarlos conforme a la NOM 151 mexicana. Permite adaptar los documentos a diferentes necesidades y escenarios de uso. Soporta integración de múltiples campos, metadatos y elementos digitales.
Con estos endpoint se manejan todos los templates que son la base para la construcción de documentos, desde la creación de la base a través de un documento PDF así como el nombre y la descripción del propósito de este template.
Recupera una lista de plantillas disponibles.
Authorizations:
query Parameters
search | string Example: search=test |
Responses
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20,
- "data": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test",
- "description": "Template test",
- "pages": 5,
- "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
]
}
}
Crea una nueva plantilla.
Authorizations:
Request Body schema: multipart/form-data
Realiza una solicitud multipart/form-data para crear una plantilla. Se deben incluir los campos necesarios y el archivo base.
name | string Nombre del template |
description | string Descripción del template |
template | string <binary> El archivo PDF del template |
template_tmp_id | string <uuid> Uuid del archivo si se subio con el api de archivos temporales |
Responses
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test",
- "description": "Template test",
- "pages": 5,
- "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z",
}
}
Obtiene los detalles de una plantilla específica.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 El ID del template |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test",
- "description": "Template test",
- "pages": 5,
- "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z",
- "elements": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Campo 2",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "type": 1,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "default_value": "Valor por defecto",
- "metadata": {
- "font": "times",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "vertical_align": "C",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "string",
- "max:50"
], - "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
]
}
}
Actualiza una plantilla existente.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único de la plantilla a modificar. |
Request Body schema: multipart/form-data
Realiza una solicitud multipart/form-data para actualizar una plantilla. Incluye campos y archivo base si se requiere reemplazo.
name | string |
description | string |
template | string <binary> |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test",
- "description": "Template test",
- "pages": 5,
- "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z",
- "elements": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Campo 2",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "type": 1,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "default_value": "Valor por defecto",
- "metadata": {
- "font": "times",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "vertical_align": "C",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "string",
- "max:50"
], - "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
]
}
}
Reemplaza el archivo base de una plantilla.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único de la plantilla cuyo archivo será reemplazado. |
Request Body schema: multipart/form-data
Realiza una solicitud multipart/form-data para cambiar el archivo base de la plantilla.
template | string <binary> |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test",
- "description": "Template test",
- "pages": 5,
- "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z",
}
}
Con estos endpoint se manejan todos los elementos de los templates para indicar los campos personalizables de los documentos, desde imágenes, texto y hasta firmas así como las posiciones en el documento de estos.
Obtiene una lista de elementos asociados a plantillas.
Authorizations:
query Parameters
template_id | string Example: template_id=51319186-a4a0-4497-a3c9-ebdbdaca0159 Template relacionado |
Responses
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20,
- "data": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Campo 2",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "type": 1,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "default_value": "Valor por defecto",
- "metadata": {
- "font": "times",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "vertical_align": "C",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "string",
- "max:50"
], - "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
]
}
}
Crea un nuevo elemento de plantilla.
Authorizations:
Request Body schema: application/json
Envia una solicitud application/json para crear un elemento de plantilla.
name | string Nombre del elemento de template |
Texto (1) (integer) or Imagen (2) (integer) or Firma (3) (integer) | |
page | integer >= 1 Pagina donde se insertará el elemento del template |
top | number >= 0 Posición desde arriba para insertar el elemento en la página |
left | number >= 0 Posición desde la izquierda para insertar el elemento en la página |
width | number >= 0 Ancho que ocupará el elemento en la página |
height | number >= 0 Altura que ocupará el elemento en la página |
object Metadata de un elemento de tipo Texto | |
rules | Array of strings Reglas de validación para el valor del elemento, referirse a la validación de laravel |
template_id | string El ID del template relacionado |
Responses
Request samples
- Payload
{- "name": "Campo Nombre",
- "type": 3,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "metadata": {
- "font": "string",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "string",
- "max:10"
], - "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159"
}
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Campo 2",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "type": 1,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "default_value": "Valor por defecto",
- "metadata": {
- "font": "times",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "vertical_align": "C",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "string",
- "max:50"
], - "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
}
Obtiene los detalles de un elemento de plantilla.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del elemento de plantilla. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Campo 2",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "type": 1,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "default_value": "Valor por defecto",
- "metadata": {
- "font": "times",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "vertical_align": "C",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "string",
- "max:50"
], - "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
}
Actualiza un elemento de plantilla existente.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del elemento de plantilla a actualizar. |
Request Body schema: application/json
Envia una solicitud application/json para modificar un elemento de plantilla.
name | string Nombre del elemento de template |
type | integer Tipo de elemento de template type 1 = Text, type 2 = Image, type 3 = Firma |
page | integer >= 1 Pagina donde se insertará el elemento del template |
top | number >= 0 Posición desde arriba para insertar el elemento en la página |
left | number >= 0 Posición desde la izquierda para insertar el elemento en la página |
width | number >= 0 Ancho que ocupará el elemento en la página |
height | number >= 0 Altura que ocupará el elemento en la página |
object Metadata de un elemento de tipo Texto | |
rules | Array of strings Reglas de validación para el valor del elemento, referirse a la validación de laravel |
template_id | string El ID del template relacionado |
Responses
Request samples
- Payload
{- "name": "Campo Nombre",
- "type": 1,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "metadata": {
- "font": "string",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "max:50"
], - "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159"
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Campo 2",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "type": 1,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "default_value": "Valor por defecto",
- "metadata": {
- "font": "times",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "vertical_align": "C",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "string",
- "max:50"
], - "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
}
Define una imagen por defecto para un elemento de plantilla tipo imagen.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 ID del elemento de plantilla (debe ser un elemento tipo imagen). |
Request Body schema: application/json
Solicita una carga multipart/form-data para establecer la imagen por defecto.
default_value | string <binary> La imagen a establecer como por defecto |
Responses
Request samples
- Payload
{- "default_value": "string"
}
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Campo 2",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "type": 1,
- "page": 1,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20,
- "default_value": "Valor por defecto",
- "metadata": {
- "font": "times",
- "font_size": 12,
- "font_style": "BI",
- "text_align": "J",
- "vertical_align": "C",
- "line_height": 1.25,
- "font_color_rgb": [
- 0,
- 0,
- 0
]
}, - "rules": [
- "required",
- "string",
- "max:50"
], - "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
}
Obtiene una lista de documentos en el sistema.
Authorizations:
query Parameters
search | string Example: search=test |
Responses
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20,
- "total": 87,
- "data": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
]
}
}
Crea un nuevo documento digital.
Authorizations:
Request Body schema: application/json
Envía una solicitud application/json para crear un documento. Incluye los datos requeridos en el cuerpo del mensaje.
name | string El nombre del Documento |
template_id | string El ID del template relacionado con el documento |
send_email | boolean Envía un email a todos los firmantes registrados después de sellar con nom 151 |
autosigning | boolean Bandera que indica si se firmara con NOM 151 el documento al terminar los usuarios de firmar |
callback_url | string URL en caso de que se quiera hacer llegar el documento al terminar el firmado de NOM 151. |
expires_in | integer Tiempo en minutos que durarán los tokens vinculados a este documento |
Array of objects Elementos del documento llenados, solo tipo Text |
Responses
Request samples
- Payload
{- "name": "Documento ejemplo",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "send_email": true,
- "autosigning": false,
- "expires_in": 15,
- "elements": [
- {
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "%16"
}
]
}
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string",
- "elements": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "Texto ejemplo",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z"
}
]
}
}
Verifica la validez de la firma FIEL en un documento.
Authorizations:
Request Body schema: multipart/form-data
file | string <binary> archivo pdf a verificar, tamaño maximo 2mb |
Responses
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "match": true,
- "hash": "f65cf09147392b539fd7fb12d6d8c2b6ffd3f403166e577bcfa04ec9fe0aadde",
- "timestamp_info": "signer cert serial number: 2A\r\nsigner cert issuer: L=Alvaro Obregon,ST=Ciudad de Mexico,C=MX,PostalCode=01030,STREET=Insurgentes Sur 1940\\, Col. Florida,CN=Autoridad Certificadora Raiz Segunda de Secretaria de Economia,OU=Direccion General de Normatividad Mercantil,O=Secretaria de Economia,E=acr2se@economia.gob.mx\r\ngenTime: 2021-08-24T21:28:57Z\r\ncertificates count: 1\r\nall certificates: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc; SKI=c2c859d69b38a1c13aa1bdab038e60bb32300210\r\nembedded certificate: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc; SKI=c2c859d69b38a1c13aa1bdab038e60bb32300210\r\nadding to certificate chain: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc\r\n1.2.840.113549.1.9.4=<Set oid='1.2.840.113549.1.9.4' name='pkcs9_messageDigest'></Set>\r\n1.2.840.113549.1.9.3=<Set oid='1.2.840.113549.1.9.3' name='pkcs9_contentType'></Set>\r\n1.2.840.113549.1.9.52=<Set oid='1.2.840.113549.1.9.52'></Set>\r\n1.2.840.113549.1.9.5=<Set oid='1.2.840.113549.1.9.5' name='pkcs9_signingTime'></Set>\r\n1.2.840.113549.1.9.16.2.47=<Set oid='1.2.840.113549.1.9.16.2.47' name='id_aa_signingCertificateV2'></Set>\r\n",
- "document": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
}
}
Comprueba la autenticidad de la firma FIEL en un documento.
Authorizations:
Request Body schema: multipart/form-data
signature | string <base64> Sello digital de la firma FIEL que aparece en el documento descriptivo |
cer | string <binary> Archivo .cer de la FIEL que se desea validar |
fiel_document | string <binary> Archivo pdf que se firma con la fiel |
fiel_doc_tmp_id | string <uuid> Uuid del archivo si se subio con el api de archivos temporales |
Responses
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "match": true
}
}
Consulta los detalles de un documento específico.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del documento a consultar. |
query Parameters
with_template_elems | boolean Example: with_template_elems=false |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string",
- "elements": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "Texto ejemplo",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z"
}
}
]
}
Actualiza un documento existente.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del documento a modificar. |
Request Body schema: application/json
Realiza una solicitud application/json para actualizar un documento. Incluye los campos que se deseen modificar.
name | string El nombre del Documento |
template_id | string El ID del template relacionado a este documento |
send_email | boolean Envía un email a todos los firmantes registrados después de sellar con nom 151 |
autosigning | boolean Bandera que indica si se firmara con NOM 151 el documento al terminar los usuarios de firmar |
callback_url | string URL en caso de que se quiera hacer llegar el documento al terminar el firmado de NOM 151. |
expires_in | integer Tiempo en minutos que durarán los tokens vinculados a este documento |
Responses
Request samples
- Payload
{- "name": "Documento ejemplo",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "send_email": true,
- "autosigning": false,
- "expires_in": 15
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
}
Genera un token para acceso público temporal a un documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del documento al que se asigna el token. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "token": "123|wWriJkT0VrduQAGHsNbiw5sG7tig5Z2BGu0kzWSR",
- "expiration": "2021-04-07T15:14:19Z"
}
}
Adjunta un archivo adicional a un documento existente.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador público del documento al que se adjunta el archivo. |
Request Body schema: multipart/form-data
Envia una solicitud multipart/form-data para adjuntar un archivo a un documento.
file | string <binary> Archivo a asociar con el documento |
collection | string Nombre para agrupar los archivos subidos |
Responses
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": "File uploaded"
}
Adjunta archivos al documento usando URLs o rutas de S3.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador público del documento al que se adjuntan archivos. |
Request Body schema: application/json
Envía una solicitud application/json con un arreglo de URLs o rutas S3 para adjuntar archivos.
urls | Array of strings |
paths | Array of strings |
collection | string Nombre para agrupar los archivos subidos |
Responses
Request samples
- Payload
{- "paths": [
- "/path/to/file.jpg"
], - "collection": "ine"
}
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": "Files Saved"
}
Obtiene la lista de archivos relacionados con un documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador público del documento para la consulta de archivos. |
query Parameters
expires_in required | integer Example: expires_in=5 Duración en minutos de validez para las URLs temporales generadas. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": [
- {
- "id": 240,
- "model_type": "App\\Models\\Document",
- "model_id": 78,
- "uuid": "bd7f4c53-c9ec-47ba-8f42-c1b2da5d03d7",
- "collection_name": "default",
- "name": "media-libraryNEDAom",
- "file_name": "Caratula-prueba.pdf",
- "mime_type": "application/pdf",
- "disk": "s3",
- "conversions_disk": "s3",
- "size": 131765,
- "manipulations": [ ],
- "custom_properties": [ ],
- "generated_conversions": [ ],
- "responsive_images": [ ],
- "order_column": 159,
- "created_at": "2021-08-10T15:24:25Z",
- "updated_at": "2021-08-10T15:24:25Z",
}
]
}
Elimina un archivo asociado a un documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador público del documento vinculado al archivo. |
query Parameters
collection required | string Example: collection=ine Colección a la que pertenece el archivo a eliminar. |
media_uuid required | string Example: media_uuid=bd7f4c53-c9ec-47ba-8f42-c1b2da5d03d7 Identificador UUID único del archivo multimedia. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": "Ok"
}
Si el documento ya fue firmado bajo NOM 151, los archivos se reenvían por correo a los firmantes.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador del documento cuyos firmantes recibirán los archivos. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": "Ok"
}
Completa los campos de texto de un documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador del documento donde se llenarán los elementos de texto. |
Request Body schema: application/json
Solicitud application/json para el llenado masivo de elementos de texto de un documento.
fields | object Objeto donde las key son los id del elemento del template y el value es el valor del elemento para el documento |
Responses
Request samples
- Payload
{- "fields": {
- "1319186-a4a0-4497-a3c9-ebdbdaca0159": "Test"
}
}
Response samples
- 200
- 400
{- "success": true,
- "result": [
- {
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "Texto ejemplo"
}
]
}
Agrega firmantes permanentes al documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador del documento donde se agregarán firmantes permanentes. |
Request Body schema: application/json
Array of objects | |||||||||||||
Array
|
Responses
Request samples
- Payload
{- "signers": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "password": "12345",
- "expires_in": 15,
- "only_digital_signature": false,
- "is_fiel_signature": false,
- "elements": [
- "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "78932121-c7b0-4497-c9c4-abdfcaca9874"
]
}
]
}
Response samples
- 200
- 400
{- "success": true,
- "result": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
]
}
Quita un firmante de un documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador del documento del que se removerá un firmante. |
query Parameters
signer_id required | string Example: signer_id=51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador del firmante que se desea eliminar del documento. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": "Ok"
}
Duplica un documento existente que fue creado desde un archivo.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador público del documento que se desea duplicar. |
Request Body schema: application/json
Solicitud application/json para duplicar un documento existente.
duplicate_signers | boolean Indica si se deben duplicar los firmantes del documento original |
document_name | string Nombre del nuevo documento duplicado |
send_email | boolean Indica si se debe enviar un email a los firmantes del documento duplicado |
expires_in | integer Tiempo en minutos que durarán los tokens vinculados a los firmantes del documento duplicado |
callback_url | string URL a la que se enviará una notificación cuando el documento sea firmado |
autosigning | boolean Indica si el documento debe ser firmado automáticamente por los firmantes |
Responses
Request samples
- Payload
{- "duplicate_signers": true,
- "document_name": "Documento Duplicado",
- "send_email": true,
- "expires_in": 15,
- "autosigning": false
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "signersDuplicated": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
], - "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
}
Apartado para el manejo de los valores que toman los campos a llenar de un template para un documento en específico
Recupera una lista de elementos asociados a documentos.
Authorizations:
query Parameters
document_id | string Example: document_id=51319186-a4a0-4497-a3c9-ebdbdaca0159 |
Responses
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20,
- "data": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "Texto ejemplo",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z"
}
]
}
}
Crea un nuevo elemento asociado a un documento.
Authorizations:
Request Body schema: multipart/form-data
Envia una solicitud multipart/form-data para crear un elemento de documento.
template_element_id | string El ID del elemento del template relacionado |
document_id | string El ID del documento relacionado |
value | string <binary> La imagen a insertar en el documento |
Responses
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "Texto ejemplo",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z"
}
}
Obtiene la información detallada de un elemento de documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del elemento de documento. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "Texto ejemplo",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z"
}
}
Actualiza un elemento asociado a un documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del elemento de documento a modificar. |
Request Body schema: application/json
Realiza una solicitud application/json para actualizar un elemento de documento.
template_element_id | string El ID del elemento del template relacionado |
document_id | string El ID del documento relacionado |
value | string <binary> La imagen a insertar en el documento |
Responses
Request samples
- Payload
{- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "Texto ejemplo"
}
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "value": "Texto ejemplo",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z"
}
}
En este apartado se pueden modificar los elementos del historial de eventos que aparecen en la hoja extra de los documentos certificados con NOM 151, estos pueden incluir texto acompañado de imágenes para una mejor interpretación.
Consulta los eventos o historial de un documento.
Authorizations:
query Parameters
document_id | string Example: document_id=51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador del documento cuyos eventos serán consultados. |
Responses
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20,
- "data": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "description": "Validación ine",
- "event_timestamp": "2021-03-10T19:57:06Z",
- "created_at": "2021-03-10T19:57:06Z",
- "updated_at": "2021-03-10T19:57:06Z"
}
]
}
}
Registra un nuevo evento en el historial de un documento.
Authorizations:
Request Body schema: multipart/form-data
Envía una solicitud multipart/form-data para crear eventos, incluyendo imágenes opcionalmente.
document_id | string |
description | string |
images | Array of strings <binary> <= 3 items |
event_timestamp | string |
Responses
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "description": "Validación ine",
- "event_timestamp": "2021-03-10T19:57:06Z",
- "created_at": "2021-03-10T19:57:06Z",
- "updated_at": "2021-03-10T19:57:06Z"
}
}
Recupera los detalles del evento indicado.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del evento a consultar. |
Responses
Response samples
- 200
- 404
{- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "description": "Validación ine",
- "event_timestamp": "2021-03-10T19:57:06Z",
- "created_at": "2021-03-10T19:57:06Z",
- "updated_at": "2021-03-10T19:57:06Z"
}
Actualiza los datos de un evento existente.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del evento a modificar. |
Request Body schema: application/json
Solicitud application/json para actualizar los datos del evento.
document_id | string |
description | string |
event_timestamp | string |
Responses
Request samples
- Payload
{- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "description": "Validación ine",
- "event_timestamp": "2021-03-10T19:57:06Z"
}
Response samples
- 200
- 400
- 404
{- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "description": "Validación ine",
- "event_timestamp": "2021-03-10T19:57:06Z",
- "created_at": "2021-03-10T19:57:06Z",
- "updated_at": "2021-03-10T19:57:06Z"
}
En este apartado se se crean documentos a partir de PDFs ya generados, solo para que se añadan las firmas de los firmantes.
Crea un documento a partir de un archivo proporcionado.
Authorizations:
Request Body schema: multipart/form-data
Solicita la creación de un documento mediante multipart/form-data adjuntando el archivo base.
document_name | string |
file | string <binary> |
send_email | boolean |
autosigning | boolean Bandera que indica si se firmara con NOM 151 el documento al terminar los usuarios de firmar |
callback_url | string URL en caso de que se quiera hacer llegar el documento al terminar el firmado de NOM 151. |
expires_in | integer |
Responses
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
}
Agrega campos de firma a un documento generado a partir de un archivo.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador público del documento donde se agregan los campos de firma. |
Request Body schema: application/json
Solicitud application/json con los datos de los firmantes a agregar al documento generado desde PDF.
Array of objects | |||||||||||||||||||||||||
Array
|
Responses
Request samples
- Payload
{- "signers": [
- {
- "name": "Juan Perez",
- "email": "test@test.com",
- "country": "MX",
- "state": "Ciudad de México",
- "locality": "Xochimilco",
- "organization": "Comp_Test",
- "is_fiel_signature": false,
- "password": "123456",
- "include_name_in_signature": false,
- "expires_in": 15,
- "external_person_id": null,
- "meta_signs": [
- {
- "page": 1,
- "is_default": false,
- "top": 20,
- "left": 20,
- "width": 50,
- "height": 20
}
]
}
]
}
Response samples
- 200
- 400
{- "success": true,
- "result": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "token": "126|O0mzWkpVauNj6kXy3HFBvwa7mJnfDAqKZCF4sCFL",
- "expiration_date": "2021-04-07T15:14:19Z"
}
]
}
Verifica si un documento ha sido firmado previamente.
Authorizations:
Request Body schema: multipart/form-data
Envia una solicitud multipart/form-data incluyendo el documento que se desea validar.
file | string <binary> Archivo PDF a verificar |
file_tmp_id | string <uuid> Uuid del archivo si se subio con el api de archivos temporales |
sha256 | string <sha256> |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "match": true,
- "hash": "f65cf09147392b539fd7fb12d6d8c2b6ffd3f403166e577bcfa04ec9fe0aadde",
- "timestamp_info": "signer cert serial number: 2A\r\nsigner cert issuer: L=Alvaro Obregon,ST=Ciudad de Mexico,C=MX,PostalCode=01030,STREET=Insurgentes Sur 1940\\, Col. Florida,CN=Autoridad Certificadora Raiz Segunda de Secretaria de Economia,OU=Direccion General de Normatividad Mercantil,O=Secretaria de Economia,E=acr2se@economia.gob.mx\r\ngenTime: 2021-08-24T21:28:57Z\r\ncertificates count: 1\r\nall certificates: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc; SKI=c2c859d69b38a1c13aa1bdab038e60bb32300210\r\nembedded certificate: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc; SKI=c2c859d69b38a1c13aa1bdab038e60bb32300210\r\nadding to certificate chain: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc\r\n1.2.840.113549.1.9.4=<Set oid='1.2.840.113549.1.9.4' name='pkcs9_messageDigest'></Set>\r\n1.2.840.113549.1.9.3=<Set oid='1.2.840.113549.1.9.3' name='pkcs9_contentType'></Set>\r\n1.2.840.113549.1.9.52=<Set oid='1.2.840.113549.1.9.52'></Set>\r\n1.2.840.113549.1.9.5=<Set oid='1.2.840.113549.1.9.5' name='pkcs9_signingTime'></Set>\r\n1.2.840.113549.1.9.16.2.47=<Set oid='1.2.840.113549.1.9.16.2.47' name='id_aa_signingCertificateV2'></Set>\r\n",
- "document": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
}
}
Firma un documento conforme a los requisitos de la NOM 151.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del documento a firmar. |
Responses
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "asn1_base64": "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"
}
}
Agrega la firma digital del firmante seleccionado al documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del firmante cuya firma se agregará. |
Request Body schema: multipart/form-data
Envía una solicitud application/json para realizar la firma digital.
value | string <binary> La imagen a insertar en el documento, formatos aceptados png,jpg,jpeg,svg |
password | string Clave para del certificado del usuario |
Responses
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
}
Firma el documento usando la FIEL del firmante.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del firmante que firmará con FIEL. |
Request Body schema: multipart/form-data
password | string Contraseña de la FIEL |
cer | string <binary> Archivo .cer de la FIEL |
key | string <binary> Archivo .key de la FIEL |
message | string <html> Mensaje custom que aparecera junto a los detalles de la firma |
Responses
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
}
En este apartado se manejan los firmantes para cada documento así como la creación de token para el uso de los accesos públicos
Recupera una lista completa de firmantes registrados.
Authorizations:
query Parameters
document_id | string Example: document_id=51319186-a4a0-4497-a3c9-ebdbdaca0159 |
is_permanent | string Enum: "true" "false" Permite filtrar firmantes según su tipo: permanente o temporal. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "current_page": 1,
- "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20,
- "data": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false,
- "fillable_elements": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filled_at": "2021-08-04T15:14:56Z",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z"
}
]
}
]
}
}
Registra un nuevo firmante en un documento.
Authorizations:
Request Body schema: application/json
Envía una solicitud application/json para crear un firmante para un documento.
document_id | string Identificador del documento relacionado al firmante if null se creara un firmante permanente |
name | string |
string | |
password | string Contraseña para proteger el certificado de la firma digital |
expires_in | integer Tiempo en minutos que durarán los tokens vinculados a este firmante |
country | string = 2 characters |
state | string |
locality | string |
organization | string |
person_id | string <uuid> Id de una persona registrada en la plataforma people vinculada al mismo cliente, en caso de estar presente se tomaran los datos de nombre y email de la misma, en caso de estar dispinibles. |
external_person_id | string |
only_digital_signature | boolean true en caso de que la firma autografa no se ponga en el documento |
include_name_in_signature | boolean true en caso de que el nombre del firmante se incluya en la firma |
is_fiel_signature | boolean true si la forma de firmar para este firmante es con FIEL |
elements | Array of strings Arreglo de elementos que el firmante debe firmar |
Responses
Request samples
- Payload
{- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "password": "12345",
- "expires_in": 15,
- "country": "MX",
- "state": "México City",
- "locality": "Iztapalapa",
- "organization": "rem-tools",
- "person_id": "51234686-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": "1a3sd51fsd32g1sdg5",
- "only_digital_signature": false,
- "include_name_in_signature": false,
- "is_fiel_signature": false,
- "elements": [
- "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "78932121-c7b0-4497-c9c4-abdfcaca9874"
]
}
Response samples
- 201
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false,
- "fillable_elements": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filled_at": "2021-08-04T15:14:56Z",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z"
}
]
}
}
Obtiene todos los firmantes asociados a un identificador externo.
Authorizations:
query Parameters
external_id required | string Example: external_id=lsdgbsjdfnpqwe |
Responses
Response samples
- 200
{- "success": true,
- "result": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false,
- "document": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
}
]
}
Recupera una lista de firmantes por id externo.
Authorizations:
query Parameters
external_id required | string Example: external_id=lsdgbsjdfnpqwe |
Responses
Response samples
- 200
{- "success": true,
- "result": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false,
- "document": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
}
]
}
Obtiene los datos detallados de un firmante.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del firmante a consultar. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false,
- "document": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
}
]
}
Modifica los datos asociados a un firmante.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del firmante a modificar. |
Request Body schema: application/json
name | string Nombre del firmante |
string | |
expires_in | integer Tiempo en minutos que durarán los tokens vinculados a este firmante |
Responses
Request samples
- Payload
{- "name": "Test Signer",
- "email": "test@example.com",
- "expires_in": 15
}
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
}
Recupera los documentos relacionados a un firmante permanente.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del firmante permanente. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "current_page": 1,
- "first_page_url": "http://localhost:8000/signers/51319186-a4a0-4497-a3c9-ebdbdaca0159/documents?page=1",
- "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20,
- "data": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
]
}
}
Genera un token de acceso público para el firmante.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del firmante para generación de token. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false,
- "token": "125|Nghx5nhUndSnCjQVQqNd4iKeTfaxbg86mBpSktKS",
- "expiration_token": "2021-08-04T15:14:56Z",
- "fillable_elements": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filled_at": "2021-08-04T15:14:56Z",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z"
}
]
}
}
Agrega la firma digital del firmante seleccionado al documento.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del firmante cuya firma se agregará. |
Request Body schema: multipart/form-data
Envía una solicitud application/json para realizar la firma digital.
value | string <binary> La imagen a insertar en el documento, formatos aceptados png,jpg,jpeg,svg |
password | string Clave para del certificado del usuario |
Responses
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
}
Firma el documento usando la FIEL del firmante.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del firmante que firmará con FIEL. |
Request Body schema: multipart/form-data
password | string Contraseña de la FIEL |
cer | string <binary> Archivo .cer de la FIEL |
key | string <binary> Archivo .key de la FIEL |
message | string <html> Mensaje custom que aparecera junto a los detalles de la firma |
Responses
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
}
En este apartado se sellan documentos solo con los certificados y no se almacena ningún archivo de los documentos sellados, solo se guardan los datos referentes a los certificados y los hash de los documentos
Response samples
- 200
{- "success": true,
- "result": {
- "current_page": 1,
- "from": 1,
- "next_page_url": null,
- "per_page": 20,
- "prev_page_url": null,
- "to": 20,
- "data": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filename": "Contrato_prueba.pdf",
- "sha256": "65f45505a560f8aefbfc0ac31ffcddab1183b144b607df41c7b3c3424c05d4e9",
- "asn1_base64": "string",
- "metadata": null,
- "signed_at": "2021-07-29T18:29:05Z",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z"
}
]
}
}
Genera un documento firmado bajo NOM 151 y emite certificados digitales para cada firmante.
Authorizations:
Request Body schema: multipart/form-data
Envía una solicitud multipart/form-data para sellar un archivo conforme NOM 151.
file | string <binary> Archivo que se desea firmar |
file_tmp_id | string <uuid> Uuid del archivo si se subio con el api de archivos temporales |
Array of objects Firmantes de este documento |
Responses
Response samples
- 400
{- "success": false,
- "error": {
- "file": [
- "The file field is required"
]
}
}
Genera una constancia digital NOM 151 para el hash sha256 indicado.
Authorizations:
Request Body schema: application/json
sha256 | string <sha256> = 64 characters |
filename | string <= 255 characters |
Responses
Request samples
- Payload
{- "sha256": "stringstringstringstringstringstringstringstringstringstringstri",
- "filename": "string"
}
Response samples
- 200
- 400
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filename": "Contrato_prueba.pdf",
- "sha256": "65f45505a560f8aefbfc0ac31ffcddab1183b144b607df41c7b3c3424c05d4e9",
- "asn1_base64": "string",
- "metadata": null,
- "signed_at": "2021-07-29T18:29:05Z",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z"
}
}
Obtiene un documento vinculado al hash sha256 proporcionado.
Authorizations:
path Parameters
sha256 required | string Example: 65f45505a560f8aefbfc0ac31ffcddab1183b144b607df41c7b3c3424c05d4e9 Hash sha256 correspondiente al archivo PDF. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filename": "Contrato_prueba.pdf",
- "sha256": "65f45505a560f8aefbfc0ac31ffcddab1183b144b607df41c7b3c3424c05d4e9",
- "asn1_base64": "string",
- "metadata": null,
- "signed_at": "2021-07-29T18:29:05Z",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z"
}
}
Elimina un documento externo asociado al hash sha256.
Authorizations:
path Parameters
sha256 required | string Example: 65f45505a560f8aefbfc0ac31ffcddab1183b144b607df41c7b3c3424c05d4e9 Hash sha256 del archivo PDF de referencia. |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": "Ok"
}
Verifica si el documento enviado corresponde a uno registrado en la base de datos.
Authorizations:
Request Body schema: multipart/form-data
Solicita una carga multipart/form-data con el documento que se va a validar.
file | string <binary> Archivo que se desea validar |
file_tmp_id | string <uuid> Uuid del archivo si se subio con el api de archivos temporales |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "match": true,
- "document_hash": "65f45505a560f8aefbfc0ac31ffcddab1183b144b607df41c7b3c3424c05d4e9",
- "document": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filename": "Contrato_prueba.pdf",
- "sha256": "65f45505a560f8aefbfc0ac31ffcddab1183b144b607df41c7b3c3424c05d4e9",
- "asn1_base64": "string",
- "metadata": null,
- "signed_at": "2021-07-29T18:29:05Z",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z"
}
}
}
Verifica la constancia digital basada en el hash sha256 del documento.
Authorizations:
Request Body schema: multipart/form-data
Envía una solicitud POST en formato application/json.
sha256 | string <sha256> |
Responses
Response samples
- 200
- 404
{- "success": true,
- "result": {
- "valid": true,
- "hash": "f65cf09147392b539fd7fb12d6d8c2b6ffd3f403166e577bcfa04ec9fe0aadde",
- "timestamp_info": "signer cert serial number: 2A\r\nsigner cert issuer: L=Alvaro Obregon,ST=Ciudad de Mexico,C=MX,PostalCode=01030,STREET=Insurgentes Sur 1940\\, Col. Florida,CN=Autoridad Certificadora Raiz Segunda de Secretaria de Economia,OU=Direccion General de Normatividad Mercantil,O=Secretaria de Economia,E=acr2se@economia.gob.mx\r\ngenTime: 2021-08-24T21:28:57Z\r\ncertificates count: 1\r\nall certificates: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc; SKI=c2c859d69b38a1c13aa1bdab038e60bb32300210\r\nembedded certificate: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc; SKI=c2c859d69b38a1c13aa1bdab038e60bb32300210\r\nadding to certificate chain: EMAILADDRESS=acedicommx@edicomgroup.com, O=Edicomunicaciones Mexico S.A. de C.V., OU=TSA, CN=TSAEDICOMMX, STREET=Avda. Paseo de la Reforma 483 Pisos 25-27 Cuauhtemoc, OID.2.5.4.17=06500, C=MX, ST=Ciudad de Mexico, L=Cuauhtemoc\r\n1.2.840.113549.1.9.4=<Set oid='1.2.840.113549.1.9.4' name='pkcs9_messageDigest'></Set>\r\n1.2.840.113549.1.9.3=<Set oid='1.2.840.113549.1.9.3' name='pkcs9_contentType'></Set>\r\n1.2.840.113549.1.9.52=<Set oid='1.2.840.113549.1.9.52'></Set>\r\n1.2.840.113549.1.9.5=<Set oid='1.2.840.113549.1.9.5' name='pkcs9_signingTime'></Set>\r\n1.2.840.113549.1.9.16.2.47=<Set oid='1.2.840.113549.1.9.16.2.47' name='id_aa_signingCertificateV2'></Set>\r\n",
- "document": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filename": "Contrato_prueba.pdf",
- "sha256": "65f45505a560f8aefbfc0ac31ffcddab1183b144b607df41c7b3c3424c05d4e9",
- "asn1_base64": "string",
- "metadata": null,
- "signed_at": "2021-07-29T18:29:05Z",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z"
}
}
}
Response samples
- 200
{- "success": true,
- "result": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Proceso de prueba",
- "status": "pending",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z"
}
]
}
Crea un proceso por lotes para firmar varios documentos con FIEL.
Authorizations:
Request Body schema: application/json
Solicitud application/json para crear un proceso de firma por lotes.
name | string Nombre del proceso por lotes |
signer_id | string ID del firmante que ejecutará el proceso |
document_ids | Array of strings Lista de IDs de documentos a procesar |
Responses
Request samples
- Payload
{- "name": "Proceso de firma masiva",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_ids": [
- "51319186-a4a0-4497-a3c9-ebdbdaca0159"
]
}
Response samples
- 201
- 400
{- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Proceso de prueba",
- "status": "pending",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z",
- "documents": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
]
}
Obtiene los detalles de un proceso por lotes específico.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del proceso por lotes a consultar. |
Responses
Response samples
- 200
- 404
{- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Proceso de prueba",
- "status": "pending",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z",
- "documents": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}
]
}
Actualiza un proceso de firma por lotes existente.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del proceso por lotes a actualizar. |
Request Body schema: application/json
Envía una solicitud application/json para actualizar el proceso por lotes.
name | string Nombre del proceso por lotes |
signer_id | string ID del firmante que ejecutará el proceso |
document_ids | Array of strings Lista de IDs de documentos a procesar |
Responses
Request samples
- Payload
{- "name": "Proceso de firma masiva actualizado",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_ids": [
- "51319186-a4a0-4497-a3c9-ebdbdaca0159"
]
}
Response samples
- 200
- 400
- 404
{- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Proceso de prueba",
- "status": "pending",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-07-29T18:29:03Z",
- "updated_at": "2021-07-29T18:29:05Z"
}
Ejecuta la firma de documentos en un proceso por lotes usando FIEL.
Authorizations:
path Parameters
id required | string Example: 51319186-a4a0-4497-a3c9-ebdbdaca0159 Identificador único del proceso por lotes a iniciar. |
Request Body schema: multipart/form-data
Envía una solicitud multipart/form-data para iniciar el proceso por lotes. Cada llamada procesa hasta 5 documentos.
password | string Contraseña de la FIEL del firmante |
cer | string <binary> Archivo .cer de la FIEL del firmante |
key | string <binary> Archivo .key de la FIEL del firmante |
message | string <html> Mensaje custom que aparecera junto a los detalles de la firma |
Responses
Response samples
- 200
- 400
- 404
{- "success": true,
- "result": {
- "status": "processing",
- "completed": {
- "count": 3,
- "documents": [
- [
- "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "51319186-a4a0-4497-a3c9-ebdbdaca0160"
]
]
}, - "errors": [
- {
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "error": {
- "message": "Document is missing fields",
- "code": 702
}
}
]
}
}
Añade la firma de un firmante al documento.
Authorizations:
Request Body schema: multipart/form-data
Envia una solicitud multipart/form-data para subir la firma digital.
value | string <binary> La imagen a insertar en el documento, formatos aceptados png,jpg,jpeg,svg |
finish | boolean Caduca el token público, 0 o 1 |
password | string Clave para del certificado del usuario |
Responses
Response samples
- 201
- 403
{- "success": true,
- "result": "Ok"
}
Firmar públicamente un documento con la FIEL de un firmante.
Authorizations:
Request Body schema: multipart/form-data
Solicita una carga multipart/form-data para crear la firma FIEL.
password | string Contraseña de la FIEL del firmante |
cer | string <binary> Archivo .cer que es parte de la FIEL |
key | string <binary> Archivo .key que es parte de la FIEL |
message | string Mensaje que acompaña la fecha en que se firmo el documento en el historial de eventos, no requerido |
Responses
Response samples
- 200
- 400
- 403
{- "success": true,
- "result": "Ok"
}
Obtiene la información del documento para el firmante autenticado.
Authorizations:
Responses
Response samples
- 200
- 403
{- "success": true,
- "result": {
- "document": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string"
}, - "sign_elements": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filled_at": "2021-08-04T15:14:56Z",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z"
}
]
}
}
Adjunta varios archivos a un documento.
Authorizations:
Request Body schema: application/json
Solicitud application/json con un arreglo de URLs para adjuntar archivos.
urls | Array of strings |
paths | Array of strings |
collection | string |
Responses
Request samples
- Payload
{- "paths": [
- "/path/to/file.jpg"
], - "collection": "ine"
}
Response samples
- 200
- 400
- 403
{- "success": true,
- "result": "Files saved"
}
Crea un firmante con un token de acceso público para este documento.
Authorizations:
Request Body schema: application/json
Solicitud application/json para registrar un nuevo firmante.
name | string |
string | |
password | string Contraseña para proteger el certificado de la firma digital |
country | string = 2 characters |
state | string |
locality | string |
organization | string |
external_person_id | string |
expires_in | integer Tiempo de expiración en minutos de los token vinculados, si es 0 no expiran |
metadata | object |
elements | Array of strings |
Responses
Request samples
- Payload
{- "name": "Test Signer",
- "email": "test@example.com",
- "password": "12345",
- "country": "MX",
- "state": "México City",
- "locality": "Iztapalapa",
- "organization": "rem-tools",
- "external_person_id": "1a3sd51fsd32g1sdg5",
- "expires_in": 15,
- "metadata": null,
- "elements": [
- "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "78932121-c7b0-4497-c9c4-abdfcaca9874"
]
}
Response samples
- 200
- 400
- 403
{- "success": true,
- "result": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false,
- "fillable_elements": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "signer_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "document_element_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "filled_at": "2021-08-04T15:14:56Z",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z"
}
]
}
}
Documento terminado Webhook
Webhook que se envia cuando se ha configurado el autosigning y callback_url en la creación del documento
Request Body schema: application/json
Una petición application/json con la información del documento firmado
resource | string Tipo de recurso |
event | string Tipo de evento |
resource_id | string Identificador del recurso |
Document (object) or Document (object) (Document) Información del evento |
Responses
Request samples
- Payload
{- "resource": "Document",
- "event": "Finish",
- "resource_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "payload": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "template_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Documento ejemplo",
- "send_email": false,
- "autosigning": false,
- "expires_in": 15,
- "from_file": false,
- "created_at": "2021-02-26T01:06:59Z",
- "updated_at": "2021-02-26T01:06:59Z",
- "last_generated_at": "2021-02-26T01:06:59Z",
- "signed_at": null,
- "fiel_sign_started_at": "2021-02-26T01:06:59Z",
- "fiel_doc_hash": "string",
- "asn1_base64": "string",
- "sha256": "string",
- "signers": [
- {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
], - "template": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test",
- "description": "Template test",
- "pages": 5,
- "created_at": "2021-03-10T00:09:30Z",
- "updated_at": "2021-03-10T00:09:30Z"
}
}
}
Firmante ha firmado Webhook
Webhook que se envia cuando se ha configurado el callback_url y un firmante ha firmado de manera pública con el parámetro finish igual a 1
Request Body schema: application/json
Una petición application/json con la información del firmante
resource | string Tipo de recurso |
event | string Tipo de evento |
resource_id | string Identificador del recurso |
Temporary Signer (object) or Permanent Signer (object) Información del evento |
Responses
Request samples
- Payload
{- "resource": "Signer",
- "event": "Sign",
- "resource_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "payload": {
- "id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "name": "Test Signer",
- "email": "test@example.com",
- "document_id": "51319186-a4a0-4497-a3c9-ebdbdaca0159",
- "created_at": "2021-04-07T15:14:19Z",
- "updated_at": "2021-04-07T15:14:19Z",
- "signed_at": "2021-04-07T15:14:19Z",
- "person_id": "51456456-a4a0-4497-a3c9-ebdbdaca0159",
- "external_person_id": null,
- "include_name_in_signature": false,
- "expires_in": 15,
- "metadata": null,
- "is_fiel_signature": false,
- "is_permanent": false
}
}