Electronic signature API with video evidence and blockchain
Add legal signing to your SaaS, ERP, or marketplace in hours. Simple REST API, real-time webhooks, optional video evidence, and immutable registration on the Avalanche blockchain. Compliant with Law 527 (Colombia) and equivalent regulations across Latin America.
Main endpoints
The API exposes a focused set of REST endpoints, enough to cover the full document lifecycle. Base URL: https://api.validocus.com — routes are case sensitive and there is no version prefix.
POST /documents/createContract
Creates a signable document. Sent as multipart/form-data, not JSON: the PDF goes in the contract field as a file, plus title_doc, desc_doc and signers (a JSON array). Returns urls_sign, one signing link per signer. Pass externalReference to correlate the document with a record in your own system.
GET /documents/signStatus/{soli_id}
Document status: pipeline_status, soli_status, the signedPdfUrl once it is complete, and the blockchain transaction with its explorer link.
Signed PDF
There is no separate download endpoint: signStatus returns signedPdfUrl pointing at the final PDF with every signature embedded. It is only present once the document is complete.
POST /documents/getDocumentBlockchainInfo
Evidentiary data: SHA-256 hash of the signed PDF and the Avalanche transaction. The per-signer evidence — video, IP, timestamp, user agent — travels in the signed PDF's own audit annex.
POST /documents/deleteContract
Takes a document out of circulation by its soli id. It is a soft delete: the record and its evidence are kept, and pending signers can no longer sign.
Webhooks: real-time notifications
Instead of polling to know whether a document has been signed, Validocus notifies you with outbound webhooks. You configure an HTTPS URL in the panel and receive POSTs with these events: document.completed, form.completed, identity.completed, identity.decided and background.completed.
Every payload carries the external_reference you sent when creating the document, so you can match it to your own record without storing our ids.
Authentication and signed webhooks
Authentication uses Bearer tokens issued from the admin panel, sent in the Authorization: Bearer <token> header. Keys can be revoked at any time without downtime. Requests travel over HTTPS with TLS 1.3 minimum.
Outbound webhooks are signed with HMAC-SHA256, the same way Stripe does it. Each delivery carries X-Validocus-Signature and X-Validocus-Timestamp. The signature is the hex digest of timestamp + "." + rawBody keyed with your webhook secret — sign the raw body, before any JSON parsing, and include the timestamp or verification will not match.
Use cases
B2B SaaS with contractual onboarding
Your SaaS requires the customer to sign an MSA or specific terms before activating the account. You call /documents/createContract and the customer receives the signable document without leaving your signup UX. A webhook activates the account when they sign.
ERP and HRIS systems
When a new employee is created in the HRIS, your workflow generates an employment contract from a template, sends it to Validocus, collects the signature, and automatically files the signed PDF in the employee's digital record.
Marketplaces and multi-sided platforms
Professional services marketplace, freelance platform, P2P lending fintech: each match between supply and demand generates a contract that must be signed before the service is delivered or funds are disbursed.
Fintech APIs and financial services
Account openings, credit contracts, electronic promissory notes, direct-debit authorizations. SARLAFT compliance with video evidence of the customer declaring source of funds. Auditable and verifiable.
How does it work?
- 1
Create a Validocus account and generate an API key from the admin panel.
- 2
Your backend calls POST /documents/createContract as multipart/form-data with the PDF and signers — Validocus creates the document and sends invitations by email.
- 3
Each signer opens the link in a browser, signs from a phone or desktop, and optionally records video evidence.
- 4
Validocus generates the SHA-256 hash of the final signed PDF and registers it on the Avalanche blockchain. It sends a webhook to your backend.
- 5
Your backend receives the document.completed webhook with the signed PDF's URL, files it, and runs your business logic (activate account, disburse, grant access, etc.).
Frequently asked questions
What does the Validocus API do?
It lets you create signable contracts programmatically from your system (SaaS, ERP, HRIS, fintech, marketplace). Your backend POSTs a PDF and signers, Validocus sends the invitations, collects signatures with optional video evidence, registers the hash on the Avalanche blockchain, and notifies you via webhook when everyone has signed. Your code doesn't worry about displaying the PDF or capturing the signature — Validocus' browser frontends handle all of that.
What type of authentication does it use?
Bearer tokens issued from the admin panel. Requests are made over HTTPS with the Authorization: Bearer <token> header, and keys can be revoked at any time. Outbound webhooks are signed with HMAC-SHA256 so you can validate the notification came from Validocus and not from an attacker.
How do I get notified when a document is signed?
Through outbound webhooks. You configure an HTTPS URL in the panel and Validocus POSTs to it on every event: document.completed, form.completed, identity.completed, identity.decided and background.completed. The payload includes the document id, its name, the completion timestamp, a status URL and the external_reference you sent at creation. Deliveries carry X-Validocus-Signature and X-Validocus-Timestamp; the signature is the HMAC-SHA256 hex digest of timestamp + "." + the raw body. If your endpoint errors or does not respond, we retry with exponential backoff.
Are there official SDKs?
We provide ready-to-use integration examples for Node.js (axios/fetch), Python (requests), PHP (Guzzle/cURL), and Go (net/http). It isn't an SDK with many layers — they are recipes and snippets that sit directly on top of the REST API and that you can copy and adapt. For more complex integrations (orchestrating bulk imports, dead-letter retries, advanced idempotency) our DevRel team supports technical onboarding free of charge.
Can I customize the signing flow?
Yes. The API supports: sequential or parallel signing order, mandatory or optional video evidence per signer, custom redirect URL after signing (so the user returns to your app), customized email templates, and color and logo branding. For high-volume contracts you can also pre-fill PDF fields (name, ID, date) using a placeholder system during generation.
How much does the API cost?
You can start with a Creating an account is free and asks for no credit card: you start with free credit. After that you pay only for what you use — each document, each verification — or take a monthly plan with an allowance included. For integrators with high volume or specific needs (dedicated SLA, priority support, separate sandbox environment) we have Enterprise plans with custom terms — contact us.
Keep reading
Start integrating in minutes
Free credit when you create your account. No credit card required.
Get API key