---
title: "Create a new 'AppNotificationSetting' entity"
method: POST
path: "/app-notification-setting"
tags: ["AppNotificationSetting"]
---

# Create a new 'AppNotificationSetting' entity

`POST /app-notification-setting`

## Request

- Base URL: `https://app.testiny.io/api/v1`
- URL: `https://app.testiny.io/api/v1/app-notification-setting`
- Auth: API key in header `X-Api-Key`
- TypeScript: <https://skmtc.dev/testiny/apis/testiny-api/docs/app-notification-setting/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates a new 'AppNotificationSetting' entity. Returns full entity with new id and (optional) creation metadata.

## Request body

- AppNotificationSetting
  - `id` integer: The unique entity id - must be a positive integer
  - `user_id` integer: The user_id property
  - `project_id` integer: The project_id property
  - `app_ntf_channel_id` integer: The app_ntf_channel_id property
  - `ntf_type` string: The ntf_type property
  - `sub_types` unknown[]: The sub_types property
    - unknown
  - `mode` string: The mode property
  - `enabled` boolean: The enabled property

## Response `200`

Returns a single AppNotificationSetting

- AppNotificationSetting
  - `id` integer: The unique entity id - must be a positive integer
  - `user_id` integer: The user_id property
  - `project_id` integer: The project_id property
  - `app_ntf_channel_id` integer: The app_ntf_channel_id property
  - `ntf_type` string: The ntf_type property
  - `sub_types` unknown[]: The sub_types property
    - unknown
  - `mode` string: The mode property
  - `enabled` boolean: The enabled property

## Other responses

- `4XX`: The request failed because invalid request parameters or data were supplied or access was denied.
- `5XX`: The request failed because an error occurred during processing of the request.

---

[API](https://skmtc.dev/testiny/apis/testiny-api.md) - [All operations](https://skmtc.dev/testiny/apis/testiny-api/llms.txt) - [OpenAPI document](https://skmtc.dev/testiny/apis/testiny-api/revisions/8f7643b2429d?raw)
