Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
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.
openapi: 3.2.0
info:
title: Vobiz Play Audio API
description: 'The Vobiz API lets you make calls, manage phone numbers, configure SIP trunks,
and access account data programmatically.
**Base URL:** `https://api.vobiz.ai`
**Authentication:** All requests require `X-Auth-ID` and `X-Auth-Token` headers.
Obtain these from your Vobiz Console.
**Versioning and deprecation:** The API is versioned in the URL (`/api/v1/`). Breaking changes go through a published deprecation lifecycle: the change is announced and marked `deprecated` in this spec, deprecated endpoints carry `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) response headers, and a deprecated field or endpoint stays available for a minimum of 90 days between the sunset announcement and removal. See the versioning and deprecation policy.'
version: '1.0'
contact:
email: support@vobiz.ai
url: https://www.vobiz.ai
servers:
- url: https://api.vobiz.ai
description: Production
security:
- AuthID: []
AuthToken: []
tags:
- name: Play Audio
paths:
/api/v1/Account/{auth_id}/Call/{call_uuid}/Play/:
post:
operationId: play-audio-call
summary: Play audio to a call
description: Play an audio file to a live call leg.
tags:
- Play Audio
parameters:
- $ref: '#/components/parameters/AuthId'
- name: call_uuid
in: path
required: true
schema:
type: string
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- urls
properties:
urls:
type: string
example: https://example.com/audio.mp3
legs:
type: string
enum:
- aleg
- bleg
- both
default: aleg
loop:
type: boolean
default: false
example:
urls: https://example.com/audio.mp3
legs: aleg
responses:
'200':
description: Audio playback started
delete:
operationId: stop-audio-call
summary: Stop audio playback on a call
description: Stop audio playing on a live call.
tags:
- Play Audio
parameters:
- $ref: '#/components/parameters/AuthId'
- name: call_uuid
in: path
required: true
schema:
type: string
responses:
'204':
description: Playback stopped
components:
parameters:
AuthId:
name: auth_id
in: path
required: true
description: Your account Auth ID
schema:
type: string
example: MA_XXXXXX
securitySchemes:
AuthID:
type: apiKey
in: header
name: X-Auth-ID
description: Your Vobiz account Auth ID
AuthToken:
type: apiKey
in: header
name: X-Auth-Token
description: Your Vobiz account Auth Token
externalDocs:
description: API versioning and deprecation policy
url: https://www.vobiz.ai/docs/api-reference/versioning