Skip to content
中文

Your inbox counts for the notification bell

Code Mode: praxis.organization.notifications.retrieveInbox

HTTP: GET /organization/v1/notifications/inbox

Bell-badge counts for the calling person in the organization behind your credential: notices not yet read and not yet seen. The person is always the credential’s own; the request cannot name another member. Read-only; no usage charge.

Signature

praxis.organization.notifications.retrieveInbox(args?:Record<string,never>):Promise<{/** Notices in the inbox tab that this person has not read. */ unreadCount:number;/** Notices this person has not opened the bell since they arrived. */ unseenCount:number}>;

Responses

StatusContent typesDescription
200application/jsonUnread and unseen counts.
400`INVALID_PARAMS` from the service for a read it cannot answer (RFC 9457 problem).
401Missing or invalid credential (RFC 9457 problem).
502The notification service did not answer, or failed in a way it did not classify (RFC 9457 problem, `UNAVAILABLE`). A refusal the service classifies is never a 502 — it reaches the caller in its own class (400, 403, 404), so a client may act on it.