Telvana Webhooks API

Webhook payloads sent by Telvana to customer endpoints (not API endpoints to call)

GitHub OpenAPI

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/telvana-com:telvana-com-webhooks-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

telvana-com-webhooks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Telvana Webhooks API
  version: 1.0.0
  description: 'Welcome to the Telvana API - the comprehensive platform for building and managing AI-powered voice agents.


    Telvana enables developers to create sophisticated voice AI agents that can handle phone conversations with natural language understanding and generation. Our platform provides the infrastructure to build, deploy, and scale voice applications for customer service, sales, support, and more.


    **Key Features:** Outbound calling to any number, conversation management with detailed transcripts and analytics, real-time processing with low-latency responses, webhook integration for real-time updates, and comprehensive analytics and insights.


    **Getting Started:** Create a Telvana account at https://app.telvana.com/register, generate an API key under Settings > API keys in the portal, configure your agent with custom prompts and behavior, then start making calls using the /outbound endpoint.


    **Authentication:** All API endpoints require authentication using an API key passed in the x-api-key header. API keys are managed under Settings > API keys in the Telvana portal.


    **Error Shape:** Every error response is `{ "error": { "message": string, "code"?: string, "statusCode": number, "details"?: unknown } }`. `message` and `statusCode` are always present. `code` is a machine-readable identifier such as USAGE_LIMIT_EXCEEDED, set for the failures that have one, and `details` carries structured detail for the few that produce it, such as per-line prompt validation errors.


    **Usage Limits:** Your plan bounds call volume rather than request volume. /outbound answers 403 when the workspace has reached its monthly usage limit (USAGE_LIMIT_EXCEEDED), when a trial has used its included minutes (TRIAL_LIMIT_REACHED), or when the account is suspended for an overdue invoice (ACCOUNT_SUSPENDED). Read `error.code` to tell the cases apart.


    For guides and this reference, see https://telvana.com/docs. For integration questions or support, email support@telvana.com.'
servers:
- url: https://api.telvana.com
  description: Production server
security:
- ApiKeyAuth: []
tags:
- name: Webhooks
  description: Webhook payloads sent by Telvana to customer endpoints (not API endpoints to call)
paths: {}
webhooks:
  postConversation:
    post:
      summary: Post-conversation webhook
      description: 'This webhook is triggered automatically after each conversation completes if you have the setting turned on in agent configurations. Configure your webhook URL and secret in the Telvana dashboard under Settings > Webhooks.


        **Webhook URL Priority:**


        Webhook URLs can be configured at both the agent level and the workspace level. When a conversation completes, Telvana will send the webhook to the agent''s webhook URL if one is configured. If no agent webhook URL is set, the workspace webhook URL will be used instead. This allows you to have a default webhook endpoint for your workspace while still being able to override it for specific agents.


        **Complete Implementation Example:**


        For a full working example with signature verification, error handling, and best practices, see our example repository: https://github.com/telvana-ai/post-conversation-webhook-example


        **Security:**


        All webhook requests from Telvana include an `X-Webhook-Signature` header containing an HMAC SHA-256 signature of the request body. You should verify this signature to ensure the request came from Telvana.


        **Signature Verification Steps:**


        1. Extract the `X-Webhook-Signature` header from the request

        2. Compute HMAC SHA-256 of the raw request body using your webhook secret

        3. Compare the computed signature with the header value

        4. Reject requests with invalid or missing signatures


        **Example Verification (Node.js):**


        ```javascript

        const crypto = require(''crypto'');


        // Get the signature from headers

        const receivedSignature = req.headers[''x-webhook-signature''];


        // Compute expected signature using raw body

        const expectedSignature = crypto

        .createHmac(''sha256'', YOUR_WEBHOOK_SECRET)

        .update(rawRequestBody)

        .digest(''hex'');


        // Verify signatures match

        if (receivedSignature !== expectedSignature) {

        return res.status(401).json({ error: ''Invalid signature'' });

        }

        ```


        **Example Verification (Python):**


        ```python

        import hmac

        import hashlib


        # Get the signature from headers

        received_signature = request.headers.get(''X-Webhook-Signature'')


        # Compute expected signature using raw body

        expected_signature = hmac.new(

        YOUR_WEBHOOK_SECRET.encode(''utf-8''),

        request.body,

        hashlib.sha256

        ).hexdigest()


        # Verify signatures match

        if received_signature != expected_signature:

        return {''error'': ''Invalid signature''}, 401

        ```


        **Important Notes:**


        - Always use the raw request body for signature verification (before JSON parsing)

        - Store your webhook secret securely (environment variables, secrets manager)'
      operationId: postConversationWebhook
      tags:
      - Webhooks
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                conversationId:
                  type: string
                  description: Unique identifier for the conversation
                dateInitiated:
                  type: string
                  format: date-time
                  description: When the conversation started (ISO timestamp)
                agentId:
                  type: string
                  description: ID of the AI agent that handled the call
                workspaceId:
                  type: string
                  description: ID of the workspace/organization
                transcript:
                  type: string
                  description: Full text transcript of the conversation (empty string for failed calls)
                direction:
                  type: string
                  enum:
                  - INBOUND
                  - OUTBOUND
                  description: 'Direction of call: OUTBOUND (Calling a Human) or INBOUND (Incoming Call from Human)'
                cost:
                  type: number
                  description: Cost in cents (0 for failed calls)
                agentPhoneNumber:
                  type: string
                  description: The phone number used by the AI agent
                humanPhoneNumber:
                  type: string
                  description: The customer's phone number
                duration:
                  type: number
                  description: Call duration in seconds (0 for failed calls)
                summary:
                  type: string
                  description: AI-generated summary of the conversation (empty string for failed calls)
                sentiment:
                  type: string
                  enum:
                  - POSITIVE
                  - NEUTRAL
                  - NEGATIVE
                  - N_A
                  description: Sentiment classification of the conversation. N_A indicates no sentiment is available (e.g., the call failed to connect and no human was reached).
                disposition:
                  type: string
                  description: Call outcome (e.g., COMPLETED, FAILED, VOICEMAIL). For failed calls this is "FAILED".
                tags:
                  type: array
                  items:
                    type: string
                    description: Conversation tag label (e.g., appointment_booked, not_interested, or custom tag names)
                  description: Zero or more tags that apply to this conversation (built-in and custom)
                variables:
                  type: object
                  additionalProperties:
                    type: string
                  description: Key-value pairs passed during call initiation
              required:
              - conversationId
              - dateInitiated
              - agentId
              - workspaceId
              - transcript
              - direction
              - cost
              - agentPhoneNumber
              - humanPhoneNumber
              - duration
              - summary
              - sentiment
              - disposition
              - tags
              - variables
              additionalProperties: false
            example:
              conversationId: clx8y9z1a2b3c4d5e6f7g8h9i
              dateInitiated: '2025-12-01T14:30:00.000Z'
              agentId: agent_abc123
              workspaceId: workspace_xyz789
              transcript: 'Agent: Hello, this is Sarah from Telvana calling to confirm your appointment tomorrow at 2:00 PM. Is this still convenient for you?


                Customer: Yes, that works perfectly. Thank you for calling to confirm.


                Agent: Great! We look forward to seeing you tomorrow. Have a wonderful day!


                Customer: Thank you, you too!'
              direction: OUTBOUND
              cost: 125
              agentPhoneNumber: '+15559876543'
              humanPhoneNumber: '+15551234567'
              duration: 210
              recordingUrl: https://s3.amazonaws.com/recordings/clx8y9z1a2b3c4d5e6f7g8h9i.wav
              summary: Successfully confirmed customer appointment for tomorrow at 2:00 PM. Customer was polite and confirmed availability.
              sentiment: POSITIVE
              disposition: COMPLETED
              tags:
              - appointment_booked
              variables:
                firstName: John
                lastName: Smith
                appointmentTime: 2:00 PM
      responses:
        '200':
          description: Webhook received successfully. Your endpoint should return 200 OK to acknowledge receipt.
        '401':
          description: Invalid webhook signature
      x-custom-headers:
        X-Webhook-Signature:
          description: 'HMAC SHA-256 signature of the request body using your webhook secret. Format: hex-encoded string (64 characters)'
          example: 7d8e9f1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b1c2d3e4f5a6b7c8d9e
          required: true
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 'API key for authentication. Obtain from your Telvana dashboard under the API Keys page. Include in all requests as: x-api-key: tlv_1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef'