Participant object fields
Participants of a call are returned in the participants attribute of the
call object. Each call has at least two participants (the caller and the
called party). A conference call may have more.
Each participant is a JSON object with the following attributes:
| Attribute | Type | Description |
|---|---|---|
participant_id |
string | ID of the participant, for example 01. It is unique within the call only. |
join_time |
datetime | Date and time when the participant joined the call. ISO 8601 with time zone, for example 2024-06-05T01:35:55+03:00. |
answer_time |
datetime or null | Date and time when the participant answered the call. |
leave_time |
datetime or null | Date and time when the participant left the call. |
user_id |
UUID or null | ID of the MiaRec user account, if the participant is known to MiaRec. null for an unknown participant, for example an external caller. |
| state | integer or null | State of the participant: 3 alerting, 4 connected, 6 disconnected, 7 on hold. |
party_direction |
integer | Direction: 0 unknown, 1 caller, 2 called. |
party_type |
integer | Type: 0 unknown, 1 agent, 2 external participant, 3 conference bridge, 4 IVR, 5 queue. |
party_number |
string | Phone number of the participant, as provided by the phone system. |
party_name |
string or null | Name of the participant, as provided by the phone system. |
party_caller_id |
string or null | Caller ID of the participant, as provided by the phone system. |