chore: Update the documentation for configuring webhooks in the account (#4703)

This commit is contained in:
Pranav Raj S
2022-05-19 21:43:23 +05:30
committed by GitHub
parent 8538660bbd
commit 11ea8a3032
12 changed files with 340 additions and 18 deletions

View File

@@ -0,0 +1,19 @@
tags:
- Webhooks
operationId: create-a-webhook
summary: Add a webhook
description: Add a webhook subscription to the account
parameters:
- $ref: '#/parameters/account_id'
- name: data
in: body
required: true
schema:
$ref: '#/definitions/webhook_create_update_payload'
responses:
200:
description: Success
schema:
$ref: '#/definitions/webhook'
401:
description: Unauthorized