Skip to content
Kaizena FlowDocs
Search

Search the docs

contract.declined

Contract declined: a signer declined a deal's contract.

  • Topic: contract.declined, in the Kaizena-Webhook-Topic header and the body's topic

  • Sent to: Your own endpoints, and apps

  • About: the contract, under data.contract

  • Payload version: 1

Payload

FieldTypeDescription
idstring (uuid)The delivery's id: the same when a delivery is sent again, so a receiver can do it once.
topic"contract.declined"
version1The payload's version; a change to a shape raises it.
storeobject
store.slugstring
store.namestring
created_atstring (date-time)When the event happened.
dataobject
data.contractobject
data.contract.idstring (uuid)
data.contract.titlestring
data.contract.statusone of sent, signed, declined, expired, cancelled
data.contract.languagestring
data.contract.deal_idstring (uuid) or nullThe deal it is for; null only for a signed contract whose deal was deleted.
data.contract.templatestring or nullThe name of the template it was made from.
data.contract.signerslist of objectsIn the order they sign. Never their email or the reason a signer gave for declining.
data.contract.signers[].roleone of store, customer, other
data.contract.signers[].namestring
data.contract.signers[].signed_atstring (date-time) or null
data.contract.signers[].declined_atstring (date-time) or null
data.contract.sent_atstring (date-time) or null
data.contract.expires_atstring (date-time) or null
data.contract.completed_atstring (date-time) or nullWhen it was signed by the last signer, or declined.
data.contract.admin_urlstringWhere it is in the store's admin; empty in a sample.

Example

{
  "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
  "topic": "contract.declined",
  "version": 1,
  "store": {
    "slug": "your-store",
    "name": "Example"
  },
  "created_at": "2026-11-03T09:30:00Z",
  "data": {
    "contract": {
      "id": "3f2b8c1e-6d4a-4b9e-8c7f-1a2b3c4d5e6f",
      "title": "Linen shirt",
      "status": "declined",
      "language": "nb",
      "deal_id": "52d64847-0f21-406e-b255-6970165ca371",
      "template": "example",
      "signers": [
        {
          "role": "store",
          "name": "Example",
          "signed_at": "2026-11-03T09:30:00Z",
          "declined_at": "2026-11-03T09:30:00Z"
        }
      ],
      "sent_at": "2026-11-03T09:30:00Z",
      "expires_at": "2026-11-03T09:30:00Z",
      "completed_at": "2026-11-03T09:30:00Z",
      "admin_url": "https://kaizenaflow.com/admin/your-store"
    }
  }
}

Every value is an example of its type, not a real store's.

Signature and retries

Each delivery carries the headers every topic has and is signed: check the signature before you trust it. One not answered with a 2xx status is tried again.

Made from the API contract, version 1.57This page as Markdown

Was this page helpful?