Events

Issue a single-use SSE connection ticket

Mints a short-lived ticket that the dashboard exchanges for an SSE connection at GET /api/v1/events/stream. Requires Bearer auth. Ticket TTL is 30 seconds; tickets are single-use. Rate limited to 20 ticket mints per minute per credential (issue #339 — an API key is one credential shared by every caller who presents it; a session/OAuth-JWT caller is bucketed per user, not per account).

post/api/v1/events/ticket

Request

  • Base URL: https://api.uptimemonitoring.com
  • URL: https://api.uptimemonitoring.com/api/v1/events/ticket
  • Auth: HTTP bearer

Response

Ticket issued.

ticketstring required

Opaque single-use token, base64url encoded.

expires_ininteger required

Seconds until the ticket expires.

Example response

{
  "expires_in": 30
}

Changes

No recorded changes to this operation across all 1 revision of this API.