Skip to main content
POST
/
updateStrategySubscriptionNotifications
updateStrategySubscriptionNotifications
curl --request POST \
  --url https://alphainsider.com/api/updateStrategySubscriptionNotifications \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "strategy_id": "<string>",
  "notifications": [
    "trade"
  ]
}
'
{
  "success": true,
  "response": {
    "strategy_id": "WuRnay0CF3P1oPRSdogj5",
    "strategy_owner": "user_1",
    "type": "cryptocurrency",
    "private": false,
    "strategy_value": "1.000000000000000",
    "invoice_id": null,
    "end_date": null,
    "subscription_id": "jdfrmobP81IkbIZybXijj",
    "user_id": "user_1",
    "product_id": "1bRPI9xQHhE23KpAXViKW",
    "input_value": "100000.000000000000000",
    "input_date": "2024-10-22T20:44:42.391Z",
    "input_multiplier": "100000.000000000000000",
    "notifications": [
      "trade",
      "post",
      "stock_event"
    ],
    "renew": true,
    "status": "active",
    "updated_at": "2024-10-23T14:44:03.221Z",
    "created_at": "2024-10-22T20:44:42.391Z"
  }
}

Headers

Authorization
string<JWT>
required

User API token.

Body

application/json
strategy_id
string
required

Strategy ID.

notifications
enum<string>[]
required

Which notification types to receive.

Available options:
trade,
post,
stock_event

Response

Request was successful.