Skip to main content
POST
/
newStrategySubscription
newStrategySubscription
curl --request POST \
  --url https://alphainsider.com/api/newStrategySubscription \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "strategy_id": "<string>"
}
'
{
  "success": true,
  "response": {
    "strategy_id": "YbKCgktxu0ugmQ1QKCfA3",
    "strategy_owner": "user_2",
    "type": "cryptocurrency",
    "private": false,
    "strategy_value": null,
    "invoice_id": null,
    "end_date": null,
    "subscription_id": "420FVMWUaUTJPoHGj9vA3",
    "user_id": "user_1",
    "product_id": "v2GpKx_DDAJva_Josn0bx",
    "input_value": null,
    "input_date": null,
    "input_multiplier": null,
    "notifications": [],
    "renew": true,
    "status": "active",
    "updated_at": "2024-10-22T20:46:49.855Z",
    "created_at": "2024-10-22T20:46:49.855Z"
  }
}

Headers

Authorization
string<JWT>
required

User API token.

Body

application/json
strategy_id
string
required

Strategy ID.

Response

Request was successful.