Codat · Schema

Webhook consumer

A webhook consumer is an HTTP endpoint that developers can configure to subscribe to Codat's supported event types. See our documentation for more details on [Codat's webhook service](https://docs.codat.io/using-the-api/webhooks/overview).

Unified-API

Properties

Name Type Description
id string Unique identifier for the webhook consumer.
url string The URL that will consume webhook events dispatched by Codat.
disabled boolean Flag that enables or disables the endpoint from receiving events. Disabled when set to `true`.
eventTypes array An array of event types the webhook consumer subscribes to.
companyTags array Company tags provide an additional way to filter messages, independent of event types. Company tags are case-sensitive, and only messages from companies with matching tags will be sent to this endpoin
View JSON Schema on GitHub

JSON Schema

codat-webhookconsumer-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WebhookConsumer",
  "title": "Webhook consumer",
  "type": "object",
  "description": "\ufeffA webhook consumer is an HTTP endpoint that developers can configure to subscribe to Codat's supported event types.\n\nSee our documentation for more details on [Codat's webhook service](https://docs.codat.io/using-the-api/webhooks/overview).\n",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "example": "8a210b68-6988-11ed-a1eb-0242ac120002",
      "description": "Unique identifier for the webhook consumer."
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "The URL that will consume webhook events dispatched by Codat."
    },
    "disabled": {
      "type": "boolean",
      "description": "Flag that enables or disables the endpoint from receiving events. Disabled when set to `true`.",
      "nullable": true,
      "default": false
    },
    "eventTypes": {
      "type": "array",
      "description": "An array of event types the webhook consumer subscribes to.",
      "items": {
        "type": "string"
      }
    },
    "companyTags": {
      "type": "array",
      "nullable": true,
      "description": "Company tags provide an additional way to filter messages, independent of event types. Company tags are case-sensitive, and only messages from companies with matching tags will be sent to this endpoint. Use the format `tagKey:tagValue`.",
      "items": {
        "type": "string",
        "maxLength": 128
      },
      "maxItems": 10
    }
  },
  "definitions": {
    "webhookConsumerPrototype": {
      "title": "Create webhook consumer",
      "type": "object",
      "properties": {
        "url": {
          "$ref": "#/components/schemas/WebhookConsumer/properties/url"
        },
        "disabled": {
          "$ref": "#/components/schemas/WebhookConsumer/properties/disabled"
        },
        "eventTypes": {
          "$ref": "#/components/schemas/WebhookConsumer/properties/eventTypes"
        },
        "companyTags": {
          "$ref": "#/components/schemas/WebhookConsumer/properties/companyTags"
        }
      }
    },
    "webhookConsumers": {
      "title": "Webhook consumers",
      "type": "object",
      "properties": {
        "results": {
          "type": "array",
          "maxItems": 50,
          "items": {
            "$ref": "#/components/schemas/WebhookConsumer"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/codat-webhookconsumer"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.