Numbers Online Webhooks API

AI-voice-agent webhook adapters (Retell inbound, Vapi custom tool) over the same lookup backend

Operations 2

POST /api/v1/integrations/retell/inbound Retell call_inbound webhook #
POST /api/v1/integrations/vapi/tool Vapi custom (function) tool webhook #

Documentation

Specifications

Other Resources

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/numbers-online:numbers-online-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

numbers-online-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Numbers Online Phone Intelligence Webhooks API
  description: Phone number parsing, validation, and inbound caller-intelligence as a supplementary signal.
  version: 1.0.0
  contact:
    name: Phone Numbers Online
    url: https://numbers.online
servers:
- url: https://numbers.online
  description: Production server
- url: http://localhost:3000
  description: Development server
tags:
- name: Webhooks
  description: AI-voice-agent webhook adapters (Retell inbound, Vapi custom tool) over the same lookup backend
paths:
  /api/v1/integrations/retell/inbound:
    post:
      tags:
      - Webhooks
      summary: Retell call_inbound webhook
      description: 'Adapter for Retell''s call_inbound webhook. Looks up the inbound caller and returns dynamic_variables (caller_name, caller_line_type, caller_spam_score, caller_risk, caller_risk_model, caller_on_dnc, caller_reassigned, caller_signal) for the agent prompt, plus a receipt_id in metadata. ALWAYS returns HTTP 200 with a (possibly empty) variables block — a non-2xx would keep the caller ringing — so auth failure, a missing number, or a supplier timeout degrade to neutral variables (fail-open on the live-call path). Authenticate with a key via Authorization: Bearer or ?key= on the webhook URL.'
      operationId: retellInbound
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      - CidQueryKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                event:
                  type: string
                  example: call_inbound
                call_inbound:
                  type: object
                  properties:
                    from_number:
                      type: string
                      example: '+14155552671'
                    to_number:
                      type: string
                      example: '+14155550100'
      responses:
        '200':
          description: Retell dynamic variables (always 200, fail-open).
          content:
            application/json:
              schema:
                type: object
                properties:
                  call_inbound:
                    type: object
                    properties:
                      dynamic_variables:
                        type: object
                        additionalProperties:
                          type: string
                      metadata:
                        type: object
  /api/v1/integrations/vapi/tool:
    post:
      tags:
      - Webhooks
      summary: Vapi custom (function) tool webhook
      description: 'Adapter for a Vapi custom function tool (an alternative to pointing Vapi at /api/v1/mcp). Accepts Vapi''s {message:{type:"tool-calls", toolCallList:[{id, arguments:{number}}]}} and returns {results:[{toolCallId, result}]} where result is the JSON-stringified phone_lookup bundle. Each call meters the bundled mcp_call rate. Fail-open: a bad argument or supplier hiccup yields a graceful result string. Authenticate with a key via Authorization: Bearer or ?key=.'
      operationId: vapiTool
      security:
      - BearerAuth: []
      - ApiKeyAuth: []
      - CidQueryKeyAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                message:
                  type: object
                  properties:
                    type:
                      type: string
                      example: tool-calls
                    toolCallList:
                      type: array
                      items:
                        type: object
                        properties:
                          id:
                            type: string
                          arguments:
                            type: object
                            properties:
                              number:
                                type: string
                                example: '+14155552671'
      responses:
        '200':
          description: Vapi tool results (one per toolCallId).
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        toolCallId:
                          type: string
                        result:
                          type: string
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key for authentication
    BearerAuth:
      type: http
      scheme: bearer
      description: Bearer token authentication
    CidQueryKeyAuth:
      type: apiKey
      in: query
      name: key
      description: API key in the `?key=` query param. Accepted by the header-less PBX endpoint GET /api/v1/cid/{number} and by the webhook adapters POST /api/v1/integrations/retell/inbound, POST /api/v1/integrations/vapi/tool, and POST /api/v1/sbc/redirect, whose upstream platforms set only a static webhook URL and cannot send an Authorization/X-API-Key header. The key can leak into access logs — use a dedicated, rotated key, and prefer header auth wherever the client supports it.