Skip to content

End signing session

Request

End an existing signing session. A pending session is discarded and can no longer be used. A started session is cancelled. Participants who were invited are notified and can still view the document.

Security
APIKey
Path
session_idstring, (uuid)required

The UUID of the signing session.

Example:0196ae5b-2e9d-729f-aba5-fa4db6f881fd
Headers
Acceptstringrequired

Specify the response format.

Value:"application/json"
curl -i -X DELETE \
  https://api.embed.docue.com/sign/sessions/0196ae5b-2e9d-729f-aba5-fa4db6f881fd \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer <YOUR_API Key_HERE>'

Responses

Successfully ended the signing session.

Bodyapplication/json
dataobject(SigningSessionData)required

Response body. Null when there is nothing to return.

metaobjectrequired
Response
{ "data": { "id": "0196ae5b-2e9d-729f-aba5-fa4db6f881fd", "status": "pending", "document_name": "Employment Agreement", "document_author": "HR Department", "external_id": "deal-42", "signature_position": "inline", "expires_at": "2026-03-31T10:30:00.000Z", "ui_domain": "sign.acme.com", "email_from": "\"Acme\" <sign@mail.acme.com>", "files": [ … ], "participants": [ … ], "webhooks": [ … ] }, "meta": { "status": { … }, "pagination": { … } } }