Skip to Content
Webhooks

Create Webhook

Accès

Membre de l’organisation avec cette autorisation :

  • webhooks:write

Une clé API avec des scopes doit aussi avoir l’autorisation dans ses scopes.

POST
/orgs/{organizationId}/webhooks

Creates a new webhook. subscribedEventKeys must only include events the current member is allowed to receive (see organization permissions).

Authorization

ApiKeyAuth
headerx-api-key<token>

API key for authentication

Path Parameters

organizationId*string

The ID or slug of the organization

Request Body

application/json
  1. body
url*string
Formaturi
subscribedEventKeys*array<>
Items1 <= items
enabled?boolean
Defaulttrue

Response Body

OK

application/json
  1. response
Example Request
curl -X POST 'https://api.tillor.eu/orgs//webhooks' \  -H 'Content-Type: application/json' \  -d '{  "url": "http://example.com",  "subscribedEventKeys": [    "*"  ]}'
Example Response
null