Account (me)
Profile, preferences, personal tokens, notifications and the user's own data.
| Método | Path | Resumo | Access |
|---|---|---|---|
| GET | /api/me | Devolve user_id do JWT (probe do auth) | Signed in |
| GET | /me | Sonda de sessão do AuthGate do webmail | Signed in |
| GET | /me/analytics | Agrega contadores read-only para o dashboard /me/analytics. | Signed in |
| GET | /me/api-tokens | Lista os personal API tokens do caller (sem hash/secret). | Signed in |
| POST | /me/api-tokens | Crypto/rand para o body base62. | Signed in |
| DELETE | /me/api-tokens/{tokenID} | Faz soft-revoke (revoked_at = now()) de um token do caller. | Signed in |
| DELETE | /me/comments/{id} | Soft-deleta um comentário do caller. | Signed in |
| PATCH | /me/comments/{id} | Atualiza o body de um comentário do caller. | Signed in |
| GET | /me/companies | Handles GET /me/companies — returns every company the caller is a member of via `company_memberships`. | Signed in |
| GET | /me/favorites | Devolve TODOS os favorites do user em qualquer team onde ele tem membership ativa, agrupados/ordenados por team_name e position. | Signed in |
| DELETE | /me/gdpr/{id} | Allows the requester to pull back a request they queued *before* the worker picks it up. | Signed in |
| POST | /me/gdpr/delete | Enfileira um pedido de exclusão de conta com janela de carência de 14 dias (GracePeriod). | Signed in |
| GET | /me/gdpr/download/{id} | Is the Fase 96 download endpoint. | Signed in |
| POST | /me/gdpr/export | Enfileira um pedido de exportação de dados pessoais. | Signed in |
| GET | /me/gdpr/exports/{id}/download | Streams the completed export bundle to the caller. | Signed in |
| GET | /me/gdpr/requests | Devolve os últimos 100 pedidos GDPR do usuário autenticado (exports + deletes, mais recentes primeiro). | Signed in |
| GET | /me/gdpr/requests/{id} | Returns a single request by id (owner-scoped). | Signed in |
| POST | /me/gdpr/requests/{id}/cancel | Allows the requester to pull back a request they queued *before* the worker picks it up. | Signed in |
| GET | /me/hub | GET /me/hub — devolve o payload consolidado (com cache 30s). | Signed in |
| GET | /me/hub/activity | GET /me/hub/activity?limit=N — feed de atividade paginado. | Signed in |
| GET | /me/hub/finances | GET /me/hub/finances — widget financeiro (contas a pagar). | Signed in |
| GET | /me/hub/layout | GET /me/hub/layout — devolve widgets persistidos ou default. | Signed in |
| PUT | /me/hub/layout | PUT /me/hub/layout — sobrescreve widgets do usuário e invalida cache. | Signed in |
| GET | /me/hub/mail | GET /me/hub/mail — widget mail unread. | Signed in |
| GET | /me/hub/tasks | Widget de tarefas do Hub (overdue/today/week + no_due paginado) | Signed in |
| GET | /me/hub/today | GET /me/hub/today — widget agenda de hoje. | Signed in |
| GET | /me/hub/weekly-progress | 7 dias de conclusões + streak atual, envelopado em `items` como os outros sub-endpoints de widget. | Signed in |
| GET | /me/notification-prefs | GET /me/notification-prefs | Signed in |
| PUT | /me/notification-prefs | Aplica PATCH parcial nas prefs cross-surface. | Signed in |
| GET | /me/notifications | Lista notificações cross-team do caller. | Signed in |
| POST | /me/notifications/{notificationID}/read | Marca uma notificação individual como lida. | Signed in |
| GET | /me/notifications/prefs | Devolve o global default + todas as overrides do user. | Signed in |
| PUT | /me/notifications/prefs/channels/{channelId} | Grava um override per-canal. | Signed in |
| PUT | /me/notifications/prefs/global | Grava o default global. | Signed in |
| POST | /me/notifications/read-all | Marca em massa todas as não-lidas do caller. | Signed in |
| GET | /me/notifications/unread-count | Devolve a contagem cross-team de not-lidas. | Signed in |
| GET | /me/personal-notification-prefs | Devolve as prefs de reminders de personal_tasks (push/email/whatsapp + digest_daily + janela quiet_hours). | Signed in |
| PATCH | /me/personal-notification-prefs | Aplica PATCH parcial. | Signed in |
| GET | /me/profile | GET /me/profile | Signed in |
| PATCH | /me/profile | Aplica PATCH parcial em users (name, avatar_url, preferred_locale, tz, bio). | Signed in |
| GET | /me/summary | Responde o agregado cross-team do caller. | Signed in |