Skip to main content
POST
/
test
Test a Slack or MS Teams webhook
curl --request POST \
  --url https://api.altostrat.io/test \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "slack",
  "url": "https://hooks.slack.com/services/XXXXXXXXX/YYYYYYYYY/ZZZZZZZZZZZZZZZZZZZZZZ"
}'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Specify the type of webhook and the URL to test.

type
enum<string>
required

Indicates whether the webhook is Slack or MS Teams.

Available options:
slack,
ms-teams
url
string<uri>
required

The webhook URL. Must match the service type (Slack vs. MS Teams).

Response

Test message successfully dispatched. (No content returned.)

I