Subscription

Subscription Fetch

Get a single Subscription Webhook.

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

Path parameters

idstring required

subscription Id in path

Query parameters

account_idstring

Your Lytics account ID.

Response

OK

Example response

{
  "data": {
    "id": "3573009ab39bbc9614f754c0fafd53d7",
    "segment_ids": [
      "f897270369f977294871f21cc0d826e7"
    ],
    "segmentql": "FILTER AND ( score_momentum > 25, score_quantity > 25 ) ALIAS seg_webhook1",
    "description": "hello world",
    "name": "test1",
    "updated": "2016-06-30T15:33:14.376262062-07:00",
    "created": "2016-06-30T15:33:14.37626196-07:00",
    "user_id": "2916b84ba4fa8b510591fd6e1c2320db",
    "account_id": "testid",
    "workflow": "webhook_triggers"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.