Get the signed-in user and memberships
Source: OpenAPI (openapi/openapi.yaml).
curl -X GET "https://api.sendtier.example/me" \ -H "Authorization: Bearer st_live_REPLACE_ME"{ "user": { "id": "string", "email": "string" }, "memberships": [ { "tenant": { "id": "string", "name": "string" }, "role": "owner" } ]}Creates the user on first use and refreshes their email from the verified token.
dashboardTokenAuthorizationBearer <token>Dashboard server token: EdDSA Ed25519, issuer is the dashboard origin, audience sendtier-api, iat and exp are required with a maximum lifetime of 15 minutes, sub is the identity subject, email is required. Sendtier-Tenant selects a membership; omission selects the sole membership. Without a selected tenant only GET /me and POST /organizations are available. Sendtier-Mode is live (default) or test; test mode cannot create live keys. Owners, admins and developers have full access. Viewers may only GET or HEAD.
Signed-in user.
application/json- response
user*memberships*array<>