POST
/
incident
/
{id}
/
note
curl --request POST \
  --url https://api.alerty.ai/incident/{id}/note \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "createdBy": {
    "id": "<string>",
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "emailVerified": true,
    "profilePictureURL": "<string>"
  },
  "content": "<string>"
}'
{
  "id": "5df33a85-2b9c-40e3-8854-760ee3b8efc7",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "createdBy": {
    "id": "<string>",
    "email": "<string>",
    "firstName": "<string>",
    "lastName": "<string>",
    "emailVerified": true,
    "profilePictureURL": "<string>"
  },
  "content": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

the incident identifier

Example:

"5df33a85-2b9c-40e3-8854-760ee3b8efc7"

Body

application/json

the incident note added by the user

id
string
required

Unique identifier for the entity

Example:

"5df33a85-2b9c-40e3-8854-760ee3b8efc7"

createdAt
string
required
updatedAt
string
required
createdBy
object
required
content
string
required

the incident note content

Response

201
application/json
resource created

the incident note added by the user

id
string
required

Unique identifier for the entity

Example:

"5df33a85-2b9c-40e3-8854-760ee3b8efc7"

createdAt
string
required
updatedAt
string
required
createdBy
object
required
content
string
required

the incident note content