LegacyNotificationsBroadcast

Send a broadcast notification across the site or topic (legacy / deprecated)

Post a broadcast message to all users (even the non-authenticated ones). Also, this endpoint can send broadcast messages to users who subscribed to topics, check the body schema for more information. This API is deprecated; please use /v5/notifications/{section_uuid}/broadcast instead

post/v4/notifications/{section_uuid}/broadcasts

Request

  • Base URL
    https://notifications.viafoura.co
  • URL
    https://notifications.viafoura.co/v4/notifications/{section_uuid}/broadcasts
  • Auth
    • HTTP basic
    • or HTTP bearer

Path parameters

section_uuidstring uuid required

Request body

titlestring required

The title of the broadcast.

descriptionstring required

The description of the broadcast.

image_urlstring required

The url of the image that will be displayed.

urlstring required

The url that the user will be redirected to on-click.

push_time_to_liveinteger

The time, in seconds, a push notification should be retained once it has been sent to to Push Service, but not received by the end-user's browser. This can happen when a user's computer is powered off, their browser is not running, or their device does not have access to the internet. Default is 4 weeks. If set to 0, the notification will only be sent to users who can receive it immediately.

topic_idstring

A string to represent the topic id. For site broadcasting, topic_id should not be included. For topic broadcasting, the topic_id must be unique for each topic.

Response

OK

messagestring

Changes

No recorded changes to this operation across all 1 revision of this API.