TANITARDevelopers
WebhooksEvent catalogTournaments

tournament.organization.updated

Version 1 of the tournament.organization.updated webhook event.

The tournament.organization.updated event.

Event typetournament.organization.updated
Schema version1
Routing keyevent.tournament.organization.updated.v1
Produced byTournament Management
Schemaurn:defendr:contract:tournament:organization-updated:1

data fields

FieldTypeRequiredDescription
organizationIdstringyes
legacyOrganizationIdstringno
source"native", "legacy", "legacy-reconciliation"no
revisionintegeryes
namestringyes
slugstringyes
ownerPrincipalIdstringyes
status"active", "disabled"yes
createdAtstring (date-time)yes
updatedAtstring (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-000000000063
webhook-timestamp: 1800000000
webhook-signature: v1,S17EIOw2lAk1UjhgZB4Im3e/F48ZoVRwV4ErzhbkVvU=
tanitar-event-type: tournament.organization.updated
tanitar-schema-version: 1
tanitar-delivery-attempt: 1

{"messageId":"evt_00000000-0000-4000-8000-000000000063","kind":"event","type":"tournament.organization.updated","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-000000000063","data":{"organizationId":"org_11111111-1111-4111-8111-111111111111","revision":2,"name":"North Star Esports","slug":"north-star","ownerPrincipalId":"principal_2","status":"active","createdAt":"2026-08-06T10:00:00.000Z","updatedAt":"2026-08-06T11:00:00.000Z"}}

The same body, formatted:

{
  "messageId": "evt_00000000-0000-4000-8000-000000000063",
  "kind": "event",
  "type": "tournament.organization.updated",
  "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-000000000063",
  "data": {
    "organizationId": "org_11111111-1111-4111-8111-111111111111",
    "revision": 2,
    "name": "North Star Esports",
    "slug": "north-star",
    "ownerPrincipalId": "principal_2",
    "status": "active",
    "createdAt": "2026-08-06T10:00:00.000Z",
    "updatedAt": "2026-08-06T11:00:00.000Z"
  }
}

JSON Schema

urn:defendr:contract:tournament:organization-updated:1
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "urn:defendr:contract:tournament:organization-updated:1",
  "title": "Tournament organization updated event payload",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "organizationId",
    "revision",
    "name",
    "slug",
    "ownerPrincipalId",
    "status",
    "createdAt",
    "updatedAt"
  ],
  "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"
      ]
    },
    "revision": {
      "type": "integer",
      "minimum": 2
    },
    "name": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120
    },
    "slug": {
      "type": "string",
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
      "maxLength": 80
    },
    "ownerPrincipalId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 256
    },
    "status": {
      "enum": [
        "active",
        "disabled"
      ]
    },
    "createdAt": {
      "type": "string",
      "format": "date-time"
    },
    "updatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}

On this page