---
title: "Subscription Fetch"
method: GET
path: "/api/subscription/{id}"
tags: ["Subscription"]
---

# Subscription Fetch

`GET /api/subscription/{id}`

## Request

- Base URL: `https://api.lytics.io`
- URL: `https://api.lytics.io/api/subscription/{id}`
- Auth: API key in header `Authorization`

Get a single Subscription Webhook.

## Path parameters

- `id` string, required

## Query parameters

- `account_id` string

## Response `200`

OK

- SubscriptionModel
  - `data` object
    - `id` string
    - `segment_ids` string[]
    - `segmentql` string
    - `description` string
    - `name` string
    - `updated` string
    - `created` string
    - `user_id` string
    - `account_id` string
    - `workflow` string

---

[API](https://skmtc.dev/lytics/apis/v1-lytics-api.md) - [All operations](https://skmtc.dev/lytics/apis/v1-lytics-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lytics/apis/v1-lytics-api/revisions/339fd1d88486?raw)
