List sources
curl "https://api.summerbase.com/v1/sources" \ -H "Authorization: Bearer sb_..."const response = await fetch("https://api.summerbase.com/v1/sources", { headers: { Authorization: "Bearer sb_...", },})const data = await response.json()The sources of the project you are working in. Send Summerbase-Project;
there is no listing across projects.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”The order: a key, - before it for descending, commas between up to 3 keys — -created_at, name, -mrr,name. The keys are created_at, name, slug, priority. Text sorts ignoring case; a record with no value for the key comes last, whichever way the list runs.
The order.
How many records to return, 1 to 100. Defaults to 20.
The next_cursor of the previous page, to read the page after it.
Whether to add total_count, how many records match altogether. On the first page only: it is the same number on every page of one list, so keep the first page’s, and it is refused beside a cursor.
Response
Section titled “Response”Returns a list of source objects, a page at a time. See Pagination.
Example
{ "data": [ { "connected_at": "2025-09-08T14:10:05Z", "created_at": "2025-09-08T14:09:47Z", "id": "0198f1a3-0b7c-7e25-9f41-6a2d8c3e5b19", "import_failed_at": null, "import_progress": null, "import_started_at": null, "import_step": null, "imported_at": "2025-09-08T14:26:51Z", "name": "Stripe", "object": "source", "priority": 2, "project_id": "0198f1a2-6c52-7b18-8e3f-2a9c4d6b1e07", "provider_account_id": "acct_1QfR3sT8uVw2XyZa", "provider_code": "stripe", "sandbox": false, "slug": "stripe", "webhook_installed_at": "2025-09-08T14:10:06Z", "webhook_url": "https://api.summerbase.com/webhooks/stripe/0198f1a3-0b7c-7e25-9f41-6a2d8c3e5b19?c=us1" } ], "has_more": false, "next_cursor": null, "object": "list", "total_count": 1}