Embed API
/API Reference
/- Add new file to signing session
Create a signing session
Retrieve details of existing signing session
End signing session
Start signing session
Renew expired signing session
Get signing session PDF
List recent webhook delivery attempts
List audit records for a signing session
Add new participant to signing session
Remove participant from signing session
Excuse participant from signing on started session
Reinstate a declined participant
Create invitation for participant
Resend an invitation
Revoke a previously created invitation
Create sender UI for signing session
List sender interfaces for signing session
Re-authenticate existing sender UI
Remove sender UI from signing session
Add new file to signing s...
Add a new file to an existing signing session. If index is provided, the file is inserted at that zero-based position in the files array. If index is omitted, the file is appended to the end of the files array. If the signing session is in state started, no new files can be added and the endpoint returns 409 Conflict.
The file can be provided either by URL or uploaded directly:
- JSON request (
application/json): provide the file as a URL reference. - Multipart request (
multipart/form-data): upload the file content directly as a binary part.
Security
APIKey
- Production (Sign Engine)https://api.embed.docue.com/sign/sessions/{session_id}/files
curl -i -X POST \
https://api.embed.docue.com/sign/sessions/0196ae5b-2e9d-729f-aba5-fa4db6f881fd/files \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <YOUR_API Key_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "Appendix A - Terms.pdf",
"url": "https://example.com/files/appendix-a-terms.pdf",
"index": 1
}'Response
{ "data": [ { … }, { … } ], "meta": { "status": { … } } }