# Raise a notification

Sends one of the workspace's OWN notification types to the recipients named, with a title and a body. Specter's own types are refused: those mean something the service vouches for, and a hand-raised one would make the feed unciteable. Admin only.

Access class: `workspace:admin`.

## Endpoint

`POST /v1/notification-types/{key}/raise`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "body": "string",
    "recipients": [
      1
    ],
    "title": "string"
  },
  "params": {
    ":key": "string"
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
