WebhooksSubscribe Webhook

Subscribe Webhook

REST Hook subscribe: url receives this Team's Events of type event (see Webhooks). Responding 410 Gone to a delivery unsubscribes it.

curl -X POST "https://app.bragly.io/api/v1/teams/example_string/hooks" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -d '{
  "url": "example_string",
  "event": "reviews.form.submitted"
}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000"
}
POST
/teams/{team}/hooks
POST
Base URLstring

Target server for requests. Edit to use your own host.

OAuth 2.0
OAuth 2.0 Tokenstring
Required

OAuth 2.1, authorization code with PKCE.

OAuth 2.1, authorization code with PKCE.
path
teamstring
Required

Team id or slug, from List Teams.

Content-Typestring
Required

The media type of the request body

Options: application/json
urlstring
Required
Format: uri • Max length: 2048
eventstring
Required
Options: reviews.form.submitted, reviews.auto.imported, reviews.deleted
Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

OAuth 2.0 access token. OAuth 2.1, authorization code with PKCE.

Available Flowsinfo

Supported OAuth 2.0 flows: authorizationCode

Path Parameters

teamstring
Required

Team id or slug, from List Teams.

Body

application/json
eventstring
Required
Allowed values:reviews.form.submittedreviews.auto.importedreviews.deleted

Responses