Alert channels API

Alert channels endpoints in the Brix REST API: 1 operation (POST), with auth, permissions and curl examples.

View as Markdown

Base URL https://api.brixsignage.com. Send Authorization: Bearer $BRIX_API_KEY unless an operation says No auth. The permission chip names what the key must hold. See Authentication and scopes, Errors and rate limits and Pagination.

POST/v1/alert-channels/teams/test

Bearer token alert-rule.create

Send a sample alert card to a Microsoft Teams webhook to confirm it is configured correctly. Provide the webhook url in the request body; it must be a Microsoft Teams Workflow URL. The response returns ok, status, and an optional message, and never includes the URL you sent. This operation is rate-limited to 10 requests per minute. A refusal from Microsoft Teams is NOT an HTTP error: the answer is 200 with ok: false and a message to show.

Request body application/json

FieldTypeRequiredDescription
urlstringyesA Microsoft Teams workflow URL, or the masked URL a saved rule shows (then send `ruleId` too).
ruleIdstringnoWith a masked `url`: the rule whose saved URL to use.
curl -X POST "https://api.brixsignage.com/v1/alert-channels/teams/test" \
  -H "Authorization: Bearer $BRIX_API_KEY" \
  -H "Content-Type: application/json"

Response 200 Success.

FieldTypeDescription
dataobject | object

Response 401 Missing, expired or revoked bearer token.

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

Response 403 The token lacks the permission this operation needs (see `x-brix-permission`).

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

Response 422 The URL is not a Microsoft Teams workflow URL, or a masked URL matches no URL saved on `ruleId`.

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

Response 429 More than 10 calls in a minute.

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.

Response 5XX Server error. The body carries a `requestId` to quote to support.

FieldTypeDescription
errorstringMachine-readable code: `unauthorized`, `forbidden`, `not_found`, `validation_error`, `conflict`, `rate_limited`, `internal_error`, …
messagestringHuman-readable explanation. Safe to show an operator.
requestIdstringPresent on 5xx: quote it to support.