Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ docs/CreateMessageRequestError.md
docs/CreateMultiChannelMessageResponse.md
docs/CreateSyncLookupResponse.md
docs/CreateSyncLookupResponseData.md
docs/CustomTooManyRequestsError.md
docs/DeactivationEventEnum.md
docs/DisconnectCallback.md
docs/Diversion.md
Expand Down Expand Up @@ -264,6 +265,7 @@ src/Bandwidth.Standard/Model/CreateMessageRequestError.cs
src/Bandwidth.Standard/Model/CreateMultiChannelMessageResponse.cs
src/Bandwidth.Standard/Model/CreateSyncLookupResponse.cs
src/Bandwidth.Standard/Model/CreateSyncLookupResponseData.cs
src/Bandwidth.Standard/Model/CustomTooManyRequestsError.cs
src/Bandwidth.Standard/Model/DeactivationEventEnum.cs
src/Bandwidth.Standard/Model/DisconnectCallback.cs
src/Bandwidth.Standard/Model/Diversion.cs
Expand Down
10 changes: 5 additions & 5 deletions Bandwidth.Standard.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{1B496B75-0E81-41BC-86C2-73D16188960A}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard", "src\Bandwidth.Standard\Bandwidth.Standard.csproj", "{3169CA47-72BD-4861-8006-EA3ED1D104BB}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Bandwidth.Standard.Test", "src\Bandwidth.Standard.Test\Bandwidth.Standard.Test.csproj", "{19F1DEBC-DE5E-4517-8062-F000CD499087}"
EndProject
Expand All @@ -12,10 +12,10 @@ Global
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{1B496B75-0E81-41BC-86C2-73D16188960A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{1B496B75-0E81-41BC-86C2-73D16188960A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{1B496B75-0E81-41BC-86C2-73D16188960A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{1B496B75-0E81-41BC-86C2-73D16188960A}.Release|Any CPU.Build.0 = Release|Any CPU
{3169CA47-72BD-4861-8006-EA3ED1D104BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3169CA47-72BD-4861-8006-EA3ED1D104BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3169CA47-72BD-4861-8006-EA3ED1D104BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3169CA47-72BD-4861-8006-EA3ED1D104BB}.Release|Any CPU.Build.0 = Release|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Debug|Any CPU.Build.0 = Debug|Any CPU
{19F1DEBC-DE5E-4517-8062-F000CD499087}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ Class | Method | HTTP request | Description
- [Model.CreateMultiChannelMessageResponse](docs/CreateMultiChannelMessageResponse.md)
- [Model.CreateSyncLookupResponse](docs/CreateSyncLookupResponse.md)
- [Model.CreateSyncLookupResponseData](docs/CreateSyncLookupResponseData.md)
- [Model.CustomTooManyRequestsError](docs/CustomTooManyRequestsError.md)
- [Model.DeactivationEventEnum](docs/DeactivationEventEnum.md)
- [Model.DisconnectCallback](docs/DisconnectCallback.md)
- [Model.Diversion](docs/Diversion.md)
Expand Down
105 changes: 95 additions & 10 deletions api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,10 @@ paths:
url: https://messaging.bandwidth.com/api/v2
/users/{accountId}/messages:
get:
description: Returns a list of messages based on query parameters.
description: |
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.
operationId: listMessages
parameters:
- description: Your Bandwidth Account ID.
Expand Down Expand Up @@ -699,6 +702,12 @@ paths:
schema:
$ref: '#/components/schemas/messagingRequestError'
description: Not Found
"405":
content:
application/json:
schema:
$ref: '#/components/schemas/messagingRequestError'
description: Method Not Allowed
"415":
content:
application/json:
Expand All @@ -709,8 +718,16 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/messagingRequestError'
$ref: '#/components/schemas/customTooManyRequestsError'
description: Too Many Requests
headers:
Retry-After:
description: The number of seconds to wait before retrying the request.
explode: false
schema:
example: 300
type: integer
style: simple
"500":
content:
application/json:
Expand Down Expand Up @@ -7409,6 +7426,20 @@ components:
schema:
$ref: '#/components/schemas/multiChannelError'
description: Internal Server Error
customTooManyRequestsError:
content:
application/json:
schema:
$ref: '#/components/schemas/customTooManyRequestsError'
description: Too Many Requests
headers:
Retry-After:
description: The number of seconds to wait before retrying the request.
explode: false
schema:
example: 300
type: integer
style: simple
createCallResponse:
content:
application/json:
Expand Down Expand Up @@ -8735,7 +8766,9 @@ components:
rbmMessageMedia:
properties:
media:
$ref: '#/components/schemas/rbmMessageContentFile'
items:
$ref: '#/components/schemas/rbmMessageContentFile'
type: array
suggestions:
description: An array of suggested actions for the recipient.
items:
Expand Down Expand Up @@ -9615,6 +9648,24 @@ components:
- segmentCount
- time
- to
customTooManyRequestsError:
example:
description: Rate limit exceeded. Wait for Retry-After time before sending
another request.
type: rate_limit_exceeded
properties:
type:
example: rate_limit_exceeded
type: string
description:
example: Rate limit exceeded. Wait for Retry-After time before sending another
request.
type: string
required:
- description
- type
title: CustomTooManyRequestsError
type: object
callbackMethodEnum:
default: POST
description: The HTTP method to use to deliver the callback. GET or POST. Default
Expand Down Expand Up @@ -13623,13 +13674,11 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
the verification status of a toll-free number - included in all webhook payloads.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
internalTicketNumberForWebhook:
description: Unique identifier (UUID) generated by Bandwidth to assist in tracking
the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
businessContactPhoneNumber:
description: Contact telephone number
Expand Down Expand Up @@ -13728,6 +13777,16 @@ components:
description: Indicates whether the content is age-gated.
example: false
type: boolean
cvToken:
description: "The token provided by Campaign Verify to validate your political\
\ use case. Only required for 527 political organizations. If you are\
\ not a 527 political organization, this field should be omitted. If you\
\ pass an empty string, it will be passed along and potentially rejected."
example: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
maxLength: 500
minLength: 0
nullable: true
type: string
required:
- businessAddress
- businessContact
Expand Down Expand Up @@ -13822,6 +13881,16 @@ components:
description: Indicates whether the content is age-gated.
example: false
type: boolean
cvToken:
description: "The token provided by Campaign Verify to validate your political\
\ use case. Only required for 527 political organizations. If you are\
\ not a 527 political organization, this field should be omitted. If you\
\ pass an empty string, it will be passed along and potentially rejected."
example: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
maxLength: 500
minLength: 0
nullable: true
type: string
required:
- businessAddress
- businessContact
Expand Down Expand Up @@ -13909,7 +13978,6 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
type: object
verificationDenialWebhook:
Expand Down Expand Up @@ -13945,7 +14013,6 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
phoneNumber:
description: Toll-free telephone number in E.164 format.
Expand Down Expand Up @@ -13995,7 +14062,6 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
type: object
blockedWebhook:
Expand All @@ -14018,7 +14084,6 @@ components:
description: Unique identifier (UUID) generated by Bandwidth to assist in
tracking the verification status of a toll-free number.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
blocked:
description: Whether a Toll-Free Verification is blocked. This attribute
Expand Down Expand Up @@ -14484,6 +14549,7 @@ components:
useCaseSummary: Text summarizing the use case for the toll-free number
declineReasonDescription: Invalid Information - Can't Validate URL - Website
is not accessible / not available
cvToken: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
status: VERIFIED
properties:
phoneNumber:
Expand All @@ -14501,7 +14567,6 @@ components:
tracking the verification status of a toll-free number - included in all
webhook payloads.
example: acde070d-8c4c-4f0d-9d8a-162843c10333
format: uuid
type: string
declineReasonDescription:
description: Explanation for why a verification request was declined.
Expand Down Expand Up @@ -14536,6 +14601,16 @@ components:
attribute will only be defined when the number is blocked.
example: Toll-free number was used to send spam messages
type: string
cvToken:
description: "The token provided by Campaign Verify to validate your political\
\ use case. Only required for 527 political organizations. If you are\
\ not a 527 political organization, this field should be omitted. If you\
\ pass an empty string, it will be passed along and potentially rejected."
example: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
maxLength: 500
minLength: 0
nullable: true
type: string
type: object
tfvSubmissionInfo:
example:
Expand Down Expand Up @@ -14660,6 +14735,16 @@ components:
nullable: true
pattern: "^[ -~]{16,64}$"
type: string
cvToken:
description: "The token provided by Campaign Verify to validate your political\
\ use case. Only required for 527 political organizations. If you are not\
\ a 527 political organization, this field should be omitted. If you pass\
\ an empty string, it will be passed along and potentially rejected."
example: cv.user123|sess456|mno|tfree|read_write|X7yZ9aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVwXyZ0123456789aBcDeFgHiJkLmNoPqRsTuVw
maxLength: 500
minLength: 0
nullable: true
type: string
rbmCardContent_media:
allOf:
- $ref: '#/components/schemas/rbmMessageContentFile'
Expand Down
Loading
Loading