Meet us at the Dallas Men's Show!

Book Appointment

Webhooks

Integrate SuitTracker with your other tools using real-time webhook notifications.

Webhooks allow you to receive real-time notifications when specific events occur within SuitTracker. When a triggered event occurs, SuitTracker sends an HTTP POST request with a JSON payload to the URL(s) you have configured.

Configuration

Webhooks can be configured in the Organization Settings under the Webhooks tab.

  1. 1 Click Add Webhook.
  2. 2 Enter the Webhook URL where you want to receive the notifications.
  3. 3 Select the Triggers (events) that should fire this webhook.
  4. 4 Click Save Changes.

Payload Format

All webhook requests are sent as JSON with a POST method. The standard payload structure is as follows:

{
  "activity": {
    "id": "string",
    "date": "ISO 8601 timestamp (UTC)"
  },
  "event": {
    "key": "EVENT_TYPE_KEY",
    "name": "Human-readable event name"
  },
  "entity": {
    "id": "string",
    "...": "Additional entity-specific fields"
  },
  "value": "string|null",
  "user": {
    "id": "string"
  } | null
}

Fields Description

  • activity: Information about the activity log entry, including a unique ID and timestamp.
  • event: The type of event (e.g., CUSTOMER_CREATE).
  • entity: The full serialized state of the object that was created or modified.
  • value: A supplemental value related to the event, such as a new status or a field name.
  • user: The ID of the user who performed the action, if applicable.

Sample Events

Customer Created (CUSTOMER_CREATE)

{
  "activity": {
    "id": "12345",
    "date": "2026-07-02T11:30:00Z"
  },
  "event": {
    "key": "CUSTOMER_CREATE",
    "name": "Customer Created"
  },
  "entity": {
    "id": "67890",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "fullName": "John Doe"
  },
  "value": "John Doe",
  "user": { "id": "101" }
}

Order Item Status Change (ORDER_ITEM_UPDATE_STATUS)

{
  "activity": {
    "id": "34567",
    "date": "2026-07-02T11:40:00Z"
  },
  "event": {
    "key": "ORDER_ITEM_UPDATE_STATUS",
    "name": "Order Item Status Change"
  },
  "entity": {
    "id": "99999",
    "orderId": "55555",
    "name": "Navy Slim Fit Suit",
    "status": "In Tailoring"
  },
  "value": "In Tailoring",
  "user": { "id": "202" }
}

Text Message Received (MESSAGE_RECEIVED)

{
  "activity": {
    "id": "45678",
    "date": "2026-07-02T11:45:00Z"
  },
  "event": {
    "key": "MESSAGE_RECEIVED",
    "name": "Text Message Received"
  },
  "entity": {
    "id": "88888",
    "from": "15551234567",
    "body": "Hi, I'd like to check the status of my order.",
    "direction": "inbound"
  },
  "value": "Hi, I'd like to check the status of my order.",
  "user": null
}

Available Event Keys

The following event keys can be used to filter webhooks in your configuration:

Event Key Description
CUSTOMER_CREATECustomer Created
CUSTOMER_DELETECustomer Deleted
CUSTOMER_UPDATE_DETAILSCustomer Details Update
CUSTOMER_AUTOMATED_MESSAGE_SENTCustomer Automated Message Sent
WEDDING_CREATEWedding Created
WEDDING_DELETEWedding Deleted
WEDDING_ARCHIVEWedding Archived
WEDDING_UPDATE_DETAILSWedding Details Update
WEDDING_AUTOMATED_MESSAGE_SENTWedding Automated Message Sent
WEDDING_MEMBERSHIP_CREATECustomer Added To Wedding
WEDDING_MEMBERSHIP_DELETECustomer Removed From Wedding
WEDDING_MEMBERSHIP_UPDATE_DETAILSWedding Membership Update Details
WEDDING_MEMBERSHIP_UPDATE_STATUSWedding Customer Status Change
WEDDING_MEMBERSHIP_UPDATE_ATTIREWedding Customer Attire Update
WEDDING_MEMBERSHIP_UPDATE_MEASUREMENTSWedding Customer Measurements Update
WEDDING_MEMBERSHIP_UPDATE_PAYMENT_STATUSWedding Customer Payment Status Update
ORDER_CREATEOrder Created
ORDER_DELETEOrder Deleted
ORDER_UPDATEOrder Update
ORDER_ITEM_CREATEOrder Item Created
ORDER_ITEM_DELETEOrder Item Deleted
ORDER_ITEM_UPDATEOrder Item Update
ORDER_ITEM_UPDATE_STATUSOrder Item Status Change
ORDER_ITEM_UPDATE_STATUS_METAOrder Item Assigned Tailor Change
ORDER_GROUP_CREATEOrder Group Created
ORDER_GROUP_DELETEOrder Group Deleted
ORDER_GROUP_UPDATEOrder Group Updated
MESSAGE_RECEIVEDText Message Received
ORG_UPDATE_SETTINGSSetting Change