Signing Requests
Upload a document
Changed onRequest a presigned upload URL for a document. Upload the file directly to the returned URL, then pass the document_id when creating a signing request. Use this for documents larger than 5MB that exceed the inline base64 request size limit.
post/documents
Request
- Base URLhttps://api.firma.dev/functions/v1/signing-request-api
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"file_name": "contract.pdf",
"file_size": 15000000,
"content_type": "application/pdf"
}Response
Upload URL created
Example response
{
"expires_in": 3600
}Changes
- info
added the non-success response with the status
- info