Get A Detailed Call Log
Get a detailed call log using a session_id
Last updated
Get a detailed call log using a session_id
Last updated
- NEW! - Interactive API docs, now live!
Visit api-docs.plumvoice.com to read Plum API documentation, build and test requests in our interactive API sandbox, review the responses, and share it all with your team.
Only for the last 5 days:
Detailed call logs are only available for calls made within the last 5 days.
GET
https://fuse.plumvoice.com/api/call/{session_id}
Retrieve a call log for the defined call.
Name | Type | Description |
---|---|---|
200: success
401: authentication headers invalid or the account is inactive
404: call log not found
405: invalid HTTP method supplied (only GET allowed)
500: database error
The return structure contains an array of log entries
Call log data structure consistency is not guaranteed and can change at any time. Currently, there are two values that will always appear in the event data: module_type and result_variable. All other values are subject to developer discovery and could change at any time:
The following will be returned if the call was made more than 5 days ago
Sample Code
This sample PHP code makes a request to this method:
session_id
string
Session ID number
Name
Data Type
Value
event
object
The details for this entry.
class
string
The class for this entry (info, event, debug, prompt or error).
timestamp
int
UNIX timestamp for this entry.
Name
Data Type
Value
line
string
The log event string
data
object
Additional details about this event
Name
Data Type
Value
module_type
string
The type name for the module that was executed, this will determine the other values in the data
result_variable
string
The variable name provided for this module in the callflow editor