Skip to main content
GET
/
api
/
v1
/
notifications
List Notifications
curl --request GET \
  --url https://roughy-api-staging.fly.dev/api/v1/notifications \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "created_at": "2026-05-02T08:55:11.452000Z",
      "id": "019de7f7-9852-7461-b340-80de9b630697",
      "payload": {
        "credits_granted": 5000,
        "current_period_end": "2026-06-02T00:00:00Z",
        "plan_name": "Starter"
      },
      "type": "subscription_activated"
    },
    {
      "created_at": "2026-05-02T08:58:14.331000Z",
      "id": "019de7f7-3a52-74d1-9eeb-323e0bfb7bb9",
      "payload": {
        "credits_consumed": 415,
        "pipeline_id": "019de810-1a87-72cc-b8bf-f9132aa07e91"
      },
      "read_at": "2026-05-02T08:59:02.118000Z",
      "type": "pipeline_completed"
    }
  ],
  "limit": 20,
  "offset": 0,
  "total": 2
}

Documentation Index

Fetch the complete documentation index at: https://docs.roughy.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Either your Supabase session JWT (UI flows) or an API key minted via POST /api-keys (programmatic flows). Pass it as Authorization: Bearer <token>. The server inspects the token format and routes to JWT or API-key verification automatically.

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0
unread_only
boolean
default:false

If true, return only unread.

Response

Successful Response

items
NotificationListItem · object[]
required
total
integer
required
limit
integer
required
offset
integer
required