Stream public events by slug
GET
/public/events/stream/trigger/{slug}
const url = 'https://localhost:3000/api/v1/public/events/stream/trigger/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:3000/api/v1/public/events/stream/trigger/exampleOpens an SSE connection to receive the events of a public trigger by its slug
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
string
Trigger slug
Responses
Section titled “Responses”SSE stream
Media typetext/event-stream
string
Slug invalide
Media typetext/event-stream
object
error
required
string
Example
invalid_requestmessage
string
Example
Invalid request bodyTrigger not found or not public
Media typetext/event-stream
object
error
required
string
Example
invalid_requestmessage
string
Example
Invalid request bodyToo many connections
Media typetext/event-stream
object
error
required
string
Example
invalid_requestmessage
string
Example
Invalid request body