List your campaigns
Changed onYour campaigns, newest first, keyset-paginated. Pass next_cursor back as ?cursor=; a null next_cursor is the last page.
Request
- Base URLhttps://api.mystars.tg
- AuthAPI key in header X-Api-Key
Query parameters
draft (recipients can be added and are validated) → awaiting_payment (list and price locked by confirm) → paid → running ⇄ paused → settling → completed. Cancelling after payment goes through cancelling → settling → cancelled. awaiting_approval means the settlement owes a reversal that is waiting for review. expired: an unpaid campaign whose payment window ended, or a draft not confirmed within 7 days of its creation (reason: draft_expired). failed: the payment funded no recipient (fully reversed). Terminal: completed, cancelled, expired, failed.
Opaque cursor from a previous page's next_cursor.
Response
A page of campaigns.
Example response
{
"campaigns": [
{
"payment": {
"chain": "ton"
}
}
]
}Changes
- info
endpoint added
- info