v1
latestOpenAPI 3.1.02026-07-14220425.8 KBSubmissions
Create a submission from HTML
This API endpoint allows you to create a one-off submission request document using the provided HTML content, with special field tags rendered as a fillable and signable form.<br><b>Related Guides</b><br><a href="/keyring-guides/create-pdf-document-fillable-form-with-html-api.html" class="link">Create PDF document fillable form with HTML</a>
post/submissions/html
Request body
Example request
{
"name": "Test Submission Document",
"expire_at": "2024-09-01 12:00:00 UTC",
"documents": [
{
"name": "Test Document",
"html": "<p>Lorem Ipsum is simply dummy text of the\n<text-field\n name=\"Industry\"\n role=\"First Party\"\n required=\"false\"\n style=\"width: 80px; height: 16px; display: inline-block; margin-bottom: -4px\">\n</text-field>\nand typesetting industry</p>\n",
"size": "A4"
}
],
"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"
}