Loading...
Loading...
Compare original and translation side by side
// See https://github.com/team-telnyx/telnyx-java for Maven/Gradle setup// 有关Maven/Gradle配置,请查看https://github.com/team-telnyx/telnyx-javaimport com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
TelnyxClient client = TelnyxOkHttpClient.fromEnv();clientimport com.telnyx.sdk.client.TelnyxClient;
import com.telnyx.sdk.client.okhttp.TelnyxOkHttpClient;
TelnyxClient client = TelnyxOkHttpClient.fromEnv();clientPOST /calls/{call_control_id}/actions/enqueuequeue_nameclient_statecommand_idkeep_after_hangupmax_sizemax_wait_time_secsimport com.telnyx.sdk.models.calls.actions.ActionEnqueueParams;
import com.telnyx.sdk.models.calls.actions.ActionEnqueueResponse;
ActionEnqueueParams params = ActionEnqueueParams.builder()
.callControlId("call_control_id")
.queueName("support")
.build();
ActionEnqueueResponse response = client.calls().actions().enqueue(params);POST /calls/{call_control_id}/actions/enqueuequeue_nameclient_statecommand_idkeep_after_hangupmax_sizemax_wait_time_secsimport com.telnyx.sdk.models.calls.actions.ActionEnqueueParams;
import com.telnyx.sdk.models.calls.actions.ActionEnqueueResponse;
ActionEnqueueParams params = ActionEnqueueParams.builder()
.callControlId("call_control_id")
.queueName("support")
.build();
ActionEnqueueResponse response = client.calls().actions().enqueue(params);POST /calls/{call_control_id}/actions/leave_queueclient_statecommand_idimport com.telnyx.sdk.models.calls.actions.ActionLeaveQueueParams;
import com.telnyx.sdk.models.calls.actions.ActionLeaveQueueResponse;
ActionLeaveQueueResponse response = client.calls().actions().leaveQueue("call_control_id");POST /calls/{call_control_id}/actions/leave_queueclient_statecommand_idimport com.telnyx.sdk.models.calls.actions.ActionLeaveQueueParams;
import com.telnyx.sdk.models.calls.actions.ActionLeaveQueueResponse;
ActionLeaveQueueResponse response = client.calls().actions().leaveQueue("call_control_id");GET /conferencesimport com.telnyx.sdk.models.conferences.ConferenceListPage;
import com.telnyx.sdk.models.conferences.ConferenceListParams;
ConferenceListPage page = client.conferences().list();GET /conferencesimport com.telnyx.sdk.models.conferences.ConferenceListPage;
import com.telnyx.sdk.models.conferences.ConferenceListParams;
ConferenceListPage page = client.conferences().list();call_control_idPOST /conferencescall_control_idnamebeep_enabledclient_statecomfort_noisecommand_idduration_minuteshold_audio_urlhold_media_namemax_participantsregionstart_conference_on_createimport com.telnyx.sdk.models.conferences.ConferenceCreateParams;
import com.telnyx.sdk.models.conferences.ConferenceCreateResponse;
ConferenceCreateParams params = ConferenceCreateParams.builder()
.callControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.name("Business")
.build();
ConferenceCreateResponse conference = client.conferences().create(params);call_control_idPOST /conferencescall_control_idnamebeep_enabledclient_statecomfort_noisecommand_idduration_minuteshold_audio_urlhold_media_namemax_participantsregionstart_conference_on_createimport com.telnyx.sdk.models.conferences.ConferenceCreateParams;
import com.telnyx.sdk.models.conferences.ConferenceCreateResponse;
ConferenceCreateParams params = ConferenceCreateParams.builder()
.callControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.name("Business")
.build();
ConferenceCreateResponse conference = client.conferences().create(params);GET /conferences/{id}import com.telnyx.sdk.models.conferences.ConferenceRetrieveParams;
import com.telnyx.sdk.models.conferences.ConferenceRetrieveResponse;
ConferenceRetrieveResponse conference = client.conferences().retrieve("id");GET /conferences/{id}import com.telnyx.sdk.models.conferences.ConferenceRetrieveParams;
import com.telnyx.sdk.models.conferences.ConferenceRetrieveResponse;
ConferenceRetrieveResponse conference = client.conferences().retrieve("id");POST /conferences/{id}/actions/holdaudio_urlcall_control_idsmedia_nameregionimport com.telnyx.sdk.models.conferences.actions.ActionHoldParams;
import com.telnyx.sdk.models.conferences.actions.ActionHoldResponse;
ActionHoldResponse response = client.conferences().actions().hold("id");POST /conferences/{id}/actions/holdaudio_urlcall_control_idsmedia_nameregionimport com.telnyx.sdk.models.conferences.actions.ActionHoldParams;
import com.telnyx.sdk.models.conferences.actions.ActionHoldResponse;
ActionHoldResponse response = client.conferences().actions().hold("id");POST /conferences/{id}/actions/joincall_control_idbeep_enabledclient_statecommand_idend_conference_on_exitholdhold_audio_urlhold_media_namemuteregionsoft_end_conference_on_exitstart_conference_on_entersupervisor_rolewhisper_call_control_idsimport com.telnyx.sdk.models.conferences.actions.ActionJoinParams;
import com.telnyx.sdk.models.conferences.actions.ActionJoinResponse;
ActionJoinParams params = ActionJoinParams.builder()
.id("id")
.callControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.build();
ActionJoinResponse response = client.conferences().actions().join(params);POST /conferences/{id}/actions/joincall_control_idbeep_enabledclient_statecommand_idend_conference_on_exitholdhold_audio_urlhold_media_namemuteregionsoft_end_conference_on_exitstart_conference_on_entersupervisor_rolewhisper_call_control_idsimport com.telnyx.sdk.models.conferences.actions.ActionJoinParams;
import com.telnyx.sdk.models.conferences.actions.ActionJoinResponse;
ActionJoinParams params = ActionJoinParams.builder()
.id("id")
.callControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.build();
ActionJoinResponse response = client.conferences().actions().join(params);POST /conferences/{id}/actions/leavecall_control_idbeep_enabledcommand_idregionimport com.telnyx.sdk.models.conferences.actions.ActionLeaveParams;
import com.telnyx.sdk.models.conferences.actions.ActionLeaveResponse;
ActionLeaveParams params = ActionLeaveParams.builder()
.id("id")
.callControlId("c46e06d7-b78f-4b13-96b6-c576af9640ff")
.build();
ActionLeaveResponse response = client.conferences().actions().leave(params);POST /conferences/{id}/actions/leavecall_control_idbeep_enabledcommand_idregionimport com.telnyx.sdk.models.conferences.actions.ActionLeaveParams;
import com.telnyx.sdk.models.conferences.actions.ActionLeaveResponse;
ActionLeaveParams params = ActionLeaveParams.builder()
.id("id")
.callControlId("c46e06d7-b78f-4b13-96b6-c576af9640ff")
.build();
ActionLeaveResponse response = client.conferences().actions().leave(params);POST /conferences/{id}/actions/mutecall_control_idsregionimport com.telnyx.sdk.models.conferences.actions.ActionMuteParams;
import com.telnyx.sdk.models.conferences.actions.ActionMuteResponse;
ActionMuteResponse response = client.conferences().actions().mute("id");POST /conferences/{id}/actions/mutecall_control_idsregionimport com.telnyx.sdk.models.conferences.actions.ActionMuteParams;
import com.telnyx.sdk.models.conferences.actions.ActionMuteResponse;
ActionMuteResponse response = client.conferences().actions().mute("id");POST /conferences/{id}/actions/playaudio_urlcall_control_idsloopmedia_nameregionimport com.telnyx.sdk.models.conferences.actions.ActionPlayParams;
import com.telnyx.sdk.models.conferences.actions.ActionPlayResponse;
ActionPlayResponse response = client.conferences().actions().play("id");POST /conferences/{id}/actions/playaudio_urlcall_control_idsloopmedia_nameregionimport com.telnyx.sdk.models.conferences.actions.ActionPlayParams;
import com.telnyx.sdk.models.conferences.actions.ActionPlayResponse;
ActionPlayResponse response = client.conferences().actions().play("id");POST /conferences/{id}/actions/record_pausecommand_idrecording_idregionimport com.telnyx.sdk.models.conferences.actions.ActionRecordPauseParams;
import com.telnyx.sdk.models.conferences.actions.ActionRecordPauseResponse;
ActionRecordPauseResponse response = client.conferences().actions().recordPause("id");POST /conferences/{id}/actions/record_pausecommand_idrecording_idregionimport com.telnyx.sdk.models.conferences.actions.ActionRecordPauseParams;
import com.telnyx.sdk.models.conferences.actions.ActionRecordPauseResponse;
ActionRecordPauseResponse response = client.conferences().actions().recordPause("id");POST /conferences/{id}/actions/record_resumecommand_idrecording_idregionimport com.telnyx.sdk.models.conferences.actions.ActionRecordResumeParams;
import com.telnyx.sdk.models.conferences.actions.ActionRecordResumeResponse;
ActionRecordResumeResponse response = client.conferences().actions().recordResume("id");POST /conferences/{id}/actions/record_resumecommand_idrecording_idregionimport com.telnyx.sdk.models.conferences.actions.ActionRecordResumeParams;
import com.telnyx.sdk.models.conferences.actions.ActionRecordResumeResponse;
ActionRecordResumeResponse response = client.conferences().actions().recordResume("id");POST /conferences/{id}/actions/record_startformatcommand_idcustom_file_nameplay_beepregiontrimimport com.telnyx.sdk.models.conferences.actions.ActionRecordStartParams;
import com.telnyx.sdk.models.conferences.actions.ActionRecordStartResponse;
ActionRecordStartParams params = ActionRecordStartParams.builder()
.id("id")
.format(ActionRecordStartParams.Format.WAV)
.build();
ActionRecordStartResponse response = client.conferences().actions().recordStart(params);POST /conferences/{id}/actions/record_startformatcommand_idcustom_file_nameplay_beepregiontrimimport com.telnyx.sdk.models.conferences.actions.ActionRecordStartParams;
import com.telnyx.sdk.models.conferences.actions.ActionRecordStartResponse;
ActionRecordStartParams params = ActionRecordStartParams.builder()
.id("id")
.format(ActionRecordStartParams.Format.WAV)
.build();
ActionRecordStartResponse response = client.conferences().actions().recordStart(params);POST /conferences/{id}/actions/record_stopclient_statecommand_idrecording_idregionimport com.telnyx.sdk.models.conferences.actions.ActionRecordStopParams;
import com.telnyx.sdk.models.conferences.actions.ActionRecordStopResponse;
ActionRecordStopResponse response = client.conferences().actions().recordStop("id");POST /conferences/{id}/actions/record_stopclient_statecommand_idrecording_idregionimport com.telnyx.sdk.models.conferences.actions.ActionRecordStopParams;
import com.telnyx.sdk.models.conferences.actions.ActionRecordStopResponse;
ActionRecordStopResponse response = client.conferences().actions().recordStop("id");POST /conferences/{id}/actions/speakpayloadvoicecall_control_idscommand_idlanguagepayload_typeregionvoice_settingsimport com.telnyx.sdk.models.conferences.actions.ActionSpeakParams;
import com.telnyx.sdk.models.conferences.actions.ActionSpeakResponse;
ActionSpeakParams params = ActionSpeakParams.builder()
.id("id")
.payload("Say this to participants")
.voice("female")
.build();
ActionSpeakResponse response = client.conferences().actions().speak(params);POST /conferences/{id}/actions/speakpayloadvoicecall_control_idscommand_idlanguagepayload_typeregionvoice_settingsimport com.telnyx.sdk.models.conferences.actions.ActionSpeakParams;
import com.telnyx.sdk.models.conferences.actions.ActionSpeakResponse;
ActionSpeakParams params = ActionSpeakParams.builder()
.id("id")
.payload("Say this to participants")
.voice("female")
.build();
ActionSpeakResponse response = client.conferences().actions().speak(params);POST /conferences/{id}/actions/stopcall_control_idsregionimport com.telnyx.sdk.models.conferences.actions.ActionStopParams;
import com.telnyx.sdk.models.conferences.actions.ActionStopResponse;
ActionStopResponse response = client.conferences().actions().stop("id");POST /conferences/{id}/actions/stopcall_control_idsregionimport com.telnyx.sdk.models.conferences.actions.ActionStopParams;
import com.telnyx.sdk.models.conferences.actions.ActionStopResponse;
ActionStopResponse response = client.conferences().actions().stop("id");POST /conferences/{id}/actions/unholdcall_control_idsregionimport com.telnyx.sdk.models.conferences.actions.ActionUnholdParams;
import com.telnyx.sdk.models.conferences.actions.ActionUnholdResponse;
ActionUnholdParams params = ActionUnholdParams.builder()
.id("id")
.addCallControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.build();
ActionUnholdResponse response = client.conferences().actions().unhold(params);POST /conferences/{id}/actions/unholdcall_control_idsregionimport com.telnyx.sdk.models.conferences.actions.ActionUnholdParams;
import com.telnyx.sdk.models.conferences.actions.ActionUnholdResponse;
ActionUnholdParams params = ActionUnholdParams.builder()
.id("id")
.addCallControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.build();
ActionUnholdResponse response = client.conferences().actions().unhold(params);POST /conferences/{id}/actions/unmutecall_control_idsregionimport com.telnyx.sdk.models.conferences.actions.ActionUnmuteParams;
import com.telnyx.sdk.models.conferences.actions.ActionUnmuteResponse;
ActionUnmuteResponse response = client.conferences().actions().unmute("id");POST /conferences/{id}/actions/unmutecall_control_idsregionimport com.telnyx.sdk.models.conferences.actions.ActionUnmuteParams;
import com.telnyx.sdk.models.conferences.actions.ActionUnmuteResponse;
ActionUnmuteResponse response = client.conferences().actions().unmute("id");POST /conferences/{id}/actions/updatecall_control_idsupervisor_rolecommand_idregionwhisper_call_control_idsimport com.telnyx.sdk.models.conferences.actions.ActionUpdateParams;
import com.telnyx.sdk.models.conferences.actions.ActionUpdateResponse;
import com.telnyx.sdk.models.conferences.actions.UpdateConference;
ActionUpdateParams params = ActionUpdateParams.builder()
.id("id")
.updateConference(UpdateConference.builder()
.callControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.supervisorRole(UpdateConference.SupervisorRole.WHISPER)
.build())
.build();
ActionUpdateResponse action = client.conferences().actions().update(params);supervisor_rolePOST /conferences/{id}/actions/updatecall_control_idsupervisor_rolecommand_idregionwhisper_call_control_idsimport com.telnyx.sdk.models.conferences.actions.ActionUpdateParams;
import com.telnyx.sdk.models.conferences.actions.ActionUpdateResponse;
import com.telnyx.sdk.models.conferences.actions.UpdateConference;
ActionUpdateParams params = ActionUpdateParams.builder()
.id("id")
.updateConference(UpdateConference.builder()
.callControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.supervisorRole(UpdateConference.SupervisorRole.WHISPER)
.build())
.build();
ActionUpdateResponse action = client.conferences().actions().update(params);POST /conferences/{id}/actions/endcommand_idimport com.telnyx.sdk.models.conferences.actions.ActionEndConferenceParams;
import com.telnyx.sdk.models.conferences.actions.ActionEndConferenceResponse;
ActionEndConferenceResponse response = client.conferences().actions().endConference("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e");POST /conferences/{id}/actions/endcommand_idimport com.telnyx.sdk.models.conferences.actions.ActionEndConferenceParams;
import com.telnyx.sdk.models.conferences.actions.ActionEndConferenceResponse;
ActionEndConferenceResponse response = client.conferences().actions().endConference("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e");POST /conferences/{id}/actions/gather_using_audiocall_control_idaudio_urlclient_stategather_idinitial_timeout_millisinter_digit_timeout_millisinvalid_audio_urlinvalid_media_namemaximum_digitsmaximum_triesmedia_nameminimum_digitsstop_playback_on_dtmfterminating_digittimeout_millisvalid_digitsimport com.telnyx.sdk.models.conferences.actions.ActionGatherDtmfAudioParams;
import com.telnyx.sdk.models.conferences.actions.ActionGatherDtmfAudioResponse;
ActionGatherDtmfAudioParams params = ActionGatherDtmfAudioParams.builder()
.id("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.callControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.build();
ActionGatherDtmfAudioResponse response = client.conferences().actions().gatherDtmfAudio(params);POST /conferences/{id}/actions/gather_using_audiocall_control_idaudio_urlclient_stategather_idinitial_timeout_millisinter_digit_timeout_millisinvalid_audio_urlinvalid_media_namemaximum_digitsmaximum_triesmedia_nameminimum_digitsstop_playback_on_dtmfterminating_digittimeout_millisvalid_digitsimport com.telnyx.sdk.models.conferences.actions.ActionGatherDtmfAudioParams;
import com.telnyx.sdk.models.conferences.actions.ActionGatherDtmfAudioResponse;
ActionGatherDtmfAudioParams params = ActionGatherDtmfAudioParams.builder()
.id("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.callControlId("v3:MdI91X4lWFEs7IgbBEOT9M4AigoY08M0WWZFISt1Yw2axZ_IiE4pqg")
.build();
ActionGatherDtmfAudioResponse response = client.conferences().actions().gatherDtmfAudio(params);POST /conferences/{id}/actions/send_dtmfdigitscall_control_idsclient_stateduration_millisimport com.telnyx.sdk.models.conferences.actions.ActionSendDtmfParams;
import com.telnyx.sdk.models.conferences.actions.ActionSendDtmfResponse;
ActionSendDtmfParams params = ActionSendDtmfParams.builder()
.id("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.digits("1234#")
.build();
ActionSendDtmfResponse response = client.conferences().actions().sendDtmf(params);POST /conferences/{id}/actions/send_dtmfdigitscall_control_idsclient_stateduration_millisimport com.telnyx.sdk.models.conferences.actions.ActionSendDtmfParams;
import com.telnyx.sdk.models.conferences.actions.ActionSendDtmfResponse;
ActionSendDtmfParams params = ActionSendDtmfParams.builder()
.id("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e")
.digits("1234#")
.build();
ActionSendDtmfResponse response = client.conferences().actions().sendDtmf(params);GET /conferences/{conference_id}/participantsimport com.telnyx.sdk.models.conferences.ConferenceListParticipantsPage;
import com.telnyx.sdk.models.conferences.ConferenceListParticipantsParams;
ConferenceListParticipantsPage page = client.conferences().listParticipants("conference_id");GET /conferences/{conference_id}/participantsimport com.telnyx.sdk.models.conferences.ConferenceListParticipantsPage;
import com.telnyx.sdk.models.conferences.ConferenceListParticipantsParams;
ConferenceListParticipantsPage page = client.conferences().listParticipants("conference_id");telnyx-timestamptelnyx-signature-ed25519| Event | Description |
|---|---|
| Call Enqueued |
| Call Left Queue |
| Conference Created |
| Conference Ended |
| Conference Floor Changed |
| Conference Participant Joined |
| Conference Participant Left |
| Conference Participant Playback Ended |
| Conference Participant Playback Started |
| Conference Participant Speak Ended |
| Conference Participant Speak Started |
| Conference Playback Ended |
| Conference Playback Started |
| Conference Recording Saved |
| Conference Speak Ended |
| Conference Speak Started |
telnyx-timestamptelnyx-signature-ed25519| 事件 | 描述 |
|---|---|
| 呼叫已加入队列 |
| 呼叫已离开队列 |
| 会议已创建 |
| 会议已结束 |
| 会议发言者已变更 |
| 参与者已加入会议 |
| 参与者已离开会议 |
| 向参与者播放的音频已结束 |
| 已开始向参与者播放音频 |
| 向参与者播报的语音已结束 |
| 已开始向参与者播报语音 |
| 会议音频播放已结束 |
| 已开始会议音频播放 |
| 会议录制文件已保存 |
| 会议语音播报已结束 |
| 已开始会议语音播报 |
callEnqueued| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| date-time | ISO 8601 datetime of when the event occurred. |
| string | Call ID used to issue commands via Call Control API. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | The name of the queue |
| integer | Current position of the call in the queue. |
| integer | Average time call spends in the queue in seconds. |
callLeftQueue| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| date-time | ISO 8601 datetime of when the event occurred. |
| string | Call ID used to issue commands via Call Control API. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | The name of the queue |
| integer | Last position of the call in the queue. |
| enum | The reason for leaving the queue |
| integer | Time call spent in the queue in seconds. |
conferenceCreated| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Call ID used to issue commands via Call Control API. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | Conference ID that the participant joined. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferenceEnded| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Call ID used to issue commands via Call Control API. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | Conference ID that the participant joined. |
| date-time | ISO 8601 datetime of when the event occurred. |
| enum | Reason the conference ended. |
conferenceFloorChanged| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Call Control ID of the new speaker. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | Call Leg ID of the new speaker. |
| string | Call Session ID of the new speaker. |
| string | State received from a command. |
| string | Conference ID that had a speaker change event. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferenceParticipantJoined| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| date-time | ISO 8601 datetime of when the event occurred. |
| string | Call ID used to issue commands via Call Control API. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | Conference ID that the participant joined. |
conferenceParticipantLeft| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| date-time | ISO 8601 datetime of when the event occurred. |
| string | Call ID used to issue commands via Call Control API. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | Conference ID that the participant joined. |
conferenceParticipantPlaybackEnded| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Participant's call ID used to issue commands via Call Control API. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call session that started the conference. |
| string | ID of the conference the text was spoken in. |
| string | The audio URL being played back, if audio_url has been used to start. |
| string | The name of the audio media file being played back, if media_name has been used to start. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferenceParticipantPlaybackStarted| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Participant's call ID used to issue commands via Call Control API. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call session that started the conference. |
| string | ID of the conference the text was spoken in. |
| string | The audio URL being played back, if audio_url has been used to start. |
| string | The name of the audio media file being played back, if media_name has been used to start. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferenceParticipantSpeakEnded| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Participant's call ID used to issue commands via Call Control API. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call session that started the conference. |
| string | ID of the conference the text was spoken in. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferenceParticipantSpeakStarted| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Participant's call ID used to issue commands via Call Control API. |
| string | ID that is unique to the call and can be used to correlate webhook events. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call session that started the conference. |
| string | ID of the conference the text was spoken in. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferencePlaybackEnded| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call session that started the conference. |
| string | ID of the conference the text was spoken in. |
| string | The audio URL being played back, if audio_url has been used to start. |
| string | The name of the audio media file being played back, if media_name has been used to start. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferencePlaybackStarted| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call session that started the conference. |
| string | ID of the conference the text was spoken in. |
| string | The audio URL being played back, if audio_url has been used to start. |
| string | The name of the audio media file being played back, if media_name has been used to start. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferenceRecordingSaved| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Participant's call ID used to issue commands via Call Control API. |
| string | ID that is unique to the call session and can be used to correlate webhook events. |
| string | State received from a command. |
| enum | Whether recording was recorded in |
| uuid | ID of the conference that is being recorded. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| enum | The audio file format used when storing the call recording. |
| date-time | ISO 8601 datetime of when recording ended. |
| uuid | ID of the conference recording. |
| date-time | ISO 8601 datetime of when recording started. |
conferenceSpeakEnded| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call session that started the conference. |
| string | ID of the conference the text was spoken in. |
| date-time | ISO 8601 datetime of when the event occurred. |
conferenceSpeakStarted| Field | Type | Description |
|---|---|---|
| enum | Identifies the type of the resource. |
| enum | The type of event being delivered. |
| uuid | Identifies the type of resource. |
| string | Call Control App ID (formerly Telnyx connection ID) used in the call. |
| string | ID that is unique to the call session that started the conference. |
| string | ID of the conference the text was spoken in. |
| date-time | ISO 8601 datetime of when the event occurred. |
callEnqueued| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| date-time | 事件发生的ISO 8601格式时间 |
| 字符串 | 用于通过呼叫控制API发送指令的呼叫ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 队列名称 |
| 整数 | 呼叫在队列中的当前位置 |
| 整数 | 呼叫在队列中的平均等待时间(秒) |
callLeftQueue| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| date-time | 事件发生的ISO 8601格式时间 |
| 字符串 | 用于通过呼叫控制API发送指令的呼叫ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 队列名称 |
| 整数 | 呼叫在队列中的最后位置 |
| 枚举值 | 呼叫离开队列的原因 |
| 整数 | 呼叫在队列中的等待时间(秒) |
conferenceCreated| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 用于通过呼叫控制API发送指令的呼叫ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 参与者加入的会议ID |
| date-time | 事件发生的ISO 8601格式时间 |
conferenceEnded| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 用于通过呼叫控制API发送指令的呼叫ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 参与者加入的会议ID |
| date-time | 事件发生的ISO 8601格式时间 |
| 枚举值 | 会议结束的原因 |
conferenceFloorChanged| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 新发言者的呼叫控制ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 新发言者的通话ID |
| 字符串 | 新发言者的通话会话ID |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 发生发言者变更的会议ID |
| date-time | 事件发生的ISO 8601格式时间 |
conferenceParticipantJoined| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| date-time | 事件发生的ISO 8601格式时间 |
| 字符串 | 用于通过呼叫控制API发送指令的呼叫ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 参与者加入的会议ID |
conferenceParticipantLeft| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| date-time | 事件发生的ISO 8601格式时间 |
| 字符串 | 用于通过呼叫控制API发送指令的呼叫ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 参与者加入的会议ID |
conferenceParticipantPlaybackEnded| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 参与者的呼叫ID,用于通过呼叫控制API发送指令 |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 启动会议的通话会话唯一ID |
| 字符串 | 语音播报所在的会议ID |
| 字符串 | 正在播放的音频URL(若通过audio_url启动播放) |
| 字符串 | 正在播放的音频媒体文件名(若通过media_name启动播放) |
| date-time | 事件发生的ISO 8601格式时间 |
conferenceParticipantPlaybackStarted| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 参与者的呼叫ID,用于通过呼叫控制API发送指令 |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 启动会议的通话会话唯一ID |
| 字符串 | 语音播报所在的会议ID |
| 字符串 | 正在播放的音频URL(若通过audio_url启动播放) |
| 字符串 | 正在播放的音频媒体文件名(若通过media_name启动播放) |
| date-time | 事件发生的ISO 8601格式时间 |
conferenceParticipantSpeakEnded| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 参与者的呼叫ID,用于通过呼叫控制API发送指令 |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 启动会议的通话会话唯一ID |
| 字符串 | 语音播报所在的会议ID |
| date-time | 事件发生的ISO 8601格式时间 |
conferenceParticipantSpeakStarted| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 参与者的呼叫ID,用于通过呼叫控制API发送指令 |
| 字符串 | 通话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 启动会议的通话会话唯一ID |
| 字符串 | 语音播报所在的会议ID |
| date-time | 事件发生的ISO 8601格式时间 |
conferencePlaybackEnded| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 启动会议的通话会话唯一ID |
| 字符串 | 语音播报所在的会议ID |
| 字符串 | 正在播放的音频URL(若通过audio_url启动播放) |
| 字符串 | 正在播放的音频媒体文件名(若通过media_name启动播放) |
| date-time | 事件发生的ISO 8601格式时间 |
conferencePlaybackStarted| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 启动会议的通话会话唯一ID |
| 字符串 | 语音播报所在的会议ID |
| 字符串 | 正在播放的音频URL(若通过audio_url启动播放) |
| 字符串 | 正在播放的音频媒体文件名(若通过media_name启动播放) |
| date-time | 事件发生的ISO 8601格式时间 |
conferenceRecordingSaved| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 参与者的呼叫ID,用于通过呼叫控制API发送指令 |
| 字符串 | 通话会话的唯一ID,可用于关联Webhook事件 |
| 字符串 | 从指令中接收的状态 |
| 枚举值 | 录制的声道类型, |
| uuid | 正在录制的会议ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 枚举值 | 存储通话录制文件时使用的音频格式 |
| date-time | 录制结束的ISO 8601格式时间 |
| uuid | 会议录制文件的ID |
| date-time | 录制开始的ISO 8601格式时间 |
conferenceSpeakEnded| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 启动会议的通话会话唯一ID |
| 字符串 | 语音播报所在的会议ID |
| date-time | 事件发生的ISO 8601格式时间 |
conferenceSpeakStarted| 字段 | 类型 | 描述 |
|---|---|---|
| 枚举值 | 标识资源类型 |
| 枚举值 | 交付的事件类型 |
| uuid | 标识资源ID |
| 字符串 | 通话中使用的呼叫控制应用ID(原Telnyx连接ID) |
| 字符串 | 启动会议的通话会话唯一ID |
| 字符串 | 语音播报所在的会议ID |
| date-time | 事件发生的ISO 8601格式时间 |