Teams webhook

This service allows you to send a message from a specified service to the Microsoft team and channel with various message details. The following payload should be included in the POST request:

API Key Requirement

This API is protected and requires an API key to access the endpoints. You must include an X-API-KEY header with your requests. If the API key is missing or incorrect, the request will be denied with a 403 Forbidden error.

Header:

X-API-KEY: your_secret_api_key

POST Payload

Url: /api/send-message/
    {
      "channel": "string",
      "service": "string",
      "content": "string",
    }
    

Parameter Descriptions

Parameter Type Description
channel string The exact link of the channel in Teams.
(right-click on the channel and "Get link to channel")
service string The name of the service. (e.g., domain-management-tool)
content string The main content of the message. (html content is supported)

More API documentation can be found here.