AgentPhone · AsyncAPI Specification

AgentPhone Webhooks

Version 1.0.0

Event surface AgentPhone delivers to a project-level or per-agent webhook URL. Generated by the API Evangelist enrichment pipeline from the published webhook documentation (https://docs.agentphone.ai/documentation/guides/webhooks); AgentPhone does not publish an AsyncAPI document of its own.

View Spec View on GitHub CompanyTelephonyPhone NumbersSMSVoiceAI AgentsMessagingCommunicationsWebhookMCPiMessageAsyncAPIEventsWebhooks

Channels

events
All AgentPhone events POST to the configured webhook URL.

Messages

AgentMessage
Inbound SMS/voice message for an agent
AgentCallEnded
A voice call has ended
AgentReaction
A reaction was applied to a message

Servers

https
webhook
The consumer HTTPS endpoint registered via POST /v1/webhooks.

AsyncAPI Specification

Raw ↑
asyncapi: 3.0.0
info:
  title: AgentPhone Webhooks
  version: 1.0.0
  description: >-
    Event surface AgentPhone delivers to a project-level or per-agent webhook
    URL. Generated by the API Evangelist enrichment pipeline from the published
    webhook documentation (https://docs.agentphone.ai/documentation/guides/webhooks);
    AgentPhone does not publish an AsyncAPI document of its own.
  x-provenance:
    generated: '2026-07-17'
    method: generated
    source: https://docs.agentphone.ai/documentation/guides/webhooks
defaultContentType: application/json
servers:
  webhook:
    host: your-endpoint.example.com
    protocol: https
    description: The consumer HTTPS endpoint registered via POST /v1/webhooks.
channels:
  events:
    address: /
    description: All AgentPhone events POST to the configured webhook URL.
    messages:
      agentMessage:
        $ref: '#/components/messages/AgentMessage'
      agentCallEnded:
        $ref: '#/components/messages/AgentCallEnded'
      agentReaction:
        $ref: '#/components/messages/AgentReaction'
operations:
  receiveEvent:
    action: receive
    channel:
      $ref: '#/channels/events'
    messages:
    - $ref: '#/channels/events/messages/agentMessage'
    - $ref: '#/channels/events/messages/agentCallEnded'
    - $ref: '#/channels/events/messages/agentReaction'
components:
  messages:
    AgentMessage:
      name: agent.message
      title: Inbound SMS/voice message for an agent
      headers:
        $ref: '#/components/schemas/WebhookHeaders'
      payload:
        type: object
        properties:
          event: {type: string, const: agent.message}
          channel: {type: string, enum: [sms, voice]}
          timestamp: {type: string, format: date-time}
          agentId: {type: string}
          data: {type: object}
          conversationState: {type: [object, 'null']}
          recentHistory: {type: array}
    AgentCallEnded:
      name: agent.call_ended
      title: A voice call has ended
      headers:
        $ref: '#/components/schemas/WebhookHeaders'
      payload:
        type: object
        properties:
          event: {type: string, const: agent.call_ended}
          agentId: {type: string}
          timestamp: {type: string, format: date-time}
          data: {type: object}
    AgentReaction:
      name: agent.reaction
      title: A reaction was applied to a message
      headers:
        $ref: '#/components/schemas/WebhookHeaders'
      payload:
        type: object
        properties:
          event: {type: string, const: agent.reaction}
          agentId: {type: string}
          timestamp: {type: string, format: date-time}
          data: {type: object}
  schemas:
    WebhookHeaders:
      type: object
      properties:
        X-Webhook-Signature:
          type: string
          description: HMAC-SHA256 over '{timestamp}.{raw_body}' as sha256=<hex>.
        X-Webhook-ID:
          type: string
          description: Unique delivery ID; use for idempotent processing.

Work with this as data

Every AsyncAPI spec 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 asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec 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 AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/agentphone-webhooks-asyncapi"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?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.