org.tangled.webhook.createWebhook

tangled.org

{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Create a new webhook for a repository.",
      "errors": [
        {
          "description": "At least one event type must be specified.",
          "name": "NoEventsSelected"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "active": {
              "default": true,
              "description": "Whether the webhook should be active immediately.",
              "type": "boolean"
            },
            "events": {
              "description": "Event types to subscribe to.",
              "items": {
                "ref": "org.tangled.webhook.defs#eventType",
                "type": "ref"
              },
              "type": "array"
            },
            "repo": {
              "description": "DID of the repository as minted by the knot.",
              "format": "did",
              "type": "string"
            },
            "secret": {
              "description": "Optional HMAC secret used to sign payloads. If omitted, payloads are not signed.",
              "type": "string"
            },
            "url": {
              "description": "Endpoint URL that will receive webhook payloads.",
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "repo",
            "url",
            "events"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "id": {
              "description": "ID of the newly created webhook.",
              "type": "string"
            }
          },
          "required": [
            "id"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "org.tangled.webhook.createWebhook",
  "lexicon": 1
}

Validate Record

Validate a record against org.tangled.webhook.createWebhook

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:wshs7t2adsemcrrd4snkeqli
CID
bafyreic6azwej3o7y66cq2kgr7q7je7zz5dmj6lhintgv4vhriuuduxtz4
Indexed At
2026-10-28 14:06 UTC
AT-URI
at://did:plc:wshs7t2adsemcrrd4snkeqli/com.atproto.lexicon.schema/org.tangled.webhook.createWebhook

Referenced Schemas (1)

Similar Lexicons

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

Lexicon Garden

@