cURL
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" } }
Set which notifications to receive from a strategy.
User API token.
Strategy ID.
Which notification types to receive.
trade
post
stock_event
Request was successful.