Skip to content
Anlyon
Esc
↑↓navigate↵open⌘Jpreview

List topic subscriptions

GET/api/v2/events/topics/{ref}/subscriptions
Authorization
AuthorizationBearer token (Anlyon API key) · headerrequired

Workspace API key sent as Authorization: Bearer <key>.

or
better-auth.session_tokenAPI key · cookierequired

Browser session used by dashboard-only operations.

Path parameters
refstringrequired

Public topic ID (top_...) or topic name. Using anlyon on create lazily creates the reserved topic.

min length 1 · max length 100
Header parameters
X-Request-Idstring

Optional caller correlation ID. Unsafe or oversized values are replaced.

max length 128
Responses
200

Event subscriptions returned without signing secrets.

successbooleanrequired
Allowed:true
dataEventSubscription[]required
Show properties
Array of EventSubscription
idstringrequired
matches ^sub_
urlstring<uri>required
eventTypesEventTypePattern[]required
enabledbooleanrequired
hasCustomSecretbooleanrequired
headersEventHeaders | nullrequired
Show properties
Any of:
EventHeaders
object
null
null
createdAtstring<date-time>required
updatedAtstring<date-time>required
401

Unauthorized - Invalid or missing API key

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
403

Authenticated credential lacks the required scope or workspace access.

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
404

Not Found - Resource does not exist

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
429

Too Many Requests - Rate limit exceeded

successbooleanrequired
requestIdstringrequired

Correlation ID matching the X-Request-Id response header.

errorobjectrequired
Show properties
codestring
messagestring
detailsobject
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://api.anlyon.com/api/v2/events/topics/string/subscriptions' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "success": true,
  "data": [
    {
      "id": "string",
      "url": "http://example.com",
      "eventTypes": [
        "memory.*"
      ],
      "enabled": true,
      "hasCustomSecret": true,
      "headers": {
        "property1": "string",
        "property2": "string"
      },
      "createdAt": "2019-08-24T14:15:22Z",
      "updatedAt": "2019-08-24T14:15:22Z"
    }
  ]
}