Skip to Content
Sign in

Get the signed-in Member

GET
/me

Authorization

headerAuthorizationBearer <token>

qlt_… Access token (kind api)

Response Body

OK

application/json
  1. response
member_id*string
email*string
name?string|null
accounts*array<>
Example Request
curl -X GET 'https://tiltas.openpanel.sh/api/v1/me'
Example Response200
{  "member_id": "string",  "email": "string",  "name": "string",  "accounts": [    {      "id": "string",      "name": "string",      "role": "owner"    }  ]}

Get a Device sign-in GET

What the approval page shows. Opening a code binds it to this browser (cookie `ql_signin`); another browser gets 409 opened_elsewhere and counts as a view, and after 5 views the code locks (status locked). Call it once when the page opens; the bound browser may call it again without counting. Send `prefilled=true` when the page took the code from the link's fragment: such a code can be approved for 5 minutes after the Device asked (`expires_at`), a typed one for 10. `requested_from.ip` is shown only when the browser is on the same network as the Device; otherwise only the country (when the proxy in front reports it). `one_click` true: show Approve without the warning. Otherwise, with a `loopback_port`, fetch the proof (`GET http://127.0.0.1:<loopback_port>/tiltas/sign-in-proof` → `{"nonce"}`) and send it as `loopback_nonce`; failing that show the warning, send `confirm_different_network`, and if `session_fresh` is false send the person through sign-in again first (`return_to=/connect#code=…`). 409 partner_sign_in for a Partner sign-in.

Get Session GET

Whether this browser is signed in. Always 200, so the site can pick "Sign in" or "Open the console" without an error. For the signed-in redirect: Sign in and Get started on the site send a signed-in person straight to `redirect_to` (`/app`). Every sign-in also sets a non-secret hint cookie, `ql_signed_in=1` (`__Host-ql_signed_in` over HTTPS; Path=/, SameSite=Lax, not HttpOnly), with the session's lifetime, so the site's server and the web proxy can redirect before rendering. The hint is never proof: `/app` checks the session itself. When the session is gone, this call clears the hint.