Skip to main content
GET
/
subscriptions
/
{watchlistId}
Get subscriptions
curl --request GET \
  --url https://api.nevua.markets/subscriptions/{watchlistId} \
  --header 'Authorization: Bearer <token>'
{
"subscriptions": [
{
"subscriptionId": "507f191e810c19729de860ea",
"watchlistId": "507f191e810c19729de860eb",
"watchlistName": "My Watchlist",
"subscriptionScope": "Watchlist",
"subscriptionTypeConfig": {
"type": "Crossing",
"config": {
"params": {
"threshold_percent": 50
}
}
},
"createdAt": "2023-01-01T00:00:00Z",
"expiresAt": null,
"status": {
"enabled": true,
"reason": "Created"
},
"triggerType": "Recurring",
"triggerInterval": "30m",
"triggerCount": 0,
"lastTriggeredAt": null,
"channels": [
{
"type": "Webhook",
"settings": {
"webhookUrl": "https://example.com/webhook"
}
}
]
}
]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

watchlistId
string

Optional watchlist ID to filter subscriptions. If not provided, returns all user subscriptions.

Response

Subscriptions retrieved successfully

subscriptions
object[]
required