@@ -2889,6 +2889,11 @@ components:
28892889 example : Yes, I would like to proceed
28902890 postbackData :
28912891 $ref : ' #/components/schemas/rbmActionPostbackData'
2892+ pairedMessageId :
2893+ type : string
2894+ nullable : true
2895+ description : Corresponding parent message ID (MT).
2896+ example : 1752697342534u24xerqdukke523x
28922897 rbmLocationResponse :
28932898 type : object
28942899 properties :
@@ -2925,7 +2930,7 @@ components:
29252930 message-failed : ' #/components/schemas/statusCallback'
29262931 message-read : ' #/components/schemas/statusCallback'
29272932 message-received : ' #/components/schemas/inboundCallback'
2928- request -location-response : ' #/components/schemas/inboundCallback'
2933+ requested -location-response : ' #/components/schemas/inboundCallback'
29292934 suggestion-response : ' #/components/schemas/inboundCallback'
29302935 statusCallback :
29312936 type : object
@@ -2957,7 +2962,7 @@ components:
29572962 description :
29582963 type : string
29592964 description : A detailed description of the event described by the callback.
2960- example : Message delivered to carrier .
2965+ example : Message delivered to handset .
29612966 message :
29622967 $ref : ' #/components/schemas/statusCallbackMessage'
29632968 errorCode :
@@ -3013,7 +3018,11 @@ components:
30133018 - `message-sending` indicates that Bandwidth is sending the message to
30143019 the upstream provider.
30153020
3016- - `message-delivered` indicates that the message was successfully sent.
3021+ - `message-sent` indicates that the message has left the Bandwidth
3022+ network and is in transit to the provider.
3023+
3024+ - `message-delivered` indicates that the message was successfully
3025+ delivered to handset.
30173026
30183027 - `message-failed` indicates that the message could not be sent to the
30193028 intended recipient.
@@ -3022,6 +3031,7 @@ components:
30223031 recipient.
30233032 enum :
30243033 - message-sending
3034+ - message-sent
30253035 - message-delivered
30263036 - message-failed
30273037 - message-read
@@ -3035,14 +3045,15 @@ components:
30353045 - `message-received` indicates an MO message from a Bandwidth user's
30363046 client to a Bandwidth number.
30373047
3038- - `request-location-response` indicates a response to a location request
3039- sent by the Bandwidth user's client after receiving an RBM message.
3048+ - `requested-location-response` indicates a response to a location
3049+ request sent by the Bandwidth user's client after receiving an RBM
3050+ message.
30403051
30413052 - `suggestion-response` indicates a response to a suggestion sent by the
30423053 Bandwidth user's client after receiving an RBM message.
30433054 enum :
30443055 - message-received
3045- - request -location-response
3056+ - requested -location-response
30463057 - suggestion-response
30473058 example : message-received
30483059 statusCallbackMessage :
@@ -4348,6 +4359,72 @@ components:
43484359 type : array
43494360 items :
43504361 $ref : ' #/components/schemas/transcription'
4362+ clips :
4363+ type : array
4364+ description : >-
4365+ A list of individual speech clips with speaker, timing, and
4366+ confidence information.
4367+ items :
4368+ $ref : ' #/components/schemas/recordingTranscriptionClip'
4369+ example :
4370+ transcripts :
4371+ - speaker : 0
4372+ text : Hi, is Thursday at two still good for you? Perfect, talk soon.
4373+ confidence : 0.96
4374+ - speaker : 1
4375+ text : Yes, that works great. See you then! Sounds good, bye!
4376+ confidence : 0.97
4377+ clips :
4378+ - speaker : 0
4379+ text : Hi, is Thursday at two still good for you?
4380+ confidence : 0.97
4381+ startTimeSeconds : 0.4
4382+ endTimeSeconds : 3.1
4383+ - speaker : 1
4384+ text : Yes, that works great. See you then!
4385+ confidence : 0.95
4386+ startTimeSeconds : 3.8
4387+ endTimeSeconds : 6.2
4388+ - speaker : 0
4389+ text : Perfect, talk soon.
4390+ confidence : 0.94
4391+ startTimeSeconds : 6.9
4392+ endTimeSeconds : 8.1
4393+ - speaker : 1
4394+ text : Sounds good, bye!
4395+ confidence : 0.98
4396+ startTimeSeconds : 8.5
4397+ endTimeSeconds : 9.7
4398+ recordingTranscriptionClip :
4399+ type : object
4400+ properties :
4401+ speaker :
4402+ type : integer
4403+ description : Zero-based index identifying the speaker.
4404+ example : 0
4405+ text :
4406+ type : string
4407+ description : The transcribed text of this clip.
4408+ example : Hi there, thanks for calling!
4409+ confidence :
4410+ type : number
4411+ format : double
4412+ minimum : 0
4413+ maximum : 1
4414+ description : >-
4415+ How confident the transcription engine was in transcribing this clip
4416+ (from `0.0` to `1.0`).
4417+ example : 0.85
4418+ startTimeSeconds :
4419+ type : number
4420+ format : double
4421+ description : The start time of this clip within the recording, in seconds.
4422+ example : 2.3
4423+ endTimeSeconds :
4424+ type : number
4425+ format : double
4426+ description : The end time of this clip within the recording, in seconds.
4427+ example : 3.1
43514428 callTranscriptionMetadataList :
43524429 type : array
43534430 items :
@@ -4491,6 +4568,8 @@ components:
44914568 $ref : ' #/components/schemas/tag1'
44924569 machineDetectionResult :
44934570 $ref : ' #/components/schemas/machineDetectionResult'
4571+ sipCallId :
4572+ $ref : ' #/components/schemas/sipCallId'
44944573 bridgeCompleteCallback :
44954574 type : object
44964575 description : >-
@@ -4755,6 +4834,10 @@ components:
47554834 $ref : ' #/components/schemas/errorId'
47564835 tag :
47574836 $ref : ' #/components/schemas/tag1'
4837+ sipCallId :
4838+ $ref : ' #/components/schemas/sipCallId'
4839+ sipResponseCode :
4840+ $ref : ' #/components/schemas/sipResponseCode'
47584841 dtmfCallback :
47594842 type : object
47604843 description : >-
@@ -4871,6 +4954,10 @@ components:
48714954 $ref : ' #/components/schemas/stirShaken'
48724955 uui :
48734956 $ref : ' #/components/schemas/uui'
4957+ sipCallId :
4958+ $ref : ' #/components/schemas/sipCallId'
4959+ sipHeaders :
4960+ $ref : ' #/components/schemas/sipHeaders'
48744961 machineDetectionCompleteCallback :
48754962 type : object
48764963 description : >-
@@ -5474,6 +5561,10 @@ components:
54745561 transcription :
54755562 type : object
54765563 properties :
5564+ speaker :
5565+ type : integer
5566+ description : Zero-based index identifying the speaker.
5567+ example : 0
54775568 text :
54785569 type : string
54795570 description : The transcribed text
@@ -5514,6 +5605,36 @@ components:
55145605 value, including the encoding specifier, may not exceed 256 characters.
55155606 example : bXktdXVp
55165607 maxLength : 256
5608+ sipCallId :
5609+ type : string
5610+ description : >-
5611+ (optional) The SIP Call-ID of the call's current SIP dialog with
5612+ Bandwidth's SBC. Used to correlate dialogs and trace calls. Present on
5613+ any call, inbound or outbound, once that dialog has been established;
5614+ may be absent very early in a call before the dialog exists.
5615+ example : c95ac8d6e1a31c52eb38f419893c151633ec68f8d@sbc.bandwidth.com
5616+ sipHeaders :
5617+ type : object
5618+ additionalProperties :
5619+ type : string
5620+ description : >-
5621+ (optional) Map of customer-supplied X-* headers from the original
5622+ INVITE. Keys are lowercase (SIP headers are case-insensitive). Present
5623+ only for inbound SIP URI calls with custom headers. Note - keys preserve
5624+ the original SIP header name in lowercase rather than Bandwidth's usual
5625+ camelCase JSON convention, since these are passthrough values from the
5626+ caller's SIP INVITE, not Bandwidth-defined fields. If the same header
5627+ name is sent more than once in the INVITE, only the last value is kept.
5628+ example :
5629+ x-custom-header : customer-value
5630+ x-session-id : sess-12345
5631+ sipResponseCode :
5632+ type : integer
5633+ description : >-
5634+ (optional) The SIP status code returned by Bandwidth's SBC when it
5635+ rejected an outbound call's INVITE (e.g. 486 for busy, 603 for decline).
5636+ Present only when an outbound call was rejected by the SBC.
5637+ example : 486
55175638 codeRequest :
55185639 type : object
55195640 properties :
@@ -8636,12 +8757,33 @@ components:
86368757 media :
86378758 - https://dev.bandwidth.com/images/bandwidth-logo.png
86388759 tag : your tag here
8760+ messageSentCallbackExample :
8761+ summary : An example of a message-sent callback body.
8762+ value :
8763+ time : ' 2024-06-25T18:42:36.979456Z'
8764+ type : message-sent
8765+ to : ' +15554443333'
8766+ description : Message sent to carrier
8767+ message :
8768+ id : 1593110555875xo7watq5px6rbe5d
8769+ owner : ' +15552221111'
8770+ applicationId : cfd4fb83-7531-4acc-b471-42d0bb76a65c
8771+ time : ' 2024-06-25T18:42:35.876906Z'
8772+ segmentCount : 1
8773+ direction : out
8774+ to :
8775+ - ' +15554443333'
8776+ from : ' +15552221111'
8777+ text : ' '
8778+ media :
8779+ - https://dev.bandwidth.com/images/bandwidth-logo.png
8780+ tag : v2 lab
86398781 smsMessageDeliveredCallbackExample :
86408782 summary : An example of a sms message-delivered callback body.
86418783 value :
86428784 type : message-delivered
86438785 time : ' 2024-09-14T18:20:11.160744Z'
8644- description : Message delivered to carrier .
8786+ description : Message delivered to handset .
86458787 to : ' +12345678902'
86468788 message :
86478789 id : 14762070468292kw2fuqty55yp2b2
@@ -8659,7 +8801,7 @@ components:
86598801 value :
86608802 type : message-delivered
86618803 time : ' 2024-09-14T18:20:24.160544Z'
8662- description : Message delivered to carrier .
8804+ description : Message delivered to handset .
86638805 to : ' +12345678902'
86648806 message :
86658807 id : 14762070468292kw2fuqty55yp2b2
@@ -8679,7 +8821,7 @@ components:
86798821 value :
86808822 type : message-delivered
86818823 time : ' 2024-09-14T18:20:17.160544Z'
8682- description : Message delivered to carrier .
8824+ description : Message delivered to handset .
86838825 to : ' +12345678902'
86848826 message :
86858827 id : 14762070468292kw2fuqty55yp2b2
@@ -9154,7 +9296,7 @@ components:
91549296 tag : ' {"myTag": "myTagValue"}'
91559297 updateEndpointBxmlRequestExample :
91569298 summary : Update Endpoint BXML Request Example
9157- value : <Bxml ><StartRecording /></Bxml >
9299+ value : <Response ><StartRecording /></Response >
91589300 endpointDisconnectedEventExample :
91599301 summary : Endpoint Disconnected Event
91609302 value :
@@ -9678,10 +9820,10 @@ components:
96789820
96799821 <p>The payload type will be one of <code>message-received</code>,
96809822 <code>suggestion-response</code>, or
9681- <code>location-request -response</code>.
9823+ <code>requested-location -response</code>.
96829824
96839825 <p>Note that <code>suggestion-response</code> and
9684- <code>location-request -response</code> callback types are
9826+ <code>requested-location -response</code> callback types are
96859827 pertinent only for RBM messages sent from the
96869828 <code>/messages/multiChannel</code> endpoint.
96879829
@@ -9711,7 +9853,7 @@ components:
97119853 information regarding a message sent (MT)
97129854
97139855 from your message-enabled Bandwidth telephone number.
9714- <p>The payload type will be one of <code>message-sending</code>, <code>message-delivered</code>, <code>message-failed</code> or <code>message-read</code>.
9856+ <p>The payload type will be one of <code>message-sending</code>, <code>message-sent</code>, <code>message- delivered</code>, <code>message-failed</code> or <code>message-read</code>.
97159857 <p>Note that <code>message-read</code> callbacks are pertinent only for RBM messages sent from the <code>/messages/multiChannel</code> endpoint.
97169858 </p><p>Please visit <a
97179859 href='/docs/messaging/webhooks/'>Webhooks</a></p>
@@ -9722,6 +9864,8 @@ components:
97229864 examples :
97239865 messageSendingCallback :
97249866 $ref : ' #/components/examples/messageSendingCallbackExample'
9867+ messageSentCallback :
9868+ $ref : ' #/components/examples/messageSentCallbackExample'
97259869 smsMessageDeliveredCallback :
97269870 $ref : ' #/components/examples/smsMessageDeliveredCallbackExample'
97279871 mmsMessageDeliveredCallback :
0 commit comments