Subscribe to Note changes
GET
/api/v1/notes/events
const url = 'https://example.com/api/v1/notes/events';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://example.com/api/v1/notes/events \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope. It sends Note change notifications as an event stream. It returns 429 when the stream limit is reached. Route: /api/v1/notes/events. Inputs: Last-Event-ID. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”Last-Event-ID
string
Responses
Section titled “Responses”User-scoped Note change stream (text/event-stream)
Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}