Wavix Voice campaigns API

Outbound voice campaigns

GitHub OpenAPI
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).

Operations 2

POST /v1/voice-campaigns Trigger a scenario #
GET /v1/voice-campaigns/{id} Retrieve a voice campaign #

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/wavix-com:wavix-com-voice-campaigns-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

wavix-com-voice-campaigns-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Wavix Voice campaigns API
  description: Wavix provides robust APIs that let you integrate voice and text messaging features directly into your app. Send text, place calls, and access detailed reports programmatically.
  termsOfService: https://wavix.com/terms-and-conditions
  license:
    name: MIT
    identifier: MIT
  contact:
    name: Wavix
    url: https://wavix.com
    email: support@wavix.com
  version: 3.2.0
servers:
- url: https://api.wavix.com
  description: https://api.wavix.com
  variables: {}
security:
- bearerAuth: []
tags:
- name: Voice campaigns
  description: Outbound voice campaigns
paths:
  /v1/voice-campaigns:
    post:
      tags:
      - Voice campaigns
      summary: Trigger a scenario
      description: Launches a voice campaign that places a real outbound call using a pre-configured scenario. Track progress with the returned voice campaign `id`.
      operationId: voice_campaigns_create
      security:
      - bearerAuth:
        - campaigns:write
      x-fern-sdk-group-name:
      - voiceCampaigns
      x-fern-sdk-method-name: create
      x-mcp:
        readOnly: false
        destructive: true
        openWorld: true
        expose: true
        billable: true
        toolset: calls
      parameters: []
      requestBody:
        description: Attributes for the new voice campaign.
        content:
          application/json:
            schema:
              allOf:
              - $ref: '#/components/schemas/VoiceCampaignCreateRequest'
              - description: Scenario and contact details for the campaign.
              type: object
        required: true
      responses:
        '201':
          description: Returns the launched voice campaign.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceCampaignsCreateResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    voice_campaign:
                      id: 2321423
                      status: status
                      timestamp: '2023-06-15T10:30:00Z'
                      caller_id: org_123
                      contact: contact
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
        '422':
          description: Returns when the account has insufficient funds to launch the campaign.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RecordNotFoundErrorResponse'
              examples:
                default:
                  value:
                    success: false
                    message: Insufficient funds
      deprecated: false
  /v1/voice-campaigns/{id}:
    get:
      tags:
      - Voice campaigns
      summary: Retrieve a voice campaign
      description: Returns the voice campaign identified by `id`, including its current status.
      operationId: voice_campaigns_get
      security:
      - bearerAuth:
        - campaigns:read
      x-fern-sdk-group-name:
      - voiceCampaigns
      x-fern-sdk-method-name: get
      x-mcp:
        readOnly: true
        destructive: false
        openWorld: false
        expose: true
        toolset: voice_history
      parameters:
      - name: id
        in: path
        description: The unique ID of the voice campaign to retrieve.
        required: true
        style: simple
        schema:
          type: integer
          format: int32
          example: 2321423
      responses:
        '200':
          description: Returns the voice campaign.
          headers: {}
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VoiceCampaignsGetResponse'
              examples:
                success:
                  summary: Successful response
                  value:
                    voice_campaign:
                      id: 2321423
                      status: in_progress
                      timestamp: '2023-08-03T09:04:12.000Z'
                      caller_id: '13123310912'
                      contact: '16729923812'
        '400':
          $ref: '#/components/responses/BadRequestErrorResponse'
        '401':
          $ref: '#/components/responses/UnauthorizedErrorResponse'
        '403':
          $ref: '#/components/responses/ForbiddenErrorResponse'
        '404':
          $ref: '#/components/responses/NotFoundErrorResponse'
      deprecated: false
components:
  schemas:
    VoiceCampaignResponse:
      title: VoiceCampaignResponse
      description: Represents a voice campaign that places an outbound call running a pre-approved call flow.
      required:
      - callflow_id
      - caller_id
      - contact
      type: object
      additionalProperties: false
      properties:
        callflow_id:
          type: integer
          description: Unique identifier of the call flow to launch, listed on the Call flows page. Every scenario must be pre-approved by the Wavix Service Operations team before it can be used in production.
          format: int32
          example: 3212
        caller_id:
          type: string
          description: Phone number on the account used as the Caller ID for the outbound call, in E.164 format.
          example: '13123310912'
        contact:
          type: string
          description: Destination phone number the outbound call is placed to, in E.164 format.
          example: '16729923812'
        callback_url:
          type: string
          description: Webhook URL that receives voice campaign status updates.
          example: https://you-site.com/webhook
    VoiceCampaignsCreateResponse:
      type: object
      additionalProperties: false
      properties:
        voice_campaign:
          type: object
          additionalProperties: false
          properties:
            id:
              type: integer
              description: Unique identifier of the voice campaign.
              example: 2321423
            status:
              type: string
              description: Current status of the voice campaign, such as `in_progress`.
              example: in_progress
            timestamp:
              type: string
              format: date-time
              description: Timestamp when the voice campaign was created, in ISO 8601 format.
              example: '2023-08-03T09:04:12.000Z'
            caller_id:
              type: string
              description: Phone number used as the Caller ID for the outbound call, in E.164 format.
              example: '13123310912'
            contact:
              type: string
              description: Destination phone number the outbound call is placed to, in E.164 format.
              example: '16729923812'
    ValidationErrorResponse:
      title: ValidationErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description naming the missing or invalid request parameter.
          example: Missing or invalid parameter <param_name>
    UnauthorizedErrorResponse:
      title: UnauthorizedErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        error:
          type: boolean
          description: Indicates that the response represents an error. Always `true` for this error.
          example: true
        message:
          type: string
          description: Human-readable description stating that authentication is missing or invalid.
          example: Unauthorized
    VoiceCampaignCreateRequest:
      title: VoiceCampaignCreateRequest
      required:
      - voice_campaign
      type: object
      additionalProperties: false
      properties:
        voice_campaign:
          $ref: '#/components/schemas/VoiceCampaignResponse'
    ForbiddenErrorResponse:
      title: ForbiddenErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description of why access is forbidden.
          example: The service is not provisioned for your account.
    RecordNotFoundErrorResponse:
      title: RecordNotFoundErrorResponse
      required:
      - success
      - message
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable error description
          example: Record not found
      example:
        success: false
        message: Record not found
    VoiceCampaignsGetResponse:
      type: object
      additionalProperties: false
      properties:
        voice_campaign:
          type: object
          additionalProperties: false
          properties:
            id:
              type: integer
              description: Unique identifier of the voice campaign.
              example: 2321423
            status:
              type: string
              description: Current status of the voice campaign, such as `in_progress`.
              example: in_progress
            timestamp:
              type: string
              format: date-time
              description: Timestamp when the voice campaign was created, in ISO 8601 format.
              example: '2023-08-03T09:04:12.000Z'
            caller_id:
              type: string
              description: Phone number used as the Caller ID for the outbound call, in E.164 format.
              example: '13123310912'
            contact:
              type: string
              description: Destination phone number the outbound call is placed to, in E.164 format.
              example: '16729923812'
    NotFoundErrorResponse:
      title: NotFoundErrorResponse
      type: object
      properties:
        success:
          type: boolean
          description: Indicates whether the request was successful. Always `false` for this error.
          example: false
        message:
          type: string
          description: Human-readable description stating that no resource matches the given ID.
          example: Record not found
  responses:
    UnauthorizedErrorResponse:
      description: Unauthorized
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/UnauthorizedErrorResponse'
    BadRequestErrorResponse:
      description: Request failed. Missing or invalid parameter <param_name>
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
    ForbiddenErrorResponse:
      description: Request failed. The feature is disabled for your account.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ForbiddenErrorResponse'
    NotFoundErrorResponse:
      description: Request failed. An object with the specified ID is not found.
      headers: {}
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotFoundErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Wavix API key. Pass as `Authorization: Bearer <api_key>`. Keys support per-resource scopes (none / read / write). See [Restricted keys and scopes](https://docs.wavix.com/api-reference/authentication#restricted-keys-and-scopes).

        '