POST /api/push/subscriptions
Save this browser's Web Push subscription (the browser's PushSubscription JSON) for the caller. The endpoint must be https on a known push service. Saving a known endpoint moves it to the caller. 503 when Web Push is not configured.
Not available to personal access tokens; call it from a signed-in session.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
endpoint*stringThe push service URL (https, a known push service)
expirationTime?Ignored
keys*{p256dh, auth}, base64url, as the browser gives them
Success
curl -X POST 'http://localhost:7091/api/push/subscriptions' \ -H 'Content-Type: application/json' \ -d '{ "endpoint": "string", "keys": {}}'POST /api/presence POST
Report what one tab shows: sent when its visibility or route changes and every ~20 s while visible. A report counts for 45 s; `closing: true` forgets the tab at once. A user is not notified about a conversation a visible tab of theirs shows. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Get all prompts for the user GET
Get all prompts for the user. [Personal access token](/API/personal-access-tokens) scope: `prompts:read`.