v1
latestOpenAPI 3.1.02026-07-17220542.8 KBSubmissions
Create a submission from PDF
The API endpoint provides the functionality to create one-off submission request from a PDF. Use <code>{{Field Name;role=Signer1;type=date}}</code> text tags to define fillable fields in the document. See <a href="https://www.docuseal.com/examples/fieldtags.pdf" target="_blank" class="link font-bold">https://www.docuseal.com/examples/fieldtags.pdf</a> for more text tag formats. Or specify the exact pixel coordinates of the document fields using fields param.<br><b>Related Guides</b><br><a href="https://www.docuseal.com/guides/use-embedded-text-field-tags-in-the-pdf-to-create-a-fillable-form" class="link">Use embedded text field tags to create a fillable form</a>
post/submissions/pdf
Request body
Example request
{
"name": "Test Submission Document",
"expire_at": "2024-09-01 12:00:00 UTC",
"documents": [
{
"file": "base64",
"fields": [
{
"areas": [
{
"page": 1
}
],
"options": [
"Option A",
"Option B"
]
}
]
}
],
"submitters": [
{
"role": "First Party",
"email": "john.doe@example.com",
"phone": "+1234567890",
"fields": [
{
"name": "First Name",
"validation": {
"pattern": "[A-Z]{4}"
},
"preferences": {
"font_size": 12,
"format": "DD/MM/YYYY",
"price": 99.99
}
}
]
}
]
}Response
OK
Example response
{
"expire_at": "2024-09-01 12:00:00 UTC"
}