---
title: "List external subscription projections"
description: "GET /admin/v1/workspace-accesses/{accessId}/external-subscriptions — List external subscription projections"
---

> Documentation Index
> Fetch the complete documentation index at: https://nexus.microvoid.io/llms.txt
> Use this file to discover all available pages before exploring further.

# List external subscription projections

## Endpoint

```http
GET /admin/v1/workspace-accesses/{accessId}/external-subscriptions
```

Operation ID: `listExternalSubscriptions`

## Authentication

Send a Nexus Management Key as `Authorization: Bearer <management-key>`. This credential is control-plane only.

## Idempotency

This operation does not declare an `Idempotency-Key` requirement in the accepted OpenAPI contract.

## Request

### Parameters

| Name       | Location | Required | Schema   | Description |
| ---------- | -------- | -------- | -------- | ----------- |
| `accessId` | path     | Yes      | `string` | —           |

### Body

_This operation has no request body._

## Responses

| Status | Description | Content type     | Schema                           |
| ------ | ----------- | ---------------- | -------------------------------- |
| `200`  | —           | application/json | `array<ExternalSubscriptionDto>` |

Only responses explicitly declared by the accepted Admin OpenAPI contract are shown. The current contract does not declare operation-specific error bodies; the SDK preserves any non-success status and body in [`AdminApiError`](/management-sdk/error-handling).

### `200` application/json schema

Type: `array<ExternalSubscriptionDto>`

| Field                       | Required | Type                                                                                               | Description |
| --------------------------- | -------- | -------------------------------------------------------------------------------------------------- | ----------- |
| `[].id`                     | Yes      | `string`                                                                                           | —           |
| `[].billingConnectionId`    | Yes      | `string`                                                                                           | —           |
| `[].workspaceAccessId`      | Yes      | `string`                                                                                           | —           |
| `[].provider`               | Yes      | `string (STRIPE \| CREEM)`                                                                         | —           |
| `[].externalCustomerId`     | No       | `string`                                                                                           | —           |
| `[].externalSubscriptionId` | Yes      | `string`                                                                                           | —           |
| `[].status`                 | Yes      | `string (ACTIVE \| TRIALING \| PAST_DUE \| PAUSED \| CANCELED \| UNPAID \| INCOMPLETE \| UNKNOWN)` | —           |
| `[].periodStart`            | Yes      | `string / date-time`                                                                               | —           |
| `[].periodEnd`              | Yes      | `string / date-time`                                                                               | —           |
| `[].cancelAtPeriodEnd`      | Yes      | `boolean`                                                                                          | —           |
| `[].sourceEventId`          | No       | `string`                                                                                           | —           |
| `[].sourceEventOccurredAt`  | No       | `string / date-time`                                                                               | —           |
| `[].updatedAt`              | Yes      | `string / date-time`                                                                               | —           |

## Examples

### TypeScript Management SDK

`NexusAdminClient.listExternalSubscriptions` uses `AdminOperationInput<"listExternalSubscriptions">` and returns `Promise<AdminOperationOutput<"listExternalSubscriptions">>`.

```ts
import { NexusAdminClient } from '@nexus/sdk-typescript';

const nexus = new NexusAdminClient({
  baseUrl: 'https://nexus.microvoid.io',
  managementKey: process.env.NEXUS_MANAGEMENT_KEY,
});

const result = await nexus.listExternalSubscriptions({
  path: {
    accessId: '533c4e1e-2823-4349-86b9-d6f1a869a2ca',
  },
});
```

### Fetch

```ts
const response = await fetch(
  'https://nexus.microvoid.io/admin/v1/workspace-accesses/533c4e1e-2823-4349-86b9-d6f1a869a2ca/external-subscriptions',
  {
    method: 'GET',
    headers: {
      Authorization: `Bearer ${process.env.NEXUS_MANAGEMENT_KEY}`,
    },
  },
);

if (!response.ok) throw new Error(`Nexus request failed: ${response.status}`);
```

### curl

```bash
curl --request GET \
  "https://nexus.microvoid.io/admin/v1/workspace-accesses/533c4e1e-2823-4349-86b9-d6f1a869a2ca/external-subscriptions" \
  --header "Authorization: Bearer ${NEXUS_MANAGEMENT_KEY}"
```

## Related guide

- [Time boundaries](/docs/give-users-access/time-boundaries)
- [API Reference overview](/api-reference)

Source: https://nexus.microvoid.io/api-reference/admin/billing/list-external-subscriptions/index.mdx
