Skip to main content
POST
/
rpcCall
Make an RPC Call
curl --request POST \
  --url https://collectwiseapi.com/rpcCall \
  --header 'Content-Type: application/json' \
  --header 'collectwise_key: <api-key>' \
  --data '
{
  "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
}
'
{
  "message": "RPC call initiated successfully",
  "callId": "<string>"
}

Authorizations

collectwise_key
string
header
required

Body

application/json

RPC call details

toNumber
string
required

Phone number to call in E.164 format (e.g., +18768828822)

creditorName
string
required

Name of the creditor

debtorName
string
required

Name of the debtor

dob
string<date>
required

Debtor's date of birth (YYYY-MM-DD). Either dob or last4SSN must be provided

callbackNumber
string
required

Phone number in E.164 format that missed calls will be routed to upon callbacks

last4SSN
string

Last 4 digits of debtor's SSN. Either dob or last4SSN must be provided

voicemailMessage
string

Message to leave if the call goes to voicemail

agencyName
string

Optional name of the collection agency

agentName
string

Optional name of the agent making the call, defaults to Nancy

successNumber
string

Optional phone number in E.164 format to route the call to upon successful RPC

customMessage
string

Optional message to be played after introduction but before RPC verification

instantTransferToggle
boolean
default:false

When true, transfers the call to successNumber immediately after name verification, bypassing DOB/SSN verification

Response

RPC call initiated successfully

message
string
Example:

"RPC call initiated successfully"

callId
string

Unique identifier for the call