Notifly
API ReferenceEvents

Broadcast event to all

Trigger a broadcast event to all existing subscribers, could be used to send announcements, etc. In the future could be used to trigger events to a subset of subscribers based on defined filters.

POST
/v1/events/trigger/broadcast

Trigger a broadcast event to all existing subscribers, could be used to send announcements, etc. In the future could be used to trigger events to a subset of subscribers based on defined filters.

Authorization

secretKey
Authorization<token>

API key authentication. Allowed headers-- "Authorization: ApiKey <secret_key>".

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/events/trigger/broadcast" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "payload": {      "comment_id": "string",      "post": {        "text": "string"      }    }  }'
{  "data": {    "acknowledged": true,    "status": "error",    "error": [      "string"    ],    "transactionId": "string",    "activityFeedLink": "string",    "jobData": {}  }}