Kaneo Logo
Notifications

Create Notification

Create a new notification for a user

POST
/notification

Authorization

bearerAuth
AuthorizationBearer <token>

API Key authentication

In: header

Request Body

application/json

userId*string
title*string
message*string
type*string
relatedEntityId?string
relatedEntityType?string

Response Body

application/json

curl -X POST "https://cloud.kaneo.app/api/notification" \  -H "Content-Type: application/json" \  -d '{    "userId": "string",    "title": "string",    "message": "string",    "type": "string"  }'
{
  "id": "string",
  "userId": "string",
  "title": "string",
  "content": "string",
  "type": "info",
  "isRead": true,
  "resourceId": "string",
  "resourceType": "task",
  "createdAt": null
}