# GET /v3/search/subscriptions

The organization's subscriptions, newest first, with limits by kind: filter (stored kind filing), firehose and search, each the plan's limit and the active subscriptions. 503 callbacks_unavailable while this server has no callback key file or its database lacks the callback tables.

**API key:** required. See [Authentication](https://www.secblast.com/docs/authentication).

**Group:** [Webhooks (API: callbacks)](https://www.secblast.com/docs/reference#webhooks-api-callbacks)

## Parameters

| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
| `limit` | query | integer | no | `50` | Page size, 1..100 (GET). |
| `cursor` | query | string | no |   | Opaque cursor from a previous page's next_cursor (GET). |

## Responses

| Status | Body | Description |
|---|---|---|
| `200` | [SearchSubscriptionList](https://www.secblast.com/docs/reference/schemas#schema-searchsubscriptionlist) (`application/json`) | OK |
| `400` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Invalid or unknown parameter, or a query error (invalid_query, query_too_complex, prefix_too_broad, negative_only_query, unsupported_operator, invalid_cursor); query errors carry position and length (characters of q). |
| `401` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Missing, invalid or inactive API key (code unauthorized), or a refused access token (code invalid_token: malformed, unknown key, bad signature, expired, wrong issuer or audience, revoked grant). WWW-Authenticate names the protected-resource metadata (RFC 9728). |
| `403` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | The credential's scope does not cover this route (code forbidden). |
| `409` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Conflict with the current state. |
| `503` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Full-text search cannot answer now: search_unavailable (sb_search unreachable or not configured), search_busy (its queue is full), search_timeout (the query hit its time budget), ticker_resolution_unavailable; or the database is unavailable. Retry after the Retry-After delay when one is given. |
| `default` | [Problem](https://www.secblast.com/docs/reference/schemas#schema-problem) (`application/problem+json`) | Any other error (405, 500, 504). |

## Response body

A `200` carries a [SearchSubscriptionList](https://www.secblast.com/docs/reference/schemas#schema-searchsubscriptionlist) object.

| Field | Type | Required | Description |
|---|---|---|---|
| `data` | array of [SearchSubscription](https://www.secblast.com/docs/reference/schemas#schema-searchsubscription) | yes |   |
| `has_more` | boolean | yes |   |
| `limits` | object | yes | By kind: filter (stored kind filing), firehose, search. limit: the plan's (0 without); used: active subscriptions of that kind. |
| `limits.filter` | object | no |   |
| `limits.filter.limit` | integer | no |   |
| `limits.filter.used` | integer | no |   |
| `limits.firehose` | object | no |   |
| `limits.firehose.limit` | integer | no |   |
| `limits.firehose.used` | integer | no |   |
| `limits.search` | object | no |   |
| `limits.search.limit` | integer | no |   |
| `limits.search.used` | integer | no |   |
| `next_cursor` | string \| null | yes |   |

## Example request

```bash
curl -sS -H "Authorization: Bearer $SECBLAST_API_KEY" \
  'https://api.secblast.com/v3/search/subscriptions'
```

[Open this route in the console](https://www.secblast.com/console#get-v3-search-subscriptions)

## More in Webhooks (API: callbacks)

Previous: [`POST /v3/callbacks/endpoints/{id}/verify`](https://www.secblast.com/docs/reference/post-callbacks-endpoints-id-verify) · Next: [`POST /v3/search/subscriptions`](https://www.secblast.com/docs/reference/post-search-subscriptions)
