Skip to main content
GET
/
api
/
stratus
/
subscriptions
/
{id}
Get subscription by id
curl --request GET \
  --url https://admin.snagsolutions.io/api/stratus/subscriptions/{id} \
  --header 'X-API-KEY: <api-key>'
{
  "name": "<string>",
  "websiteId": "<string>",
  "organizationId": "<string>",
  "callbackUrl": "<string>",
  "id": "<string>",
  "signingKey": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "deletedAt": "2023-11-07T05:31:56Z",
  "functionIds": [
    "<string>"
  ],
  "metadata": null,
  "startsAt": "<string>",
  "endsAt": "<string>",
  "disabled": true,
  "disabledAt": "2023-11-07T05:31:56Z",
  "disabledReason": "<string>",
  "consecutiveFailures": 123,
  "blockchainSubscriptions": [
    {
      "id": "<string>",
      "chainId": 123,
      "contractAddress": "<string>",
      "eventSelector": "<string>",
      "eventAbi": "<string>",
      "functionAbi": "<string>",
      "fromBlock": "<string>",
      "createdAtBlock": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "snagSubscriptions": [
    {
      "id": "<string>",
      "table": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z",
      "deletedAt": "2023-11-07T05:31:56Z"
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.snagsolutions.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Response

200

name
string
required
websiteId
string
required
organizationId
string
required
callbackUrl
string | null
required
id
string
required
signingKey
string | null
required
createdAt
string<date-time>
required
updatedAt
string<date-time>
required
deletedAt
string<date-time> | null
required
functionIds
string[]
metadata
unknown
startsAt
string
endsAt
string
version
enum<string>
Available options:
v1,
v2
disabled
boolean
disabledAt
string<date-time> | null
disabledReason
string | null
consecutiveFailures
number
blockchainSubscriptions
object[]
snagSubscriptions
object[]