curl --location 'https://demo.docuseal.tech/api/submissions' \
--header 'X-Auth-Token: 9yjUT1XGnuoCBLNdtjg9sdFxGvYqHp79imPMLg2U7KN' \
--data-raw '{
"template_id": 10791,
"submitters": [
{
"name": "John Doe",
"role": "First Party",
"email": "9149d6acbc40f502f5d55e2afd60d6d1+test@docuseal.co",
"values": {
"Form Text Field Name": "Default Value"
}
},
{ "role": "Second Submitter", "email": "9149d6acbc40f502f5d55e2afd60d6d1+test2@docuseal.co" }
]
}'
curl --location 'https://demo.docuseal.tech/api/submissions/emails' \
--header 'X-Auth-Token: 9yjUT1XGnuoCBLNdtjg9sdFxGvYqHp79imPMLg2U7KN' \
--data-raw '{
"template_id": 10791,
"emails": "9149d6acbc40f502f5d55e2afd60d6d1+test@docuseal.co, 9149d6acbc40f502f5d55e2afd60d6d1+test2@docuseal.co"
}'
curl 'https://demo.docuseal.tech/api/templates/10791' \
--header 'X-Auth-Token: 9yjUT1XGnuoCBLNdtjg9sdFxGvYqHp79imPMLg2U7KN'