API ReferenceNotifications
Create and publish a notification
Authorization
bearer AuthorizationBearer <token>
In: header
Path Parameters
factoryId*string
Factory ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
curl -X POST "https://api.xentr.ai/api/factories/string/notifications" \ -H "Content-Type: application/json" \ -d '{ "userId": "a1b2c3d4-1111-2222-3333-444455556666", "type": "idle_alert", "title": "Machine idle for 15 minutes", "message": "CNC-001 has been idle since 14:05. Check on the operator." }'Empty