> ## 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.

# RPC Call

> Initiates an RPC (Right Party Contact) call to verify debtor identity



## OpenAPI

````yaml POST /rpcCall
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:
  /rpcCall:
    post:
      summary: Make an RPC Call
      description: Initiates an RPC (Right Party Contact) call to verify debtor identity
      requestBody:
        description: RPC call details
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - toNumber
                - creditorName
                - debtorName
                - callbackNumber
              properties:
                toNumber:
                  type: string
                  description: Phone number to call in E.164 format (e.g., +18768828822)
                  pattern: ^\+[1-9]\d{10,14}$
                creditorName:
                  type: string
                  description: Name of the creditor
                debtorName:
                  type: string
                  description: Name of the debtor
                dob:
                  type: string
                  format: date
                  description: >-
                    Debtor's date of birth (YYYY-MM-DD). Either dob or last4SSN
                    must be provided
                last4SSN:
                  type: string
                  description: >-
                    Last 4 digits of debtor's SSN. Either dob or last4SSN must
                    be provided
                  pattern: ^\d{4}$
                voicemailMessage:
                  type: string
                  description: Message to leave if the call goes to voicemail
                callbackNumber:
                  type: string
                  description: >-
                    Phone number in E.164 format that missed calls will be
                    routed to upon callbacks
                  pattern: ^\+[1-9]\d{10,14}$
                agencyName:
                  type: string
                  description: Optional name of the collection agency
                agentName:
                  type: string
                  description: >-
                    Optional name of the agent making the call, defaults to
                    Nancy
                successNumber:
                  type: string
                  description: >-
                    Optional phone number in E.164 format to route the call to
                    upon successful RPC
                  pattern: ^\+[1-9]\d{10,14}$
                customMessage:
                  type: string
                  description: >-
                    Optional message to be played after introduction but before
                    RPC verification
                instantTransferToggle:
                  type: boolean
                  description: >-
                    When true, transfers the call to successNumber immediately
                    after name verification, bypassing DOB/SSN verification
                  default: false
              oneOf:
                - required:
                    - dob
                - required:
                    - last4SSN
            example:
              toNumber: '+18768828822'
              creditorName: ABC Bank
              debtorName: John Doe
              dob: '1980-01-01'
              voicemailMessage: Hello, this is an important message regarding your account...
              agencyName: Midwest Collections
              agentName: Nancy
              successNumber: '+18768828824'
              callbackNumber: '+18768828825'
              customMessage: >-
                This call is regarding an important financial matter that
                requires your immediate attention.
              instantTransferToggle: false
      responses:
        '200':
          description: RPC call initiated successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: RPC call initiated successfully
                  callId:
                    type: string
                    description: Unique identifier for the call
        '400':
          description: Invalid phone number format or missing required fields
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Failed to initiate call
          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

````