Skip to content

Session deleted

The Post notification when session is deleted webhook (WHEF_SESSION_DELETED) tells your system that Cellosign closed a submitted transaction (session). After that, the form link no longer works and the transaction can’t be changed. Its data and files are kept until the project’s purge interval ends, and are then deleted.

Use it to know that Cellosign has finished with a transaction, for example to close the case in your system or to stop checking its status.

For a transaction that wasn’t submitted, Cellosign sends Session expired instead.

  • A form without a workflow: right after the submitted form was processed: the signed PDF was created, the archive was called and the emails were sent.
  • A form in a workflow: when the process ends.

The webhook is sent when the transaction is closed, not when its data is deleted at the end of the purge interval.

To attach the webhook to forms, turn on Use implicit, add a Webhook connector at the SUBMIT stage of the template, or add the webhook to the integrations of the API request. See Attach a webhook to forms.

Field Type What it holds
event.type string WHEF_SESSION_DELETED.
event.timestamp string When the transaction was closed, in ISO 8601 format, Israel time, without a time zone.
session.id string The transaction’s token.
session.reference string The transaction’s reference: in a workflow, the process’s business key; otherwise the reference sent when the transaction was created through the API, or an ID that Cellosign generates.
session.process_id string or null The ID of the workflow process. null for a form without a workflow.
session.process_number integer or null The number of the process.
session.transaction_number integer The transaction ID, shown in the # column of the Transactions screen.
session.recipient.id integer The recipient’s number in the template (1 for the first).
session.recipient.name string The recipient’s name in the template.
session.recipient.identity string or null The recipient’s identity if the recipient was identified, for example by end-user SSO or an Auth screen. Otherwise null.
session.labels object The labels sent when the transaction was created, as names and values.
{
"event": {
"type": "WHEF_SESSION_DELETED",
"timestamp": "2026-11-25T10:21:19"
},
"session": {
"id": "Xa7Pq2LmZ9",
"reference": "5b1f0c2e-7d4a-4c8e-9a61-3e2f8d7c6b10",
"process_id": null,
"process_number": null,
"transaction_number": 1042,
"recipient": {
"id": 1,
"name": "client",
"identity": null
},
"labels": {
"crm_case": "TL-2026-0042"
}
}
}
{
"status": "0",
"errordesc": ""
}

Answer "status": "0" when you handled the notification. Any other status, for example "-1" with the reason in errordesc, means that it failed. A call that fails is tried again, and Cellosign keeps the transaction until the attempts end; see Delivery and retries and Respond to a webhook.