Notifications

Stream user-visible updates over Server-Sent Events

GET
/api/notifications/events

Authorization

sessionCookie
cookiebetter-auth.session_token<token>

The Better Auth email/password session cookie used by the web application.

Response Body

Response for status 400

application/json
  1. response
error*
Example Request
curl -X GET 'https://postbot.example/api/notifications/events'
Example Response
{
  "error": {
    "code": "string",
    "message": "string"
  }
}

Was this page helpful?