cURL
curl --request POST \ --url https://api.alerty.ai/integration \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "type": "SLACK", "class": "NOTIFICATION", "configuration": { "teamId": "<string>", "accessToken": "<string>", "incomingWebhookURL": "<string>", "channelID": "<string>" } }'
{ "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7", "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z", "type": "SLACK", "class": "NOTIFICATION", "configuration": { "teamId": "<string>", "accessToken": "<string>", "incomingWebhookURL": "<string>", "channelID": "<string>" } }
This operation creates a new integration
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
the integration information
Integration created