Skip to Content
CloudAPI 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: monitoring:read
  • Query parameters: limit, page, read, unreadOnly
  • Shared pagination: Yes
  • Response keys observed across outcomes: channels, data, notifications, pagination, unreadCount

POST

  • Resource scopes: monitoring:write
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: action, dispatchedAt, ids, markedCount, markedReadId, ok, preferences, updatedAt

These tables describe the validated form after the server normalizes the submitted input. Include the shown discriminator explicitly to select an alternative; the server may also accept omitted or aliased fields according to its route-specific normalization.

Provide one of these observed alternatives; additional validation may apply.

Payload alternative 1

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
actionenumNoNomark_read, mark_all_read—
idstringYesNo——
idsarrayYesNo——
markAllbooleanYesNo—default(false)

Payload alternative 2

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
actionenumNoNotest_channel, send—
titlestringYesNo—min(1), max(200), default("Altovar Cloud Alert Channel Test")
messagestringYesNo—min(1), max(2000)
bodystringYesNo—min(1), max(2000)
channelstringYesNo——
linkstringYesNo—default("/dashboard/cloud")

Payload alternative 3

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
actionliteralNoNoupdate_preferences—
preferencesobjectYesNo——
channelstringYesNo——
categorystringYesNo——
enabledbooleanYesNo——