Account-wide Server-Sent Events: pouch events + account events (roster, revoke, …)
GET
/v1/events/stream
const url = 'https://app.skillpouch.net/v1/events/stream';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://app.skillpouch.net/v1/events/streamResume with ?cursors=<pouch_id>:<seq>,… or the Last-Event-ID header (same format). Frames: pouch_event, account, reconnect, revoked.
Responses
Section titled “Responses”Default Response