Telvana Conversations API
Endpoints for managing and retrieving conversation data
Endpoints for managing and retrieving conversation data
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/telvana-com:telvana-com-conversations-api"
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.
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: 3.2.0
info:
title: Telvana Conversations 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: Conversations
description: Endpoints for managing and retrieving conversation data
paths:
/conversation/{id}:
get:
summary: Get conversation by ID
description: Retrieve details of a specific conversation including transcript and analytics
operationId: getConversation
tags:
- Conversations
parameters:
- name: id
in: path
required: true
description: Unique identifier for the conversation
schema:
type: string
example: clx8y9z1a2b3c4d5e6f7g8h9i
responses:
'200':
description: Conversation retrieved successfully. An id that does not exist, or that belongs to another workspace, also answers 200 with `data` set to null rather than a 404.
content:
application/json:
schema:
type: object
properties:
data:
type:
- object
- 'null'
properties:
id:
type: string
description: ID of conversation
dateInitiated:
type: string
format: date-time
description: Date initialized of conversation (ISO timestamp)
agentId:
type: string
description: ID of Agent used in the conversation
direction:
type: string
enum:
- INBOUND
- OUTBOUND
description: 'Direction of call: OUTBOUND (Calling a Human) or INBOUND (Incoming Call from Human)'
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 for the conversation (built-in and custom)
summary:
type: string
nullable: true
description: AI-generated summary of the conversation
durationSeconds:
type: number
description: Precise call duration in seconds
cost:
type: number
description: Cost of the call in cents
humanPhoneNumber:
type: string
description: The customer/human's phone number
agentPhoneNumber:
type: string
description: The phone number used by the AI agent
sentimentClassification:
type: string
enum:
- POSITIVE
- NEUTRAL
- NEGATIVE
- N_A
nullable: true
description: Sentiment classification of the conversation. N_A indicates no sentiment is available (e.g., the call failed to connect).
transcript:
type: string
description: Full text transcript of the conversation
recordingUrl:
type: string
description: Pre-signed S3 URL for downloading the audio recording (expires in 1 hour)
required:
- id
- dateInitiated
- agentId
- direction
- tags
- summary
- durationSeconds
- cost
- humanPhoneNumber
- agentPhoneNumber
- sentimentClassification
additionalProperties: false
description: The conversation, or null when the authenticated workspace has no conversation with that id.
example:
data:
id: clx8y9z1a2b3c4d5e6f7g8h9i
dateInitiated: '2025-12-01T14:30:00.000Z'
agentId: agent_abc123
direction: OUTBOUND
tags:
- appointment_booked
summary: Successfully confirmed customer appointment for tomorrow at 2:00 PM. Customer was polite and confirmed availability.
durationSeconds: 210
cost: 125
humanPhoneNumber: '+15551234567'
agentPhoneNumber: '+15559876543'
sentimentClassification: POSITIVE
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!'
recordingUrl: https://s3.amazonaws.com/recordings/clx8y9z1a2b3c4d5e6f7g8h9i.wav
'401':
description: Unauthorized - Invalid API key
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: string
description: Machine-readable error code. Omitted when the API sets no code for the failure.
statusCode:
type: number
description: HTTP status code
details:
description: Structured detail for the failures that carry it, such as the per-line errors from prompt validation. Omitted otherwise.
required:
- message
- statusCode
additionalProperties: false
required:
- error
additionalProperties: false
example:
error:
message: Unauthorized
statusCode: 401
/conversations:
get:
summary: Get conversations list
description: Retrieve a list of conversations with optional filtering. Results are ordered by date initiated (most recent first).
operationId: getConversations
tags:
- Conversations
parameters:
- name: datetime_start
in: query
required: false
description: Start timestamp for filtering conversations (Unix timestamp in milliseconds, e.g., 1764547200000)
schema:
type: integer
format: int64
example: 1764547200000
- name: datetime_end
in: query
required: false
description: End timestamp for filtering conversations (Unix timestamp in milliseconds, e.g., 1764720000000)
schema:
type: integer
format: int64
example: 1764720000000
- name: agent_id
in: query
required: false
description: Filter by agent ID
- name: direction
in: query
required: false
description: Filter by call direction
schema:
type: string
enum:
- INBOUND
- OUTBOUND
example: OUTBOUND
- name: sentiment
in: query
required: false
description: Filter by sentiment classification
schema:
type: string
enum:
- POSITIVE
- NEUTRAL
- NEGATIVE
example: POSITIVE
- name: limit
in: query
required: false
description: 'Number of records to return (default: 50, max: 100)'
schema:
type: integer
minimum: 1
maximum: 100
default: 50
example: 100
- name: skip
in: query
required: false
description: 'Number of records to skip for pagination (default: 0)'
schema:
type: integer
minimum: 0
default: 0
responses:
'200':
description: Conversations retrieved successfully
content:
application/json:
schema:
type: array
properties:
data:
type: object
properties:
id:
type: string
description: ID of conversation
dateInitiated:
type: string
format: date-time
description: Date initialized of conversation (ISO timestamp)
agentId:
type: string
description: ID of Agent used in the conversation
direction:
type: string
enum:
- INBOUND
- OUTBOUND
description: 'Direction of call: OUTBOUND (Calling a Human) or INBOUND (Incoming Call from Human)'
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 for the conversation (built-in and custom)
summary:
type: string
nullable: true
description: AI-generated summary of the conversation
durationSeconds:
type: number
description: Precise call duration in seconds
cost:
type: number
description: Cost of the call in cents
humanPhoneNumber:
type: string
description: The customer/human's phone number
agentPhoneNumber:
type: string
description: The phone number used by the AI agent
sentimentClassification:
type: string
enum:
- POSITIVE
- NEUTRAL
- NEGATIVE
- N_A
nullable: true
description: Sentiment classification of the conversation. N_A indicates no sentiment is available (e.g., the call failed to connect).
transcript:
type: string
description: Full text transcript of the conversation
recordingUrl:
type: string
description: Pre-signed S3 URL for downloading the audio recording (expires in 1 hour)
required:
- id
- dateInitiated
- agentId
- direction
- tags
- summary
- durationSeconds
- cost
- humanPhoneNumber
- agentPhoneNumber
- sentimentClassification
additionalProperties: false
example:
data:
- id: clx8y9z1a2b3c4d5e6f7g8h9i
dateInitiated: '2025-12-01T14:30:00.000Z'
agentId: agent_abc123
direction: OUTBOUND
tags:
- appointment_booked
summary: Successfully confirmed customer appointment for tomorrow at 2:00 PM. Customer was polite and confirmed availability.
durationSeconds: 210
cost: 125
humanPhoneNumber: '+15551234567'
agentPhoneNumber: '+15559876543'
sentimentClassification: POSITIVE
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.'
'401':
description: Unauthorized - Invalid API key
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
message:
type: string
description: Human-readable error message
code:
type: string
description: Machine-readable error code. Omitted when the API sets no code for the failure.
statusCode:
type: number
description: HTTP status code
details:
description: Structured detail for the failures that carry it, such as the per-line errors from prompt validation. Omitted otherwise.
required:
- message
- statusCode
additionalProperties: false
required:
- error
additionalProperties: false
example:
error:
message: Unauthorized
statusCode: 401
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'