Skip to main content
POST
/
projects
/
{project_id}
/
notifications
Create a new project notification
curl --request POST \
  --url https://platform.versori.com/api/v2/projects/{project_id}/notifications \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channel_id": "<string>",
  "environment_id": "<string>",
  "name": "<string>"
}
'
{
  "id": "<string>",
  "project_id": "<string>",
  "environment_id": "<string>",
  "channel_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "name": "<string>",
  "channelName": "<string>",
  "config": {
    "email": {
      "to": "<string>",
      "cc": [
        "<string>"
      ]
    }
  },
  "type": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.versori.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication used by the Versori Platform. External consumers must provide an API key, however internal consumers must provide a JWT id_token issued by our IdP.

Path Parameters

project_id
string<ulid>
required

Body

application/json
channel_id
string<ulid>
required
environment_id
string<ulid>
required
name
string
required

Response

201 - application/json

Project notification created successfully

id
string<ulid>
required
project_id
string<ulid>
required
environment_id
string<ulid>
required
channel_id
string<ulid>
required
created_at
string<date-time>
required
name
string
required
channelName
string
required
config
object
required
type
string