> ## Documentation Index
> Fetch the complete documentation index at: https://docs.collectwise.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Drop Voicemail

> Sends an automated voicemail to the specified phone number



## OpenAPI

````yaml POST /dropVoicemail
openapi: 3.0.1
info:
  title: CollectWise API
  description: >-
    An API for managing debtors, tracking statuses, and automating debt
    collection processes
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://collectwiseapi.com
security:
  - apiKey: []
paths:
  /dropVoicemail:
    post:
      summary: Drop a voicemail
      description: Sends an automated voicemail to the specified phone number
      requestBody:
        description: Voicemail details
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - phoneNumber
                - message
                - callbackNumber
              properties:
                phoneNumber:
                  type: string
                  description: Phone number in E.164 format (e.g., +18768828822)
                  pattern: ^\+[1-9]\d{10,14}$
                message:
                  type: string
                  description: The voicemail message to be delivered
                callbackNumber:
                  type: string
                  description: Callback phone number in E.164 format
                  pattern: ^\+[1-9]\d{10,14}$
                voiceGender:
                  type: string
                  description: Gender of the voice to use for the voicemail
                  enum:
                    - male
                    - female
            example:
              phoneNumber: '+18768828822'
              message: Hello, this is an important message regarding your account...
              callbackNumber: '+18768828823'
              voiceGender: female
      responses:
        '200':
          description: Voicemail sent successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Voicemail delivered successfully
        '400':
          description: Invalid phone number format or missing required fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Failed to deliver voicemail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          format: int32
          description: Error code
        message:
          type: string
          description: Error message
      example:
        code: 400
        message: 'Invalid input: debtorName is required'
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: collectwise_key

````