/api/documents/createPOST| Campo | Tipo | Requerido | Descripción |
|---|---|---|---|
file | base64 string | Sí | Archivo PDF (base64) que será registrado como documento. |
signers | array | Sí | Lista de firmantes. Debe enviar al menos 1 firmante |
| Campo | Tipo | Requerido | Descripción |
|---|---|---|---|
rfc | string | No | RFC del firmante. No se debe enviar junto al pasaporte. |
passport | string | No | Pasaporte del firmante. Puede usar el pasaporte si el participante no tiene RFC. |
first_name | string | Sí | Nombre del firmante. |
last_name | string | Sí | Apellido paterno del firmante. |
mother_last_name | string | Sí | Apellido materno del firmante. |
email | string | Sí | Correo electrónico del firmante. |
signer_type | string | Sí | Tipo de firmante (NATURAL o LEGAL). |
curl --location --request POST 'https://demo-apimex.firmavirtual.mx/api/documents/create' \
--header 'Content-Type: application/json' \
--data-raw '{
"file": "",
"signers": [
{
"rfc": "",
"first_name": "",
"last_name": "",
"mother_last_name": "",
"email": "",
"signer_type": "",
}
]
}'{}