Skip to main content
POST
`POST /v1/me/subs` — create (or re-activate) an alert subscription for an asset at a bps threshold. Idempotent on (asset, threshold, channel).

Authorizations

Authorization
string
header
required

Session JWT issued by POST /v1/auth/telegram (Telegram Login Widget) or POST /v1/auth/magic/consume. Send as Authorization: Bearer <jwt>.

Body

application/json
asset
string
required
threshold_bps
integer<int32>
required
channel
string

Response

Subscription created or re-activated

asset
string
required
channel
string
required
created_at
string<date-time>
required
id
integer<int64>
required
is_active
boolean
required
threshold_bps
integer<int32>
required
last_fired_at
string<date-time> | null