---
title: "List this tenant's federation subscriptions"
method: GET
path: "/api/federation/subscriptions"
tags: ["Federation"]
---

# List this tenant's federation subscriptions

`GET /api/federation/subscriptions`

## Request

- Base URL: `http://localhost:38200`
- URL: `http://localhost:38200/api/federation/subscriptions`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `token`

## Response `200`

Subscription list.

- object
  - `results` FederationSubscription[]
    - `id` integer
    - `tenantId` integer
    - `name` string
    - `sourceInstanceUrl` string
    - `remoteWorkspace` string
    - `shadowWorkspaceId` integer
    - `signingKeyId` string, nullable
    - `signingPubkey` string, nullable
    - `cursor` string, date-time, nullable
    - `pollIntervalMinutes` integer
    - `status` 'active' | 'paused' | 'revoked'
    - `webhookSecret` string, nullable
    - `lastSyncedAt` string, date-time, nullable
    - `lastSyncStatus` string, nullable
    - `lastSyncError` string, nullable
    - `lastSyncStats` object, nullable
    - `createdByUserId` integer, nullable
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `total` integer

## Other responses

- `401`: Missing or invalid credentials.
- `403`: The caller has no resolvable tenant context.

---

[API](https://skmtc.dev/contextq/apis/contextq-api.md) · [All operations](https://skmtc.dev/contextq/apis/contextq-api/llms.txt) · [OpenAPI document](https://skmtc.dev/contextq/apis/contextq-api/revisions/7afc44056a22?raw)
