---
title: "Create notification"
method: POST
path: "/notifications"
tags: ["Notifications"]
---

# Create notification

`POST /notifications`

## Request

- Base URL: `https://api.c1st.com/api`
- URL: `https://api.c1st.com/api/notifications`
- Auth: HTTP bearer

## Request body

- NotificationCreateRequest
  - `content` ExternalNotification
    - `title` string, required: A headline
    - `message` string: Some text
    - `link` string: An url that will be followed when the notification is clicked. Links inside C1st has the form "/repairs/1234". No url validation is done.
    - `notifiable_id` number: The User Id to be notified. If not set, all store users that are configured to receive external notifications will be notified.

## Response `200`

Created

- NotificationCreateResponse
  - `content` object
    - `receivers` integer: Number of found receivers of the notification

---

[API](https://skmtc.dev/c1st/apis/customers-1st-api.md) - [All operations](https://skmtc.dev/c1st/apis/customers-1st-api/llms.txt) - [OpenAPI document](https://skmtc.dev/c1st/apis/customers-1st-api/revisions/4250bb326f2a?raw)
