You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/openapi.yaml
+40-1Lines changed: 40 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -399,7 +399,10 @@ paths:
399
399
url: https://messaging.bandwidth.com/api/v2
400
400
/users/{accountId}/messages:
401
401
get:
402
-
description: Returns a list of messages based on query parameters.
402
+
description: |
403
+
Returns a list of messages based on query parameters.
404
+
405
+
**Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
Copy file name to clipboardExpand all lines: docs/MessagesApi.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,7 +97,7 @@ public class Example {
97
97
98
98
List Messages
99
99
100
-
Returns a list of messages based on query parameters.
100
+
Returns a list of messages based on query parameters.**Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
101
101
102
102
### Example
103
103
```java
@@ -220,7 +220,8 @@ public class Example {
220
220
|**401**| Unauthorized | - |
221
221
|**403**| Forbidden | - |
222
222
|**404**| Not Found | - |
223
+
|**405**| Method Not Allowed | - |
223
224
|**415**| Unsupported Media Type | - |
224
-
|**429**| Too Many Requests |-|
225
+
|**429**| Too Many Requests |* Retry-After - The number of seconds to wait before retrying the request. <br>|
<tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
298
+
<tr><td> 405 </td><td> Method Not Allowed </td><td> - </td></tr>
298
299
<tr><td> 415 </td><td> Unsupported Media Type </td><td> - </td></tr>
299
-
<tr><td> 429 </td><td> Too Many Requests </td><td> - </td></tr>
300
+
<tr><td> 429 </td><td> Too Many Requests </td><td> * Retry-After - The number of seconds to wait before retrying the request. <br> </td></tr>
300
301
<tr><td> 500 </td><td> Internal Server Error </td><td> - </td></tr>
301
302
</table>
302
303
*/
@@ -466,7 +467,7 @@ private okhttp3.Call listMessagesValidateBeforeCall(@javax.annotation.Nonnull St
466
467
467
468
/**
468
469
* List Messages
469
-
* Returns a list of messages based on query parameters.
470
+
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
470
471
* @param accountId Your Bandwidth Account ID. (required)
471
472
* @param messageId The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. (optional)
472
473
* @param sourceTn The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional)
@@ -506,8 +507,9 @@ private okhttp3.Call listMessagesValidateBeforeCall(@javax.annotation.Nonnull St
<tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
510
+
<tr><td> 405 </td><td> Method Not Allowed </td><td> - </td></tr>
509
511
<tr><td> 415 </td><td> Unsupported Media Type </td><td> - </td></tr>
510
-
<tr><td> 429 </td><td> Too Many Requests </td><td> - </td></tr>
512
+
<tr><td> 429 </td><td> Too Many Requests </td><td> * Retry-After - The number of seconds to wait before retrying the request. <br> </td></tr>
511
513
<tr><td> 500 </td><td> Internal Server Error </td><td> - </td></tr>
512
514
</table>
513
515
*/
@@ -518,7 +520,7 @@ public MessagesList listMessages(@javax.annotation.Nonnull String accountId, @ja
518
520
519
521
/**
520
522
* List Messages
521
-
* Returns a list of messages based on query parameters.
523
+
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
522
524
* @param accountId Your Bandwidth Account ID. (required)
523
525
* @param messageId The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. (optional)
524
526
* @param sourceTn The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional)
@@ -558,8 +560,9 @@ public MessagesList listMessages(@javax.annotation.Nonnull String accountId, @ja
<tr><td> 404 </td><td> Not Found </td><td> - </td></tr>
563
+
<tr><td> 405 </td><td> Method Not Allowed </td><td> - </td></tr>
561
564
<tr><td> 415 </td><td> Unsupported Media Type </td><td> - </td></tr>
562
-
<tr><td> 429 </td><td> Too Many Requests </td><td> - </td></tr>
565
+
<tr><td> 429 </td><td> Too Many Requests </td><td> * Retry-After - The number of seconds to wait before retrying the request. <br> </td></tr>
563
566
<tr><td> 500 </td><td> Internal Server Error </td><td> - </td></tr>
564
567
</table>
565
568
*/
@@ -571,7 +574,7 @@ public ApiResponse<MessagesList> listMessagesWithHttpInfo(@javax.annotation.Nonn
571
574
572
575
/**
573
576
* List Messages (asynchronously)
574
-
* Returns a list of messages based on query parameters.
577
+
* Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
575
578
* @param accountId Your Bandwidth Account ID. (required)
576
579
* @param messageId The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter. (optional)
577
580
* @param sourceTn The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. '%2B1919'). (optional)
@@ -612,8 +615,9 @@ public ApiResponse<MessagesList> listMessagesWithHttpInfo(@javax.annotation.Nonn
0 commit comments