WebhooksEvent catalogTournaments
tournament.organization.enabled
Version 1 of the tournament.organization.enabled webhook event.
The tournament.organization.enabled event.
| Event type | tournament.organization.enabled |
| Schema version | 1 |
| Routing key | event.tournament.organization.enabled.v1 |
| Produced by | Tournament Management |
| Schema | urn:defendr:contract:tournament:organization-enabled:1 |
data fields
| Field | Type | Required | Description |
|---|---|---|---|
organizationId | string | yes | |
legacyOrganizationId | string | no | |
source | "native", "legacy", "legacy-reconciliation" | no | |
name | string | no | |
slug | string | no | |
ownerPrincipalId | string | no | |
createdAt | string (date-time) | no | |
revision | integer | yes | |
status | "active" | yes | |
enabledAt | string (date-time) | yes |
Some fields are required only in particular states. The JSON Schema below is authoritative.
Example delivery
Signed with the example secret whsec_placeholder_example_webhooks_signing_secret, so you can check your verifier against it. See Verifying signatures.
POST /your/webhook/endpoint HTTP/1.1
content-type: application/json
webhook-id: whd_00000000-0000-4000-8000-000000000062
webhook-timestamp: 1800000000
webhook-signature: v1,6XVtLZjwgF6GsWpvmfFk1HK/jRc5FOuDX8GFF0CC5Ps=
tanitar-event-type: tournament.organization.enabled
tanitar-schema-version: 1
tanitar-delivery-attempt: 1
{"messageId":"evt_00000000-0000-4000-8000-000000000062","kind":"event","type":"tournament.organization.enabled","schemaVersion":1,"occurredAt":"2027-01-15T10:00:00.000Z","producer":"tournament-management-service","accountId":"acc_11111111-1111-4111-8111-111111111111","correlationId":"corr_00000000-0000-4000-8000-000000000062","data":{"organizationId":"org_11111111-1111-4111-8111-111111111111","revision":4,"status":"active","enabledAt":"2026-08-06T13:00:00.000Z"}}The same body, formatted:
{
"messageId": "evt_00000000-0000-4000-8000-000000000062",
"kind": "event",
"type": "tournament.organization.enabled",
"schemaVersion": 1,
"occurredAt": "2027-01-15T10:00:00.000Z",
"producer": "tournament-management-service",
"accountId": "acc_11111111-1111-4111-8111-111111111111",
"correlationId": "corr_00000000-0000-4000-8000-000000000062",
"data": {
"organizationId": "org_11111111-1111-4111-8111-111111111111",
"revision": 4,
"status": "active",
"enabledAt": "2026-08-06T13:00:00.000Z"
}
}JSON Schema
urn:defendr:contract:tournament:organization-enabled:1
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:defendr:contract:tournament:organization-enabled:1",
"title": "Tournament organization enabled event payload",
"type": "object",
"additionalProperties": false,
"required": [
"organizationId",
"revision",
"status",
"enabledAt"
],
"properties": {
"organizationId": {
"type": "string",
"pattern": "^org_[0-9a-fA-F-]{36}$"
},
"legacyOrganizationId": {
"type": "string",
"pattern": "^[0-9a-fA-F]{24}$"
},
"source": {
"enum": [
"native",
"legacy",
"legacy-reconciliation"
]
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"ownerPrincipalId": {
"type": "string"
},
"createdAt": {
"type": "string",
"format": "date-time"
},
"revision": {
"type": "integer",
"minimum": 3
},
"status": {
"const": "active"
},
"enabledAt": {
"type": "string",
"format": "date-time"
}
}
}