Interactions represent communications with a borrower.
Whenever Peach communicates with a borrower an interaction is recorded.
Additionally, communications taking place outside of Peach should be recorded as interactions.
Past interactions information is used by Compliance Guard to make decisions about when and how it is appropriate to communicate again with a borrower.
Creating interactions tracks the history of communication between lenders/servicers and borrowers.
Note that this does NOT send a message—merely tracks that it occurred. If you need to send a message, use the
/communicator/send
endpoint.
channel required | string The channel by which an interaction occurs. |
content | object or null The content and attributes of the message sent. Normally in JSON format. |
id | string |
createdAt | string <date-time> |
updatedAt | string or null <date-time> |
deletedAt | string or null <date-time> |
contactId | string |
personId | string or null The ID of the borrower to which this interaction is associated |
startedAt | string <date-time> Start time of the interaction. If not provided we'll assume it's a timestamp of the API call. If time of day is not required provide only date. For CRM-managed |
scheduledAtFrom | string <date-time> Time to start the scheduled interaction. |
scheduledAtTo | string <date-time> Time to end the scheduled interaction. |
subject | string (InteractionSubject) The subject of the interaction. The subject identifies the category of the content in the message. Most subjects have an associated implicit theme. e.g., Some subjects like Note that |
theme required | string or null (InteractionTheme) The reason why an interaction occurred. For example:
The values |
borrowerSelectedTheme | string or null (InteractionTheme) The reason why an interaction occurred. For example:
The values |
status required | string (InteractionStatus) The status of an interaction.
Interaction In-Progress interactionsSome interactions—like an email—take place at a single point in time, others might be ongoing for many minutes—like a phone call. Ongoing interactions like voice and chat may have their status set to Scheduled interactionsSome interactions might be scheduled for the future. These interactions
have a status of NullNote that |
statusDetails | string or null (InteractionStatusDetails) Provides more details about the status of an interaction. Note that For the "human" outcome of an interaction see StatusCertain status details must have a particular SucceededThe following status details are considered
AttemptedThe following status details are considered
FailedThe following status details are considered Generally an interaction is
Channels
DirectionCertain status details are only valid with certain
NullNote that |
metaData | object or null (MetaData) Store any type of key/value pairs in the form of a JSON dictionary. |
direction required | string (InteractionDirection) Enum: "outbound" "inbound" |
loanId | string (AssociatedLoanId) The ID of a Loan. This marks a particular loan as associated with this interaction. |
loanIds | Array of strings (AssociatedLoanIds) The IDs of several loans. This marks several loans as associated with this interaction. |
sensitive | boolean or null Default: false Set this flag if this interaction has sensitive information. The flag is used for proper authorization of access to the information. |
isExternal | boolean Boolean indicating the source of an Interaction. If |
externalId | string or null [ 1 .. 255 ] characters The lender's identifier for the interaction. After the object is successfully created, a lender can use ID or externalId identifiers to fetch the object. To fetch the object using externalId you need to add Note: Don't add ext- to the identifier value. For example: if the external identifier is |
previousInteractionId | string or null If a previous interaction identifier is provided, the current and previous interactions will be linked. This can either be Peach's or a lender's external identifier. |
twilioErrorCode | string or null <= 10 characters Raw error code from Twilio SMS service. The full list of codes can be found at https://www.twilio.com/docs/api/errors . |
isTransactional | boolean or null
Transactional interactions are those which are sent via an automated system in response to an event or some action taken. e.g., an email sent to confirm a payment was made is transactional; likewise an email sent to confirm a password change is transacrtional. Examples of non-transactional messages would be: those sent by an agent in response to a customer request, for collections, or for marketing. It's important to mark these messages correctly, because different laws may apply to messages depending on if they're considered "transactional". Note: Can be |
contactExternalId | string or null The lender's identifier of the contact information. This should not include any |
agentOutcome | string or null (InteractionAgentOutcome) Provides details on the outcome of the interaction according to an agent. Note this captures the "human" outcome of an interaction: e.g., Did you talk the person you intended to? Did the other chat recipient become unresponsive? For the "technical" status of an interaction, see
|
endedAt | string or null <date-time> End time of the interaction. This attribute is optional and is used for logging only. For CRM-managed |
failureDescriptionShort | string or null Short text describing the failure reason. Normally displayed in UI. |
failureDescriptionLong | string or null Detailed text describing the failure reason and any appropriate actions the user may take to fix the issue. |
complianceGuardRuleId | string or null The Compliance Guard rule identifier that blocked the interaction.
Only applicable if the |
object (BasePersonNoIdentity) Represents various users such as a borrower, co-borrower, co-signer, etc. A lender can choose to provide PII or not. If no PII is provided, Peach cannot monitor for bankruptcy, deceased and SCRA. | |
object (contactInformation) The contact details. A contact can be email, phone, address,
etc. The | |
object or null The last task that was terminated (completed or canceled) for this interaction. |
Success
{- "channel": "fax",
- "content": { },
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "contactExternalId": "string",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "endedAt": "2019-08-24T14:15:22Z",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "collectionsIntensity": "light",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string"
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": "2019-08-24",
- "disconnectionStatus": "disconnected"
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
{- "status": 0,
- "message": "string",
- "data": {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
}
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
]
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
}
channel | string The channel by which an interaction occurs. |
content | object or null The content and attributes of the message sent. Normally in JSON format. |
id | string |
createdAt | string <date-time> |
updatedAt | string or null <date-time> |
deletedAt | string or null <date-time> |
contactId | string |
personId | string or null The ID of the borrower to which this interaction is associated |
startedAt | string <date-time> Start time of the interaction. If not provided we'll assume it's a timestamp of the API call. If time of day is not required provide only date. For CRM-managed |
scheduledAtFrom | string <date-time> Time to start the scheduled interaction. |
scheduledAtTo | string <date-time> Time to end the scheduled interaction. |
subject | string (InteractionSubject) The subject of the interaction. The subject identifies the category of the content in the message. Most subjects have an associated implicit theme. e.g., Some subjects like Note that |
theme | string or null (InteractionTheme) The reason why an interaction occurred. For example:
The values |
borrowerSelectedTheme | string or null (InteractionTheme) The reason why an interaction occurred. For example:
The values |
status | string (InteractionStatus) The status of an interaction.
Interaction In-Progress interactionsSome interactions—like an email—take place at a single point in time, others might be ongoing for many minutes—like a phone call. Ongoing interactions like voice and chat may have their status set to Scheduled interactionsSome interactions might be scheduled for the future. These interactions
have a status of NullNote that |
statusDetails | string or null (InteractionStatusDetails) Provides more details about the status of an interaction. Note that For the "human" outcome of an interaction see StatusCertain status details must have a particular SucceededThe following status details are considered
AttemptedThe following status details are considered
FailedThe following status details are considered Generally an interaction is
Channels
DirectionCertain status details are only valid with certain
NullNote that |
metaData | object or null (MetaData) Store any type of key/value pairs in the form of a JSON dictionary. |
direction | string (InteractionDirection) Enum: "outbound" "inbound" |
loanId | string (AssociatedLoanId) The ID of a Loan. This marks a particular loan as associated with this interaction. |
loanIds | Array of strings (AssociatedLoanIds) The IDs of several loans. This marks several loans as associated with this interaction. |
sensitive | boolean or null Default: false Set this flag if this interaction has sensitive information. The flag is used for proper authorization of access to the information. |
isExternal | boolean Boolean indicating the source of an Interaction. If |
externalId | string or null [ 1 .. 255 ] characters The lender's identifier for the interaction. After the object is successfully created, a lender can use ID or externalId identifiers to fetch the object. To fetch the object using externalId you need to add Note: Don't add ext- to the identifier value. For example: if the external identifier is |
previousInteractionId | string or null If a previous interaction identifier is provided, the current and previous interactions will be linked. This can either be Peach's or a lender's external identifier. |
twilioErrorCode | string or null <= 10 characters Raw error code from Twilio SMS service. The full list of codes can be found at https://www.twilio.com/docs/api/errors . |
isTransactional | boolean or null
Transactional interactions are those which are sent via an automated system in response to an event or some action taken. e.g., an email sent to confirm a payment was made is transactional; likewise an email sent to confirm a password change is transacrtional. Examples of non-transactional messages would be: those sent by an agent in response to a customer request, for collections, or for marketing. It's important to mark these messages correctly, because different laws may apply to messages depending on if they're considered "transactional". Note: Can be |
contactExternalId | string or null The lender's identifier of the contact information. This should not include any |
agentOutcome | string or null (InteractionAgentOutcome) Provides details on the outcome of the interaction according to an agent. Note this captures the "human" outcome of an interaction: e.g., Did you talk the person you intended to? Did the other chat recipient become unresponsive? For the "technical" status of an interaction, see
|
endedAt | string or null <date-time> End time of the interaction. This attribute is optional and is used for logging only. For CRM-managed |
failureDescriptionShort | string or null Short text describing the failure reason. Normally displayed in UI. |
failureDescriptionLong | string or null Detailed text describing the failure reason and any appropriate actions the user may take to fix the issue. |
complianceGuardRuleId | string or null The Compliance Guard rule identifier that blocked the interaction.
Only applicable if the |
object (BasePersonNoIdentity) Represents various users such as a borrower, co-borrower, co-signer, etc. A lender can choose to provide PII or not. If no PII is provided, Peach cannot monitor for bankruptcy, deceased and SCRA. | |
object (contactInformation) The contact details. A contact can be email, phone, address,
etc. The | |
object or null The last task that was terminated (completed or canceled) for this interaction. |
Success
{- "channel": "fax",
- "content": { },
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "contactExternalId": "string",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "endedAt": "2019-08-24T14:15:22Z",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "collectionsIntensity": "light",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string"
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": "2019-08-24",
- "disconnectionStatus": "disconnected"
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
{- "status": 0,
- "message": "string",
- "data": {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
}
Delete an interaction. Only external interactions (interactions created by lenders via API) can be deleted.
Success
For this interaction, get all the previous interactions linked to it
via the previousInteractionId
field.
Success
{- "message": "string",
- "status": 0,
- "data": [
- {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
]
}
If the returnUrl
parameter is true
then return the url rather than redirecting.
Redirected to the recorded content
{
}
If the returnUrl
parameter is true
then return the url rather than redirecting.
Redirected to the recorded content
{
}
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "object": "AICallSummaryResult",
- "companyId": "string",
- "transcriptionResultId": "string",
- "summary": "string",
- "status": "pending"
}
]
}
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "case",
- "externalId": "string",
- "people": [
- "string"
], - "borrowerIds": [
- "string"
], - "name": "string",
- "companyId": "string",
- "caseTypeMeta": {
- "base": "string",
- "id": "string",
- "name": "string",
- "derivedFromTypeId": "string",
- "version": 0
}, - "creationProcedure": "automatedCollectionsDetection",
- "createdByUser": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "owningEmployeeId": "string",
- "autoCreated": true,
- "status": "initiated",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "statusUpdatedBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "outcome": "approved",
- "outcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "outcomeUpdatedBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "snoozedAt": "2019-08-24T14:15:22Z",
- "snoozedUntil": "2019-08-24",
- "matchToDataSource": true,
- "matchDetails": {
- "ssnMatch": "match",
- "last4SSNMatch": "match",
- "nameMatch": "match",
- "addressMatch": "match",
- "dateOfBirthMatch": "match",
- "matchDoneBy": "dataVendor",
- "externalMatchCode": "string"
}, - "lenderAck": false,
- "customFields": { },
- "metaData": { },
- "workflowId": "string",
- "escalatedAt": "2019-08-24T14:15:22Z",
- "escalatedTeamId": "string",
- "escalatedEmployeeId": "string",
- "escalationIsUrgent": true,
- "associations": [
- {
- "objectType": "document",
- "objectId": "string"
}
], - "creatingSupercaseId": "string",
- "lastViewedAt": "2019-08-24T14:15:22Z",
- "lastViewedBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "lastSubresourceUpdatedAt": "2019-08-24T14:15:22Z",
- "lastSubresourceUpdatedBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "openedAt": "2019-08-24T14:15:22Z",
- "owningEmployee": {
- "id": "string",
- "displayName": "string",
- "twilioWorkerSid": "string"
}, - "caseType": "bankruptcy",
- "courtCaseFiledDate": "2019-08-24",
- "courtCaseNumber": "string",
- "courtCaseChapter": "chapter7",
- "courtCaseDebtorDisposition": "dismissed",
- "courtCaseDebtorDispositionDate": "2019-08-24",
- "courtCaseLastStatus": "filed",
- "courtCaseLastStatusUpdatedDate": "2019-08-24",
- "courtCaseClosedDate": "2019-08-24",
- "creditorClaimDeadlineDate": "2019-08-24",
- "anticipatedCaseCompletionDate": "2019-08-24",
- "listedOutstandingDebt": true,
- "typeId": "string"
}
]
}
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
]
}
Success
{- "status": 0,
- "message": "string",
- "data": {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
}
For this interaction, get all the previous interactions linked to it
via the previousInteractionId
field.
Success
{- "message": "string",
- "status": 0,
- "data": [
- {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
]
}
Add the user making the request to the conversation associated with this interaction.
Note that only users of type Agent
can join conversations. (i.e., Service
and Borrower
users cannot join conversations.)
Success
{- "joinType": "solo"
}
If the returnUrl
parameter is true
then return the url rather than redirecting.
Redirected to the recorded content
{
}
If the returnUrl
parameter is true
then return the url rather than redirecting.
Redirected to the recorded content
{
}
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "object": "AICallSummaryResult",
- "companyId": "string",
- "transcriptionResultId": "string",
- "summary": "string",
- "status": "pending"
}
]
}
For this interaction, get all the previous interactions linked to it
via the previousInteractionId
field.
Success
{- "message": "string",
- "status": 0,
- "data": [
- {
- "channel": "string",
- "content": null,
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "contactId": "string",
- "personId": "string",
- "startedAt": "2019-08-24T14:15:22Z",
- "scheduledAtFrom": "2019-08-24T14:15:22Z",
- "scheduledAtTo": "2019-08-24T14:15:22Z",
- "subject": "annualPrivacyPolicyNotice",
- "theme": "agentNotification",
- "borrowerSelectedTheme": "agentNotification",
- "status": "attempted",
- "statusDetails": "voiceSpokeWithFirstParty",
- "metaData": { },
- "companyId": "string",
- "sensitiveBorrowerOnly": false,
- "direction": "outbound",
- "loanId": "LN-AAAA-BBBB",
- "loanIds": [
- "LN-AAAA-BBBB",
- "LB-CCCC-DDDD"
], - "sensitive": false,
- "isExternal": true,
- "externalId": "string",
- "previousInteractionId": "string",
- "twilioErrorCode": "string",
- "isTransactional": true,
- "createdBy": {
- "id": "string",
- "name": "string",
- "userType": "agent",
- "descriptor": "Agent bob@acme.com",
- "employee": {
- "id": "string"
}
}, - "object": "interaction",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "agentOutcome": "voiceSpokeWithFirstParty",
- "agentOutcomeUpdatedAt": "2019-08-24T14:15:22Z",
- "statusDetailsUpdatedAt": "2019-08-24T14:15:22Z",
- "endedAt": "2019-08-24T14:15:22Z",
- "templateVersionId": "string",
- "sendAt": "2019-08-24T14:15:22Z",
- "supercaseBulkOperationId": "string",
- "failureDescriptionShort": "string",
- "failureDescriptionLong": "string",
- "complianceGuardRuleId": "string",
- "borrower": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "borrowerType": "person",
- "externalId": "string",
- "status": "active",
- "statusUpdatedAt": "2019-08-24T14:15:22Z",
- "collectionsIntensity": "light",
- "displayId": "string",
- "metaData": { },
- "commPreferences": {
- "statementDeliveryChannels": [
- "email"
], - "sendRemindersWhenCurrent": true
}, - "monitorStartDate": "2019-08-24",
- "companyId": "string",
- "user": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "companyId": "string",
- "externalId": "string",
- "status": "active",
- "type": "borrower",
- "roleIds": [
- "string"
], - "object": "user",
- "userId": 0,
- "userName": "string",
- "auths": [
- {
- "authType": "basic",
- "authValueType": "email",
- "value": "string"
}
]
}
}, - "contact": {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "object": "contact",
- "companyId": "string",
- "personId": "string",
- "receiveTextMessagesLastConsentAt": "2019-08-24T14:15:22Z",
- "phoneDisconnectionDetails": {
- "lastKnownConnectionDate": "2019-08-24",
- "lastDisconnectCheckDate": null,
- "disconnectionStatus": null
}, - "externalId": "string",
- "contactType": "phone",
- "label": "personal",
- "affiliation": "self",
- "name": "string",
- "value": "string",
- "address": {
- "object": "address",
- "addressLine1": "string",
- "addressLine2": "string",
- "city": "string",
- "countyOrRegion": "string",
- "state": "string",
- "postalCode": "string",
- "country": "string",
- "POBox": "string",
- "timezone": "string"
}, - "valid": true,
- "verified": false,
- "receiveTextMessages": false,
- "authorizedThirdParty": false,
- "powerOfAttorney": false,
- "status": "primary"
}, - "lastTaskMeta": {
- "sid": "string",
- "taskType": "answerInboundVoiceCall",
- "assignmentStatus": "completed",
- "taskInitAt": "2019-08-24T14:15:22Z",
- "assignedEmployee": {
- "firstName": "string",
- "lastName": "string",
- "id": "string",
- "userId": "string"
}
}
}
]
}
Success
{- "status": 0,
- "total": 0,
- "count": 0,
- "nextUrl": "string",
- "previousUrl": "string",
- "data": [
- {
- "id": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z",
- "deletedAt": "2019-08-24T14:15:22Z",
- "externalId": "string",
- "object": "AICallSummaryResult",
- "companyId": "string",
- "transcriptionResultId": "string",
- "summary": "string",
- "status": "pending"
}
]
}
Request sandbox access