I keep getting a bad request. Setting up my digisigner Template
Status: Closed · Asked by rbuchfink on · 0 views
Simple Code works and the Template code is not working. All I am simply trying to do is a signature request. I have try using the online documentation. What am I missing? Please Help.
https://www.digisigner.com/esignature-api/signature-request-templates/
See Attachment
Attachments





When I use the Role/API format nothing seems to work
Using Template API fields Response (BAD Request) T
{
"documents": [
{
"document_id": "ecacc0c7-3d59-4253-bb3f-2a363219ed4e",
"subject": "My email subject",
"message": "My email message",
"signers": [
{"email": "[email hidden]",
"role": "Signer 1",
"existing_fields": [
{"api_id": "578754cc-8df9-4eb6-8d35-810aec6833a9",
"content": "Richard",
},
{"api_id": "cea4fd8e-314b-4ed6-b51e-208404eda2cb",
"content": "Buchfink",
}
]
}
]
}
]
}
Hey @rbuchfink
When I use the Role/API format nothing seems to workUsing Template API fields Response (BAD Request) T
{
"documents": [
{
"document_id": "ecacc0c7-3d59-4253-bb3f-2a363219ed4e",
"subject": "My email subject",
"message": "My email message",
"signers": [
{"email": "[EMAIL][email hidden][/EMAIL]",
"role": "Signer 1",
"existing_fields": [
{"api_id": "578754cc-8df9-4eb6-8d35-810aec6833a9",
"content": "Richard",
},
{"api_id": "cea4fd8e-314b-4ed6-b51e-208404eda2cb",
"content": "Buchfink",
}
]
}
]
}
]
}
As I can see from your above-mentioned API request your JSON body doesn't seem to be correct. We have correct the JSON and the API request seems to be working now.
Please check this out -
