Get TCN Call Outcome
Communications
Get TCN Call Outcome
Retrieves the call outcome for a specific TCN call ID. This endpoint is designed to support TCN’s SIP integration where calls are routed to CollectWise AI agents.
GET
Get TCN Call Outcome
Overview
The TCN Call Outcome API provides a simple endpoint for TCN (Third-Party Call Network) integration to retrieve call outcomes from CollectWise AI agents. This endpoint is designed to support TCN’s SIP integration where calls are routed to our AI agents withX-TCN-cid headers.
Authentication
This endpoint requires a validcollectwise_key header for API authentication, following the same pattern as other CollectWise API endpoints.
Response Fields
action
Theaction field in the response can contain one of the following values:
"end"- Call completed normally, no transfer needed"judge_transfer"- Transfer to judge/supervisor for legal matters"garnishment_transfer"- Transfer to garnishment specialist"general_transfer"- General transfer to human agent
language
Thelanguage field indicates the language used during the call. This field may be null if not provided during call outcome creation.
Example values include:
"english""spanish"
Usage Pattern
This endpoint should be pinged every 1-2 seconds after a call ends, with a timeout of 2-3 minutes. The endpoint will return:- 200: Call outcome is available
- 404: Call is still in progress or outcome not yet available (continue polling)
Example Usage
Authorizations
Path Parameters
The TCN call identifier
Response
Call outcome found and returned
The action to be taken based on the call outcome
Available options:
end, judge_transfer, garnishment_transfer, general_transfer The TCN call identifier
Timestamp when the call outcome was determined
The language used during the call (e.g., 'english', 'spanish'). May be null if not provided.
