Skip to main content

UpdatePushNotificationDto

defaultTitlestring
defaultMessagestring
targetstring

Possible values: [ALL, SPECIFIC]

typestring

Possible values: [INSTANT, SCHEDULED]

categorystring

Informative vs. commercial classification — required so the client's consent (pushInformativeEnabled/pushCommercialEnabled) can be checked at send time.

Possible values: [INFORMATIVE, COMMERCIAL]

clients object[]
  • Array [
  • idstringrequired
    titlestring
    messagestring
  • ]
  • scheduleAtstring<date-time>
    UpdatePushNotificationDto
    {
    "defaultTitle": "string",
    "defaultMessage": "string",
    "target": "ALL",
    "type": "INSTANT",
    "category": "INFORMATIVE",
    "clients": [
    {
    "id": "string",
    "title": "string",
    "message": "string"
    }
    ],
    "scheduleAt": "2024-07-29T15:51:28.071Z"
    }

    API news, once a month

    New endpoints, upcoming changes, guides and use cases. No spam, one-click unsubscribe.

    Report a technical problem

    An API error, a pass that does not update, an email that does not arrive? Describe the problem: our technical team will answer.

    For a fast answer, include:

    • The method and endpoint (e.g. POST /clients)
    • The error code returned (errorCode) and the body sent
    • The date and time of the call
    • The identifiers involved (customer, template, pass)

    Never include an API token or a password.

    AI assistant

    Beta

    Loading…

    AI-generated answers (Claude): double-check important details.

    Sign in to use the assistant