Link Search Menu Expand

Webhooks

Receive events from your tools via webhook endpoints.

Table of contents

  1. Overview
  2. Authentication
  3. Webhook Endpoints
    1. Perforce
    2. Jenkins
    3. Game Engine
    4. Deployment
    5. Other Integrations
  4. Response Codes
  5. Testing Webhooks

Overview

Webhooks allow external tools to send events to ButterStack. Each integration has its own webhook endpoint with a unique token for authentication.

Authentication

All webhook endpoints use token-based authentication:

POST /webhooks/{platform}?token={webhook_token}

The webhook_token is generated when you create an integration and can be found in integration settings.

Webhook Endpoints

Perforce

Endpoint: POST /webhooks/perforce

ParameterTypeRequiredDescription
tokenstringYesIntegration webhook token
changelistintegerYesPerforce changelist number
timestampstringNoSubmission timestamp (ISO 8601)

Jenkins

Endpoint: POST /webhooks/jenkins

Body (JSON):

{
  "job_name": "MyGame-Build",
  "build_number": 456,
  "status": "SUCCESS",
  "build_url": "https://jenkins.example.com/job/MyGame-Build/456"
}

Game Engine

EndpointPurpose
POST /webhooks/game_engine/cooking_startedBuild cooking phase started
POST /webhooks/game_engine/asset_cookedIndividual asset cooked
POST /webhooks/game_engine/shaders_startedShader compilation started
POST /webhooks/game_engine/shaders_completedShader compilation finished
POST /webhooks/game_engine/packaging_startedPackaging phase started
POST /webhooks/game_engine/build_completedBuild finished successfully
POST /webhooks/game_engine/build_failedBuild failed

Deployment

Endpoint: POST /webhooks/deployment

Body:

{
  "platform": "steam",
  "event": "uploaded",
  "build_number": 456,
  "steam_app_id": "480"
}

Other Integrations

IntegrationEndpoint
JiraPOST /webhooks/jira
LinearPOST /webhooks/linear
TrelloPOST /webhooks/trello
DiversionPOST /webhooks/diversion

Response Codes

CodeDescription
200Event processed successfully
400Invalid request body
401Invalid or missing token
429Rate limit exceeded
500Internal server error

Testing Webhooks

curl -X POST \
  "https://your-butterstack.com/webhooks/perforce?token=YOUR_TOKEN" \
  -H "Content-Type: application/x-www-form-urlencoded" \
  -d "changelist=12345"

Back to top

Copyright © 2026 ButterStack. All rights reserved.