Skip to main content
POST
/
v1
/
admin
/
notifications
/
staff
/
{staffId}
/
send
Send notification to staff
curl --request POST \
  --url http://localhost:3000/v1/admin/notifications/staff/{staffId}/send \
  --header 'Content-Type: application/json' \
  --data '
{
  "title": "<string>",
  "body": "<string>",
  "type": "system",
  "data": {},
  "skipPreferenceCheck": false
}
'
{
  "success": true,
  "sentCount": 123,
  "failedCount": 123,
  "errors": [
    "<string>"
  ]
}

Path Parameters

staffId
string<uuid>
required

Body

application/json
title
string
required
body
string
required
type
string
default:system
data
object
skipPreferenceCheck
boolean
default:false

Response

200 - application/json

Notification send result

success
boolean
required
sentCount
number
required
failedCount
number
required
errors
string[]
required