20 lines
420 B
YAML
20 lines
420 B
YAML
|
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
|