@@ -40118,24 +40118,26 @@ paths:
40118
40118
summary: Submit a toll-free verification request
40119
40119
tags:
40120
40120
- Toll-Free Verification
40121
- /accounts/{accountId}/tollFreeVerification/subscriptions/{id}:
40122
- delete:
40123
- description: Delete a webhook subscription by ID.
40124
- operationId: deleteWebhookSubscription
40121
+ /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions:
40122
+ get:
40123
+ description: >-
40124
+ Provides a list of webhook subscriptions that are registered to receive
40125
+ status updates for the toll-free verification requests submitted under
40126
+ this account (password will not be returned through this API; if
40127
+ `basicAuthentication` is defined, the `password` property of that object
40128
+ will be null).
40129
+ operationId: listWebhookSubscriptions
40125
40130
parameters:
40126
40131
- $ref: '#/components/parameters/AccountIdPathParam'
40127
- - $ref: '#/components/parameters/WebhookSubscriptionIdPathParam'
40128
40132
responses:
40129
- '204 ':
40130
- $ref: '#/components/responses/webhookSubscriptionDeleted '
40133
+ '200 ':
40134
+ $ref: '#/components/responses/webhookSubscriptionsList '
40131
40135
'400':
40132
- $ref: '#/components/responses/tfvBadRequestResponse '
40136
+ $ref: '#/components/responses/tfvPostBadRequestResponse '
40133
40137
'401':
40134
40138
$ref: '#/components/responses/tfvUnauthorizedResponse'
40135
40139
'403':
40136
40140
$ref: '#/components/responses/tfvForbiddenResponse'
40137
- '404':
40138
- $ref: '#/components/responses/tfvNotFoundResponse'
40139
40141
'405':
40140
40142
$ref: '#/components/responses/tfvNotAllowedResponse'
40141
40143
'429':
@@ -40144,22 +40146,26 @@ paths:
40144
40146
$ref: '#/components/responses/tfvServerErrorResponse'
40145
40147
'503':
40146
40148
$ref: '#/components/responses/tfvServiceUnavailableResponse'
40147
- summary: Delete a webhook subscription
40149
+ summary: List all webhook subscriptions registered for this account
40148
40150
tags:
40149
40151
- Toll-Free Verification
40150
- put :
40152
+ post :
40151
40153
description: >-
40152
- Update an existing webhook subscription (`callbackUrl` and
40153
- `basicAuthentication` can be updated).
40154
- operationId: updateWebhookSubscription
40154
+ Create a new webhook subscription (this webhook will be called for every
40155
+ update on every submission; is is also possible to register a one-time
40156
+ callback URL as part of a submission itself). In addition to a
40157
+ `callbackUrl`, this subscription can provide HTTP Basic authentication
40158
+ credentials (a username and a password). The returned subscription
40159
+ object will contain an ID that can be used to modify or delete the
40160
+ subscription at a later time.
40161
+ operationId: createWebhookSubscription
40155
40162
parameters:
40156
40163
- $ref: '#/components/parameters/AccountIdPathParam'
40157
- - $ref: '#/components/parameters/WebhookSubscriptionIdPathParam'
40158
40164
requestBody:
40159
40165
$ref: '#/components/requestBodies/webhookSubscriptionRequest'
40160
40166
responses:
40161
- '200 ':
40162
- $ref: '#/components/responses/webhookSubscriptionUpdated '
40167
+ '201 ':
40168
+ $ref: '#/components/responses/webhookSubscriptionCreated '
40163
40169
'400':
40164
40170
$ref: '#/components/responses/tfvBadRequestResponse'
40165
40171
'401':
@@ -40176,29 +40182,27 @@ paths:
40176
40182
$ref: '#/components/responses/tfvServerErrorResponse'
40177
40183
'503':
40178
40184
$ref: '#/components/responses/tfvServiceUnavailableResponse'
40179
- summary: Update an existing webhook subscription
40185
+ summary: Create a new webhook subscription
40180
40186
tags:
40181
40187
- Toll-Free Verification
40182
- /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions:
40183
- get:
40184
- description: >-
40185
- Provides a list of webhook subscriptions that are registered to receive
40186
- status updates for the toll-free verification requests submitted under
40187
- this account (password will not be returned through this API; if
40188
- `basicAuthentication` is defined, the `password` property of that object
40189
- will be null).
40190
- operationId: listWebhookSubscriptions
40188
+ /accounts/{accountId}/tollFreeVerification/webhooks/subscriptions/{id}:
40189
+ delete:
40190
+ description: Delete a webhook subscription by ID.
40191
+ operationId: deleteWebhookSubscription
40191
40192
parameters:
40192
40193
- $ref: '#/components/parameters/AccountIdPathParam'
40194
+ - $ref: '#/components/parameters/WebhookSubscriptionIdPathParam'
40193
40195
responses:
40194
- '200 ':
40195
- $ref: '#/components/responses/webhookSubscriptionsList '
40196
+ '204 ':
40197
+ $ref: '#/components/responses/webhookSubscriptionDeleted '
40196
40198
'400':
40197
- $ref: '#/components/responses/tfvPostBadRequestResponse '
40199
+ $ref: '#/components/responses/tfvBadRequestResponse '
40198
40200
'401':
40199
40201
$ref: '#/components/responses/tfvUnauthorizedResponse'
40200
40202
'403':
40201
40203
$ref: '#/components/responses/tfvForbiddenResponse'
40204
+ '404':
40205
+ $ref: '#/components/responses/tfvNotFoundResponse'
40202
40206
'405':
40203
40207
$ref: '#/components/responses/tfvNotAllowedResponse'
40204
40208
'429':
@@ -40207,26 +40211,22 @@ paths:
40207
40211
$ref: '#/components/responses/tfvServerErrorResponse'
40208
40212
'503':
40209
40213
$ref: '#/components/responses/tfvServiceUnavailableResponse'
40210
- summary: List all webhook subscriptions registered for this account
40214
+ summary: Delete a webhook subscription
40211
40215
tags:
40212
40216
- Toll-Free Verification
40213
- post :
40217
+ put :
40214
40218
description: >-
40215
- Create a new webhook subscription (this webhook will be called for every
40216
- update on every submission; is is also possible to register a one-time
40217
- callback URL as part of a submission itself). In addition to a
40218
- `callbackUrl`, this subscription can provide HTTP Basic authentication
40219
- credentials (a username and a password). The returned subscription
40220
- object will contain an ID that can be used to modify or delete the
40221
- subscription at a later time.
40222
- operationId: createWebhookSubscription
40219
+ Update an existing webhook subscription (`callbackUrl` and
40220
+ `basicAuthentication` can be updated).
40221
+ operationId: updateWebhookSubscription
40223
40222
parameters:
40224
40223
- $ref: '#/components/parameters/AccountIdPathParam'
40224
+ - $ref: '#/components/parameters/WebhookSubscriptionIdPathParam'
40225
40225
requestBody:
40226
40226
$ref: '#/components/requestBodies/webhookSubscriptionRequest'
40227
40227
responses:
40228
- '201 ':
40229
- $ref: '#/components/responses/webhookSubscriptionCreated '
40228
+ '200 ':
40229
+ $ref: '#/components/responses/webhookSubscriptionUpdated '
40230
40230
'400':
40231
40231
$ref: '#/components/responses/tfvBadRequestResponse'
40232
40232
'401':
@@ -40243,7 +40243,7 @@ paths:
40243
40243
$ref: '#/components/responses/tfvServerErrorResponse'
40244
40244
'503':
40245
40245
$ref: '#/components/responses/tfvServiceUnavailableResponse'
40246
- summary: Create a new webhook subscription
40246
+ summary: Update an existing webhook subscription
40247
40247
tags:
40248
40248
- Toll-Free Verification
40249
40249
/accounts/{accountId}/totalSeats:
0 commit comments