APIAccount & operationsMe
List the caller's notification subscriptions
Phase 3.3. Returns the events the authenticated user is opted into for their current company (`[{event_name}]`).
Authorization
bearerAuth AuthorizationBearer <token>
Supabase JWT bearer token for dashboard / user-scoped endpoints. Role-derived scopes: ROOT/ADMIN → full admin; USER → read-only treasury.
In: header
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://loading/v1/auth/me/notification-subscriptions"{
"success": true,
"timestamp": "2019-08-24T14:15:22Z",
"data": null,
"message": "string",
"pagination": {
"total": 0,
"limit": 1,
"offset": 0,
"has_more": true,
"cursors": {
"first": "string",
"last": "string"
}
}
}{
"success": false,
"timestamp": "2019-08-24T14:15:22Z",
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"success": false,
"timestamp": "2019-08-24T14:15:22Z",
"error": {
"code": "string",
"message": "string",
"details": null
}
}{
"success": false,
"timestamp": "2019-08-24T14:15:22Z",
"error": {
"code": "string",
"message": "string",
"details": null
}
}List active login sessions
Returns all active login sessions for the authenticated user. Automatically registers the current session with device/IP metadata. The current session is flagged with is_current: true.
Replace the caller's notification subscriptions
Phase 3.3. Body: `{events: string[]}`. Replaces the entire subscription set for the caller against their current company.