github.com/grokify/go-ringcentral-client@v0.3.31/office/v1/client/docs/MessagesApi.md (about) 1 # \MessagesApi 2 3 All URIs are relative to *https://platform.devtest.ringcentral.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**DeleteMessage**](MessagesApi.md#DeleteMessage) | **Delete** /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId} | Delete Message(s) by ID 8 [**DeleteMessagesByFilter**](MessagesApi.md#DeleteMessagesByFilter) | **Delete** /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store | Delete Conversations by ID's 9 [**GetFaxCoverPages**](MessagesApi.md#GetFaxCoverPages) | **Get** /restapi/v1.0/dictionary/fax-cover-page | Get Fax Cover Pages 10 [**ListMessages**](MessagesApi.md#ListMessages) | **Get** /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store | Get Message List 11 [**LoadMessage**](MessagesApi.md#LoadMessage) | **Get** /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId} | Get Message(s) by ID 12 [**LoadMessageAttachment**](MessagesApi.md#LoadMessageAttachment) | **Get** /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId}/content/{attachmentId} | Get Message Attachment 13 [**SendFaxMessage**](MessagesApi.md#SendFaxMessage) | **Post** /restapi/v1.0/account/{accountId}/extension/{extensionId}/fax | Create Fax Message 14 [**SendInternalMessage**](MessagesApi.md#SendInternalMessage) | **Post** /restapi/v1.0/account/{accountId}/extension/{extensionId}/company-pager | Create Pager Message 15 [**SendSMS**](MessagesApi.md#SendSMS) | **Post** /restapi/v1.0/account/{accountId}/extension/{extensionId}/sms | Create SMS Message 16 [**SyncMessages**](MessagesApi.md#SyncMessages) | **Get** /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-sync | Get Message Sync 17 [**UpdateMessage**](MessagesApi.md#UpdateMessage) | **Put** /restapi/v1.0/account/{accountId}/extension/{extensionId}/message-store/{messageId} | Update Message(s) by ID 18 19 20 # **DeleteMessage** 21 > DeleteMessage(ctx, accountId, extensionId, messageId, optional) 22 Delete Message(s) by ID 23 24 <p style='font-style:italic;'></p><p>Deletes message(s) by the given message ID(s). The first call of this method transfers the message to the 'Delete' status. The second call transfers the deleted message to the 'Purged' status. If it is required to make the message 'Purged' immediately (from the first call), then set the query parameter purge to 'True'.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditMessages</td><td>Viewing and updating user messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> 25 26 ### Required Parameters 27 28 Name | Type | Description | Notes 29 ------------- | ------------- | ------------- | ------------- 30 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 31 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 32 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 33 **messageId** | **int32**| Internal identifier of a message | 34 **optional** | ***DeleteMessageOpts** | optional parameters | nil if no parameters 35 36 ### Optional Parameters 37 Optional parameters are passed through a pointer to a DeleteMessageOpts struct 38 39 Name | Type | Description | Notes 40 ------------- | ------------- | ------------- | ------------- 41 42 43 44 **purge** | **optional.Bool**| If the value is 'True', then the message is purged immediately with all the attachments. The default value is 'False' | 45 **conversationId** | **optional.Int32**| Internal identifier of a message thread | 46 47 ### Return type 48 49 (empty response body) 50 51 ### Authorization 52 53 [OAuth2](../README.md#OAuth2) 54 55 ### HTTP request headers 56 57 - **Content-Type**: Not defined 58 - **Accept**: Not defined 59 60 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 61 62 # **DeleteMessagesByFilter** 63 > DeleteMessagesByFilter(ctx, extensionId, accountId, optional) 64 Delete Conversations by ID's 65 66 ### Required Parameters 67 68 Name | Type | Description | Notes 69 ------------- | ------------- | ------------- | ------------- 70 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 71 **extensionId** | **string**| | 72 **accountId** | **string**| | 73 **optional** | ***DeleteMessagesByFilterOpts** | optional parameters | nil if no parameters 74 75 ### Optional Parameters 76 Optional parameters are passed through a pointer to a DeleteMessagesByFilterOpts struct 77 78 Name | Type | Description | Notes 79 ------------- | ------------- | ------------- | ------------- 80 81 82 **conversationId** | [**optional.Interface of []string**](string.md)| | 83 84 ### Return type 85 86 (empty response body) 87 88 ### Authorization 89 90 [OAuth2](../README.md#OAuth2) 91 92 ### HTTP request headers 93 94 - **Content-Type**: Not defined 95 - **Accept**: Not defined 96 97 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 98 99 # **GetFaxCoverPages** 100 > GetFaxCoverPages(ctx, optional) 101 Get Fax Cover Pages 102 103 ### Required Parameters 104 105 Name | Type | Description | Notes 106 ------------- | ------------- | ------------- | ------------- 107 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 108 **optional** | ***GetFaxCoverPagesOpts** | optional parameters | nil if no parameters 109 110 ### Optional Parameters 111 Optional parameters are passed through a pointer to a GetFaxCoverPagesOpts struct 112 113 Name | Type | Description | Notes 114 ------------- | ------------- | ------------- | ------------- 115 **page** | **optional.Int32**| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | 116 **perPage** | **optional.Int32**| Indicates the page size (number of items). If not specified, the value is '100' by default | 117 118 ### Return type 119 120 (empty response body) 121 122 ### Authorization 123 124 [OAuth2](../README.md#OAuth2) 125 126 ### HTTP request headers 127 128 - **Content-Type**: Not defined 129 - **Accept**: Not defined 130 131 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 132 133 # **ListMessages** 134 > GetMessageList ListMessages(ctx, accountId, extensionId, optional) 135 Get Message List 136 137 <p style='font-style:italic;'>Since 1.0.2</p><p>Returns the list of messages from an extension mailbox.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> 138 139 ### Required Parameters 140 141 Name | Type | Description | Notes 142 ------------- | ------------- | ------------- | ------------- 143 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 144 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 145 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 146 **optional** | ***ListMessagesOpts** | optional parameters | nil if no parameters 147 148 ### Optional Parameters 149 Optional parameters are passed through a pointer to a ListMessagesOpts struct 150 151 Name | Type | Description | Notes 152 ------------- | ------------- | ------------- | ------------- 153 154 155 **availability** | [**optional.Interface of []string**](string.md)| Specifies the availability status for the resulting messages. Default value is 'Alive'. Multiple values are accepted | 156 **conversationId** | **optional.Int32**| Specifies the conversation identifier for the resulting messages | 157 **dateFrom** | **optional.Time**| The start datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours | 158 **dateTo** | **optional.Time**| The end datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time | 159 **direction** | [**optional.Interface of []string**](string.md)| The direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted | 160 **distinctConversations** | **optional.Bool**| If 'True', then the latest messages per every conversation ID are returned | 161 **messageType** | [**optional.Interface of []string**](string.md)| The type of the resulting messages. If not specified, all messages without message type filtering are returned. Multiple values are accepted | 162 **readStatus** | [**optional.Interface of []string**](string.md)| The read status for the resulting messages. Multiple values are accepted | 163 **page** | **optional.Int32**| Indicates the page number to retrieve. Only positive number values are allowed. Default value is '1' | 164 **perPage** | **optional.Int32**| Indicates the page size (number of items). If not specified, the value is '100' by default | 165 **phoneNumber** | **optional.String**| The phone number. If specified, messages are returned for this particular phone number only | 166 167 ### Return type 168 169 [**GetMessageList**](GetMessageList.md) 170 171 ### Authorization 172 173 [OAuth2](../README.md#OAuth2) 174 175 ### HTTP request headers 176 177 - **Content-Type**: Not defined 178 - **Accept**: application/json 179 180 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 181 182 # **LoadMessage** 183 > GetMessageInfoResponse LoadMessage(ctx, accountId, extensionId, messageId) 184 Get Message(s) by ID 185 186 <p style='font-style:italic;'>Since 1.0.2</p><p>Returns individual message record(s) by the given message ID(s). The length of inbound messages is unlimited. Batch request is supported, see Batch Requests for details.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> 187 188 ### Required Parameters 189 190 Name | Type | Description | Notes 191 ------------- | ------------- | ------------- | ------------- 192 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 193 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 194 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 195 **messageId** | **int32**| Internal identifier of a message | 196 197 ### Return type 198 199 [**GetMessageInfoResponse**](GetMessageInfoResponse.md) 200 201 ### Authorization 202 203 [OAuth2](../README.md#OAuth2) 204 205 ### HTTP request headers 206 207 - **Content-Type**: Not defined 208 - **Accept**: application/json 209 210 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 211 212 # **LoadMessageAttachment** 213 > LoadMessageAttachment(ctx, accountId, extensionId, attachmentId, messageId, optional) 214 Get Message Attachment 215 216 <p style='font-style:italic;'>Since 1.0.4 (Release 5.13)</p><p>Returns particular message attachment data as a media stream.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> 217 218 ### Required Parameters 219 220 Name | Type | Description | Notes 221 ------------- | ------------- | ------------- | ------------- 222 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 223 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 224 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 225 **attachmentId** | **int32**| Internal identifier of a message attachment | 226 **messageId** | **int32**| Internal identifier of a message | 227 **optional** | ***LoadMessageAttachmentOpts** | optional parameters | nil if no parameters 228 229 ### Optional Parameters 230 Optional parameters are passed through a pointer to a LoadMessageAttachmentOpts struct 231 232 Name | Type | Description | Notes 233 ------------- | ------------- | ------------- | ------------- 234 235 236 237 238 **range_** | **optional.String**| | 239 240 ### Return type 241 242 (empty response body) 243 244 ### Authorization 245 246 [OAuth2](../README.md#OAuth2) 247 248 ### HTTP request headers 249 250 - **Content-Type**: Not defined 251 - **Accept**: Not defined 252 253 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 254 255 # **SendFaxMessage** 256 > FaxResponse SendFaxMessage(ctx, accountId, extensionId, to, optional) 257 Create Fax Message 258 259 <p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends/resends new fax message. Resend can be done if sending failed.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>Faxes</td><td>Sending and receiving faxes</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Heavy</p> 260 261 ### Required Parameters 262 263 Name | Type | Description | Notes 264 ------------- | ------------- | ------------- | ------------- 265 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 266 **accountId** | **string**| Internal identifier of a RingCentral account (integer) or tilde (~) to indicate the account which was logged-in within the current session. | [default to ~] 267 **extensionId** | **string**| Internal identifier of an extension (integer) or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 268 **to** | [**[]string**](string.md)| To Phone Number | 269 **optional** | ***SendFaxMessageOpts** | optional parameters | nil if no parameters 270 271 ### Optional Parameters 272 Optional parameters are passed through a pointer to a SendFaxMessageOpts struct 273 274 Name | Type | Description | Notes 275 ------------- | ------------- | ------------- | ------------- 276 277 278 279 **attachment** | **optional.Interface of *os.File****optional.*os.File**| File to upload | 280 **faxResolution** | **optional.String**| Resolution of Fax | 281 **sendTime** | **optional.Time**| Optional. Timestamp to send fax at. If not specified (current or the past), the fax is sent immediately | 282 **isoCode** | **optional.String**| ISO Code. e.g UK | 283 **coverIndex** | **optional.Int32**| Cover page identifier. For the list of available cover page identifiers please call the method Fax Cover Pages. If not specified, the default cover page which is configured in 'Outbound Fax Settings' is attached | 284 **coverPageText** | **optional.String**| Cover page text, entered by the fax sender and printed on the cover page. Maximum length is limited to 1024 symbols | 285 286 ### Return type 287 288 [**FaxResponse**](FaxResponse.md) 289 290 ### Authorization 291 292 [OAuth2](../README.md#OAuth2) 293 294 ### HTTP request headers 295 296 - **Content-Type**: multipart/form-data 297 - **Accept**: application/json 298 299 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 300 301 # **SendInternalMessage** 302 > GetMessageInfoResponse SendInternalMessage(ctx, accountId, extensionId, createPagerMessageRequest) 303 Create Pager Message 304 305 <p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends a pager message.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>InternalMessages</td><td>Sending and receiving intra-company text messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> 306 307 ### Required Parameters 308 309 Name | Type | Description | Notes 310 ------------- | ------------- | ------------- | ------------- 311 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 312 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 313 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 314 **createPagerMessageRequest** | [**CreatePagerMessageRequest**](CreatePagerMessageRequest.md)| JSON body | 315 316 ### Return type 317 318 [**GetMessageInfoResponse**](GetMessageInfoResponse.md) 319 320 ### Authorization 321 322 [OAuth2](../README.md#OAuth2) 323 324 ### HTTP request headers 325 326 - **Content-Type**: application/json 327 - **Accept**: application/json 328 329 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 330 331 # **SendSMS** 332 > GetMessageInfoResponseIntId SendSMS(ctx, accountId, extensionId, createSmsMessage) 333 Create SMS Message 334 335 <p style='font-style:italic;'>Since 1.0.2</p><p>Creates and sends new SMS message. Sending SMS messages simultaneously to different recipients is limited up to 50 requests per minute; relevant for all client applications.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>SMS</td><td>Sending and receiving SMS (text) messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> 336 337 ### Required Parameters 338 339 Name | Type | Description | Notes 340 ------------- | ------------- | ------------- | ------------- 341 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 342 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 343 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 344 **createSmsMessage** | [**CreateSmsMessage**](CreateSmsMessage.md)| JSON body | 345 346 ### Return type 347 348 [**GetMessageInfoResponseIntId**](GetMessageInfoResponseIntId.md) 349 350 ### Authorization 351 352 [OAuth2](../README.md#OAuth2) 353 354 ### HTTP request headers 355 356 - **Content-Type**: application/json 357 - **Accept**: application/json 358 359 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 360 361 # **SyncMessages** 362 > GetMessageSyncResponse SyncMessages(ctx, accountId, extensionId, optional) 363 Get Message Sync 364 365 <p style='font-style:italic;'>Since 1.0.4 (Release 5.13)</p><p>Provides facilities to synchronize mailbox content stored externally with server state.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Light</p> 366 367 ### Required Parameters 368 369 Name | Type | Description | Notes 370 ------------- | ------------- | ------------- | ------------- 371 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 372 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 373 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 374 **optional** | ***SyncMessagesOpts** | optional parameters | nil if no parameters 375 376 ### Optional Parameters 377 Optional parameters are passed through a pointer to a SyncMessagesOpts struct 378 379 Name | Type | Description | Notes 380 ------------- | ------------- | ------------- | ------------- 381 382 383 **conversationId** | **optional.Int32**| Conversation identifier for the resulting messages. Meaningful for SMS and Pager messages only. | 384 **dateFrom** | **optional.String**| The start datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is dateTo minus 24 hours | 385 **dateTo** | **optional.String**| The end datetime for resulting messages in ISO 8601 format including timezone, for example 2016-03-10T18:07:52.534Z. The default value is current time | 386 **direction** | [**optional.Interface of []string**](string.md)| Direction for the resulting messages. If not specified, both inbound and outbound messages are returned. Multiple values are accepted | 387 **distinctConversations** | **optional.Bool**| If 'True', then the latest messages per every conversation ID are returned | 388 **messageType** | [**optional.Interface of []string**](string.md)| Type for the resulting messages. If not specified, all types of messages are returned. Multiple values are accepted | 389 **recordCount** | **optional.Int32**| Limits the number of records to be returned (works in combination with dateFrom and dateTo if specified) | 390 **syncToken** | **optional.String**| Value of syncToken property of last sync request response | 391 **syncType** | [**optional.Interface of []string**](string.md)| Type of message synchronization | 392 393 ### Return type 394 395 [**GetMessageSyncResponse**](GetMessageSyncResponse.md) 396 397 ### Authorization 398 399 [OAuth2](../README.md#OAuth2) 400 401 ### HTTP request headers 402 403 - **Content-Type**: Not defined 404 - **Accept**: application/json 405 406 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 407 408 # **UpdateMessage** 409 > GetMessageInfoResponse UpdateMessage(ctx, accountId, extensionId, messageId, updateMessageRequest) 410 Update Message(s) by ID 411 412 <p style='font-style:italic;'>Since 1.0.2</p><p>Updates message(s) by ID(s). Batch request is supported, see Batch Requests for details. Currently, only the message read status updating is supported.</p><h4>Required Permissions</h4><table class='fullwidth'><thead><tr><th>Permission</th><th>Description</th></tr></thead><tbody><tr><td class='code'>EditMessages</td><td>Viewing and updating user messages</td></tr><tr><td class='code'>ReadMessages</td><td>Viewing user messages</td></tr></tbody></table><h4>Usage Plan Group</h4><p>Medium</p> 413 414 ### Required Parameters 415 416 Name | Type | Description | Notes 417 ------------- | ------------- | ------------- | ------------- 418 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 419 **accountId** | **string**| Internal identifier of a RingCentral account or tilde (~) to indicate the account logged-in within the current session | [default to ~] 420 **extensionId** | **string**| Internal identifier of an extension or tilde (~) to indicate the extension assigned to the account logged-in within the current session | [default to ~] 421 **messageId** | **int32**| Internal identifier of a message | 422 **updateMessageRequest** | [**UpdateMessageRequest**](UpdateMessageRequest.md)| JSON body | 423 424 ### Return type 425 426 [**GetMessageInfoResponse**](GetMessageInfoResponse.md) 427 428 ### Authorization 429 430 [OAuth2](../README.md#OAuth2) 431 432 ### HTTP request headers 433 434 - **Content-Type**: application/json 435 - **Accept**: application/json 436 437 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) 438