Thoughtly · Schema

Thoughtly Webhook

Schema for Thoughtly Webhook subscription and event payload objects.

Voice AIChat AIConversational AIAI AgentsOutbound CallingInbound CallingLead ConversionSMSWhatsAppCRMTelephony
View JSON Schema on GitHub

JSON Schema

thoughtly-webhook-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/schemas/thoughtly/thoughtly-webhook-schema.json",
  "title": "Thoughtly Webhook",
  "description": "Schema for Thoughtly Webhook subscription and event payload objects.",
  "type": "object",
  "definitions": {
    "WebhookSubscription": {
      "type": "object",
      "required": ["type", "url"],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "NEW_RESPONSE",
            "PHONE_TRANSFER",
            "FOLDER_NEW_RESPONSE",
            "FOLDER_PHONE_TRANSFER",
            "ACTION_FAILED"
          ],
          "description": "Webhook event type."
        },
        "url": {
          "type": "string",
          "format": "uri",
          "description": "Callback URL where events are POSTed."
        },
        "data": {
          "type": "string",
          "nullable": true,
          "description": "Optional opaque data sent back with each event delivery."
        }
      }
    },
    "WebhookEventPayload": {
      "type": "object",
      "description": "Payload sent to subscriber URLs when a Thoughtly event fires.",
      "properties": {
        "event": {
          "type": "string",
          "enum": [
            "NEW_RESPONSE",
            "PHONE_TRANSFER",
            "FOLDER_NEW_RESPONSE",
            "FOLDER_PHONE_TRANSFER",
            "ACTION_FAILED"
          ]
        },
        "call": { "$ref": "https://api-evangelist.com/schemas/thoughtly/thoughtly-call-schema.json" },
        "agent": {
          "type": "object",
          "properties": {
            "id": { "type": "string" },
            "title": { "type": "string" },
            "phone_number": { "type": "string" }
          }
        },
        "transcript": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "transcript": { "type": "string" },
              "speaker": { "type": "string", "enum": ["ai", "user"] },
              "createdAt": { "type": "string", "format": "date-time" },
              "step": { "type": "integer" },
              "node_id": { "type": "string" }
            }
          }
        },
        "custom_fields": {
          "type": "object",
          "additionalProperties": true
        }
      }
    }
  }
}

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/thoughtly-webhook"
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.