AgentPhone agent-webhooks API

The agent-webhooks API from AgentPhone — 3 operation(s) for agent-webhooks.

Operations 5

GET /v1/agents/{agent_id}/webhook Get Agent Webhook #
POST /v1/agents/{agent_id}/webhook Create Or Update Agent Webhook #
DELETE /v1/agents/{agent_id}/webhook Delete Agent Webhook #
GET /v1/agents/{agent_id}/webhook/deliveries List Agent Deliveries #
POST /v1/agents/{agent_id}/webhook/test Test Agent Webhook #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/agentphone-agent-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

agentphone-agent-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reference Agent Webhooks API
  version: 1.0.0
servers:
- url: https://api.agentphone.ai
  description: Production
tags:
- name: agent-webhooks
paths:
  /v1/agents/{agent_id}/webhook:
    get:
      operationId: get-agent-webhook-v-1-agents-agent-id-webhook-get
      summary: Get Agent Webhook
      description: Get the webhook configuration for a specific agent.
      tags:
      - agent-webhooks
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/WebhookResponse'
                - type: 'null'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      operationId: create-or-update-agent-webhook-v-1-agents-agent-id-webhook-post
      summary: Create Or Update Agent Webhook
      description: 'Register or update a webhook URL for a specific agent.


        When set, this agent''s events are delivered here instead of the account default webhook.'
      tags:
      - agent-webhooks
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WebhookCreateRequest'
    delete:
      operationId: delete-agent-webhook-v-1-agents-agent-id-webhook-delete
      summary: Delete Agent Webhook
      description: Remove the webhook for a specific agent.
      tags:
      - agent-webhooks
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                description: Any type
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/agents/{agent_id}/webhook/deliveries:
    get:
      operationId: list-agent-deliveries-v-1-agents-agent-id-webhook-deliveries-get
      summary: List Agent Deliveries
      description: Get recent webhook delivery attempts for a specific agent's webhook.
      tags:
      - agent-webhooks
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          default: 50
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WebhookDeliveryResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/agents/{agent_id}/webhook/test:
    post:
      operationId: test-agent-webhook-v-1-agents-agent-id-webhook-test-post
      summary: Test Agent Webhook
      description: Send a test webhook to the agent's webhook endpoint.
      tags:
      - agent-webhooks
      parameters:
      - name: agent_id
        in: path
        required: true
        schema:
          type: string
      - name: Authorization
        in: header
        description: Bearer authentication
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                description: Any type
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    WebhookCreateRequest:
      type: object
      properties:
        url:
          type: string
          format: uri
        contextLimit:
          type:
          - integer
          - 'null'
        timeout:
          type:
          - integer
          - 'null'
      required:
      - url
      title: WebhookCreateRequest
    ValidationError:
      type: object
      properties:
        loc:
          type: array
          items:
            $ref: '#/components/schemas/ValidationErrorLocItems'
        msg:
          type: string
        type:
          type: string
      required:
      - loc
      - msg
      - type
      title: ValidationError
    WebhookResponse:
      type: object
      properties:
        id:
          type: string
        url:
          type: string
        secret:
          type: string
        status:
          type: string
        contextLimit:
          type: integer
        timeout:
          type: integer
        createdAt:
          type: string
          format: date-time
      required:
      - id
      - url
      - secret
      - status
      - contextLimit
      - timeout
      - createdAt
      title: WebhookResponse
    WebhookDeliveryResponse:
      type: object
      properties:
        id:
          type: string
        messageId:
          type:
          - string
          - 'null'
        eventType:
          type:
          - string
          - 'null'
        channel:
          type:
          - string
          - 'null'
        status:
          type: string
        httpStatus:
          type:
          - integer
          - 'null'
        errorMessage:
          type:
          - string
          - 'null'
        responseBody:
          type:
          - string
          - 'null'
        attemptCount:
          type: integer
        lastAttemptAt:
          type:
          - string
          - 'null'
          format: date-time
        nextRetryAt:
          type:
          - string
          - 'null'
          format: date-time
        createdAt:
          type: string
          format: date-time
      required:
      - id
      - messageId
      - eventType
      - channel
      - status
      - httpStatus
      - errorMessage
      - responseBody
      - attemptCount
      - lastAttemptAt
      - nextRetryAt
      - createdAt
      title: WebhookDeliveryResponse
    ValidationErrorLocItems:
      oneOf:
      - type: string
      - type: integer
      title: ValidationErrorLocItems
    HTTPValidationError:
      type: object
      properties:
        detail:
          type: array
          items:
            $ref: '#/components/schemas/ValidationError'
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer