Pular para o conteúdo principal

Document field reference

This page lists the fields you can send in POST /api/documents: the participant data, the options of each participant and the document options. To create a document step by step, see Create documents.

The participant (user)​

FieldDescription
nameParticipant's name, up to 200 characters.
emailParticipant's e-mail.
identifierParticipant's main identifier, for example the CPF.
identifierTypeType of the main identifier (see the table below).
identifiersList of identifiers, each with type and value. Only applies when the instance allows multiple identifiers per user.
phoneMobile phone in international format, for example +55 11 91234-5678. The Signer uses the phone only if the user does not exist yet: it does not change the phone of an existing user.

The identifier types (identifierType and identifiers[].type) are:

TypeDocument
CpfCPF (Brazil)
EcuadorBceIdEcuador identifier
ParaguayCedulaIdentidadCédula de Identidad (Paraguay)
ParaguayRucRUC (Paraguay)
ParaguayPassportParaguayan passport
PassportPassport from any country
Ssn, Itin, EinSSN, ITIN and EIN (United States). Available from version 3.0.0.

The instance defines which types it accepts. To learn how the Signer uses the identifier and the e-mail to find the user, and how multiple identifiers and foreign signers work, see Participant identification. To register identifiers for an existing user, see Contacts and identifiers.

Participant options​

Besides type, step and user, each flowActions item accepts these options:

FieldDescription
titleParticipant's title on the document, for example "Party" or "Witness".
disableRefusalIf true, the participant cannot refuse the document. The screen does not show the refusal option, and the refusal API rejects the request. The default is false.
notificationLanguageLanguage of this participant's notifications: Pt, En or Es. See Notifications.
signatureInitialsModeParticipant's initials: None (no initials), Optional or Required.
requiredCertificateTypeToSignCertificate type the participant must use: A1, A2, A3, A4, S1, S2, S3, S4, T3 or T4.
requiredCertificateHolderTypeToSignCertificate holder: Individual (a person, for example e-CPF) or Company (a legal entity, for example e-CNPJ).
requiredCompanyIdentifierCNPJ that the company certificate must have.
requireCompanyCertificateObsolete. Use requiredCertificateHolderTypeToSign with Company.
allowIdrcSignatureIf true, the participant can choose between an IdRC signature and a certificate signature. Only applies if the instance has IdRC enabled.

The options below only apply when allowElectronicSignature is true. Each one adds a check before the electronic signature:

FieldThe participant must
requireSmsAuthenticationToSignElectronicallyEnter a code sent by SMS.
requireWhatsappAuthenticationToSignElectronicallyEnter a code sent by WhatsApp.
requireAuthenticatorAppToSignElectronicallyEnter a one-time password (OTP) from an authenticator app.
requireSelfieAuthenticationToSignElectronicallyTake a selfie.
requireDatavalidAuthenticationToSignElectronicallyTake a selfie, which SERPRO's Datavalid validates.
requirePixAuthenticationToSignElectronicallyPay a Pix.
requireLivenessAuthenticationToSignElectronicallyTake a liveness test.
requireIdScanAuthenticationToSignElectronicallyPhotograph an ID document with a photo.
disableEmailAuthenticationToSignElectronicallyNot enter the code sent by e-mail. Only accepted if SMS or WhatsApp is also required.

Document options​

These optional fields of POST /api/documents apply to all documents in the request:

FieldDescription
notifiedEmailsDataList of e-mails that receive the concluded-document notice. Each item has email and notificationLanguage (Pt, En or Es). Without a language, the Signer uses the instance's default language. Use this field instead of notifiedEmails, which is obsolete.
timestampEnabledOverrides the organization's timestamp setting for this document. true applies a timestamp to all signatures, and false to none. Without the field, the organization's setting applies. If the instance has no timestamper, document creation is rejected.
signerPositioningEnabled, automaticSignaturePositioningSee Signer positioning of the signature.
overridesBypasses, for this request only, an organization requirement: disableTagRequirement (required tag), disableRegisteredTagLabelsRequirement (registered tags only) and disableRequireFolderOnDocumentCreation (required folder). Only an API key can enable these options. Any other kind of user gets the AgentIsNotApplication error. See the requirements in Organization settings through the API.
accessValidationTypeWho can look up the document by its validation code. Only takes effect if the instance enables access validation (see Signer settings). The values are in the table below. Without the field, the instance default applies.

The accessValidationType values are:

ValueWho can look up the document
UserIdentifierWhoever enters the identifier (for example the CPF) of a participant of the document.
LoginAny user signed in to the Signer.
ParticipateInOrganizationA user with a role in the document's organization.
HasAccessToDocumentA user with access to the document in the Signer, or the document's creator if they are still a member of the organization.
NoneAnyone, even if the instance requires validation on every document.
View as Markdown