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

# POST /notifications/

`POST /notifications/`

## Query parameters

- `format` 'json' | 'xlsx'

## Request body

- Notification
  - `id` string, uuid, required
  - `url` string, uri, required
  - `method` 'app' | 'email' | 'sms', required
  - `task` string, uri, required
  - `template` string, uri, nullable
  - `event` union
    - 'create' | 'assign' | 'unassign' | 'reject' | 'accept' | 'unaccept' | 'transit' | 'activate' | 'complete' | 'fail' | 'cancel' | 'assignee_near' | 'assignee_away' | 'updated'
    - ''
    - unknown
  - `state` union
    - 'unassigned' | 'assigned' | 'accepted' | 'transit' | 'active' | 'completed' | 'failed' | 'cancelled'
    - ''
    - unknown
  - `assignee_proximity` union
    - 'away' | 'near'
    - ''
    - unknown
  - `recipient` union
    - 'account' | 'assignee' | 'orderer' | 'contact' | 'client'
    - ''
    - unknown
  - `emails` string[], nullable
  - `phones` string[]
  - `message` string
  - `add_tracking_link` boolean
  - `sms_count` integer, required
  - `sent_at` string, date-time, nullable
  - `via_app` boolean, required
  - `via_email` boolean, required
  - `via_sms` boolean, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Response `201`

---

[API](https://skmtc.net/oeklo/apis/gsmtasks-project-api.md) · [All operations](https://skmtc.net/oeklo/apis/gsmtasks-project-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/oeklo/gsmtasks-project-api/revisions/2557a8fec764/schema)
