Webhooks

Webhooks

Webhooks are a feature whereby you can specify HTTP/HTTPS endpoints that Squish will notify upon any issue submission or update for a given project. Think of them as push notifications, except instead of notifying your phone, Squish notifies a web service you create.

webhooks.png

To create a new webhook, navigate to the Project > Admin > Webhook page. Select the New Webhook button and fill in the following fields:

  • Action – The value for this field determines which events in Squish will trigger sending an update to the associated URL. Options are:
    • On issue submit
    • On issue update
    • On workflow execution
    • On field update
  • URL – This is the URL where the data payload will be sent.
  • Secret – If specified, webhook requests will include an X-Squish-Signature header, which is an HMAC digest for encryption of the payload signed with this secret.
  • Payload Format – This field determines the payload format based on the service for which this webhook will be used. Confidential issues will only trigger "Standard" webhooks. Options are:
    • Standard
    • Teams (used for sending payloads to a specific channel in Microsoft Teams). See Microsoft’s website for more information on setting up the Teams channel to accept Squish webhooks. 

When finished, select the Create Webhook button to save.

Technical Details

When an issue is submitted or updated, Squish creates a JSON "payload" that will be POSTed to the webhooks configured HTTP/HTTPS endpoint. Both types of payloads (update and submit) are JSON objects that contain a bug object with all the field values in the issue, a project key containing the name of the project, and a url key containing the URL of the bug.

Update payloads will also contain a changes object if there were field updates, a comment object if a new comment was posted, and an updated_by key containing the name of the updated user.

Finally, the request will contain an X-Squish-Action header with a value of either submit or update.

Teams Payload Format

For webhooks configured to use the Teams Payload Format, the following data is sent as part of the payload:

On issue submit:

  • Subject
  • Date Created
  • Assigned to
  • Description
  • Link to view the issue
  • All values for fields which are not Confidential 

On issue update, workflow execution, or field update:

  • Issue Number
  • Subject
  • Date/Time Modified
  • Comment submitted with the update
  • Link to view the issue
  • All field value updates which are not Confidential
  • If a Commit is included: The commit hash, ref, author name, and commit message.
  • If a Workflow was used: The name of the workflow, and any field changes executed by the workflow.

Sample Standard submit payload

{
  "project": "ABC Software", 
  "url": "https://www.squishlist.com/company/project/13/", 
  "bug": {
    "Status": "Open", 
    "Assigned To": "Doe, John", 
    "Submitted By": "Doe, John", 
    "Date Modified": "2026-02-11 17:02:54", 
    "Description": "Dashes in usernames prevent logon. We should add an error to prevent users from adding usernames with dashes in them.", 
    "Confidential": false, 
    "Resolution": null, 
    "Resolved By": null, 
    "Date Submitted": "2026-02-11 17:02:54", 
    "Priority": "Normal", 
    "Date Resolved": null, 
    "Issue ID": 11, 
    "Module": "Authentication", 
    "Due Date": "2026-02-28", 
    "Type": "Bug", 
    "Subject": "Users with dashes in username cannot login"
  }
}

Sample Standard update payload

{
  "project": "ABC Software", 
  "url": "https://www.squishlist.com/company/project/12/", 
  "comment": {
    "comment": "This is resolved.", 
    "is_resolution": false, 
    "user": "Doe, John", 
    "confidential": false
  }, 
  "changes": {
    "Status": {
      "old": "In Progress", 
      "new": "Fixed/Completed"
    }
  }, 
  "bug": {
    "Status": "Fixed/Completed", 
    "Assigned To": "Doe, John", 
    "Submitted By": "Doe, John", 
    "Date Modified": "2026-02-11 16:59:55", 
    "Description": "Create a method by which administrators can configure custom demographics categories to collect for new users", 
    "Confidential": false, 
    "Resolution": null, 
    "Resolved By": null, 
    "Date Submitted": "2026-04-02 14:13:30", 
    "Priority": "Normal", 
    "Date Resolved": null, 
    "Issue ID": 10, 
    "Module": "User Administration", 
    "Due Date": "2026-03-01", 
    "Type": "Feature", 
    "Subject": "Add custom user demographics"
  }, 
  "updated_by": "Doe, John"
}

Secrets and signatures

In order to verify that requests to your endpoint are coming from Squish, you can optionally provide a secret string when configuring webhooks. If provided, an HMAC is generated using your secret key and the entire POST payload (encoded as UTF-8). The HMAC is then put in a header named X-Squish-Signature.

For example, to verify a request in Django is a simple one-liner:

assert request.META['HTTP_X_SQUISH_SIGNATURE'] == hmac.new('secret', request.body.encode('utf-8')).hexdigest()