Stream public events
GET
/public/events/stream/{id}
const url = 'https://localhost:3000/api/v1/public/events/stream/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/exampleOpens an SSE connection to receive the events of a public trigger
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Trigger ID (UUID)
Responses
Section titled “Responses”SSE stream
Media typetext/event-stream
string
ID 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