List notifications

View as Markdown

Returns the caller’s notifications (newest first) with a pagination cursor. Scoped to the caller’s own user id.

Authentication

AuthorizationBearer

WorkOS session JWT or an organization API key, sent as Authorization: Bearer <token>.

Query parameters

limitintegerOptional
cursorstringOptional
unreadOnlybooleanOptional

Response

The caller's notifications and next cursor.
notificationslist of maps from strings to any
nextCursorstring or null

Errors

401
Unauthorized Error