Create a file (Deprecated)
Registers a new temporary file and returns a URL for uploading the content.
POST
Registers a new temporary file. The response includes aDocumentation Index
Fetch the complete documentation index at: https://signatureapi-daf4ee54.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
put_url you use to upload the file content in a second request.
Files are temporary and expire 24 hours after creation. To store files for reuse across multiple envelopes, use the Library in your dashboard.
How to upload a file
Creating a usable file requires two steps.Create a file record
Send a POST request to
/v1/files. No request body is needed.The response includes:- An
idfor the new file. - A
put_urlto upload the file content. - An
expires_attimestamp indicating when the file will be deleted.
Location header with the file’s reference URL: https://api.signatureapi.com/v1/files/{id}.Upload the file content
Send a PUT request to the
put_url from the previous response. Set the request body to the raw binary content of your file.Upload the file as a binary stream. Multipart form uploads are not supported and will produce an invalid file.
Returns
Returns a201 Created status code on success. The response body includes the following properties:
The unique identifier of the file.
A presigned URL. Send a PUT request to this URL with the raw file content to complete the upload. This URL is temporary and should be used immediately.
The date and time when the file will expire, in format.