Skip to Content
EquinoxAPI and integrationsPublic M2M APIPublic M2M API — notifications

Public M2M API — notifications

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/notifications

Exported methods: GET, POST

GET

  • Resource scopes: notifications:read
  • Query parameters: category, isRead, limit, page, type
  • Shared pagination: Yes
  • Response keys observed across outcomes: data, pagination, tenantId, unreadCount

POST

  • Resource scopes: notifications:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: invalid_request, notification_operation_failed, onboarding_incomplete
  • Response keys observed across outcomes: data

Send a JSON object. Observed branch requirements: When action=mark_read, provide id; When action=broadcast, provide subject, body; When default create, provide title, message. Other fields and downstream service validation depend on the branch; verify the result.

JSON properties observed: action, actionUrl, body, category, channel, entityId, entityType, id, message, subject, targetIds, targetType, title, type, userId.

These names are read by the handler; they are not a complete schema or a promise that every property applies to every branch. Check the validation messages and operation result.