---
title: "Add Alerting profile"
method: POST
path: "/api/v1/alertingprofiles/create"
tags: ["Alerting Profiles"]
---

# Add Alerting profile

`POST /api/v1/alertingprofiles/create`

## Request body

- CreateAlertingProfileCommand
  - `name` string, nullable
  - `slackConfigurationId` integer, nullable
  - `organizationId` integer, nullable
  - `emails` AlertingEmailDto[], nullable
    - `email` string, nullable, required
  - `webhooks` AlertingWebhookDto[], nullable
    - `id` integer
    - `url` string, nullable
    - `headers` WebhookHeaderDto[], nullable
      - `id` integer
      - `key` string, nullable
      - `value` string, nullable
  - `alertingIntegrations` AlertingIntegrationDto[], nullable
    - `url` string, required
    - `token` string, nullable, required
    - `alertingIntegrationType` 'Opsgenie' | 'Pagerduty' | 'Splunk' | 'MicrosoftTeams', required
  - `reminder` 'HalfHour' | 'Hourly' | 'Daily' | 'None'

## Response `200`

OK

- ApiResponse
  - `id` string, nullable
  - `status` integer
  - `message` string, nullable
  - `isError` boolean
  - `result` unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/taikun/apis/taikun-webapi.md) · [All operations](https://skmtc.dev/taikun/apis/taikun-webapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taikun/taikun-webapi/revisions/09395964d191/schema)
