SuperdindaDocs
Consents

This phone's pairing events (public SSE)

GET
/consent-requests/{token}/events

Server-Sent Events, authenticated by the link itself. Each event: event frame's data is { type, occurredAt, pairing } where pairing is the whole PublicPairing after the change — replace the page's state with it. Types: pairing.started, pairing.challenge (a new code), pairing.status, pairing.paired, pairing.ended. id is the stream position for Last-Event-ID. A ping every 5s. Same gates as POST …/pairing.

Path Parameters

token*string

the opaque token from the link

Length16 <= length <= 4096

Query Parameters

since?string

resume after this stream id (also honored as the Last-Event-ID header); absent = only what happens from now

Match^\d+-\d+$

Response Body

text/event-stream

Example Request
curl -X GET 'http://localhost:3000/consent-requests/stringstringstri/events'
Example Response
Empty