Notifly
API ReferenceEvents

Bulk trigger event

Using this endpoint you can trigger multiple events at once, to avoid multiple calls to the API. The bulk API is limited to 100 events per request.

POST
/v1/events/trigger/bulk
  Using this endpoint you can trigger multiple events at once, to avoid multiple calls to the API.  The bulk API is limited to 100 events per request.

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

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