Game Framework
APIEndpoints

Webhook Endpoints

List Webhooks

GET /v1/workspaces/:workspaceId/webhooks

List all webhooks in a workspace.

Create Webhook

POST /v1/workspaces/:workspaceId/webhooks

Create a new webhook.

Request Body:

{
  "url": "https://example.com/webhook",
  "events": ["package.published", "version.created"],
  "secret": "webhook_secret",
  "active": true
}

Get Webhook

GET /v1/webhooks/:webhookId

Get a specific webhook by ID.

Update Webhook

PATCH /v1/webhooks/:webhookId

Update webhook configuration.

Delete Webhook

DELETE /v1/webhooks/:webhookId

Delete a webhook.

Test Webhook

POST /v1/webhooks/:webhookId/test

Test a webhook by sending a test event.