SnozeDevelopers
API referenceAdmin billing

List Polar subscriptions not linked to a workspace

Returns the Polar subscriptions that exist upstream but are not yet attached to a Snoze workspace, joined with the plan each product maps to. Used for the migration flow. Platform admins only.

GET
/v1/admin/billing/migratable

Authorization

apiKey
headerAuthorizationBearer <snoze_sk_…>

Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.

Response Body

Success

application/json
  1. response
data*array<>
Example Request
curl -X GET 'https://api.snoze.dev/v1/admin/billing/migratable'
Example Response
{  "data": [    {      "subscriptionId": "string",      "customerId": "string",      "customerEmail": "string",      "productId": "string",      "productName": "string",      "plan": "free",      "status": "string",      "amountCents": 0,      "currency": "string",      "currentPeriodEnd": "string"    }  ]}