Connected sessions
Bind sessions you own to dedicated 1:1 mobile contexts (FullPool) to publish, manage comments and DMs, and host LIVE. Growth and Scale.
How it works
Each connected account runs on its own FullPool context: one device, pinned to one city, with the client it was bound with. High-level /v1/account/* calls run on that context, and the gateway keeps the session state consistent around each action (token refreshes, the right device and region), so one API call is one action.
Bind a session
Import a session you exported from your own device with POST /v1/account/import, or sign in with a one-time email code (/v1/account/login/otp/send, then /verify). Pass device_id to bind to a device you already provisioned, or os, app_flavour, app_version, region and city to provision one.
| Action | Endpoint | Cost |
|---|---|---|
| Import session | POST /v1/account/import | 25 cr |
| Email sign-in: send code | POST /v1/account/login/otp/send | 25 cr |
| Email sign-in: verify code | POST /v1/account/login/otp/verify | 25 cr |
| Refresh session | POST /v1/account/session | 25 cr |
| Session health | GET /v1/account/health | 15 cr |
Publish in one call
POST /v1/account/upload/video takes the media and every post setting in one request. The gateway gets the upload authorization, transfers the file in chunks, runs the media precheck and creates the post. Send multipart/form-data with a file, or JSON with video_url or video_base64.
curl -X POST https://api.tikultra.com/v1/account/upload/video \
-H "x-api-key: $TIKULTRA_KEY" \
-F "[email protected]" \
-F "account_id=acc_7Hq2" \
-F "caption=Launch film" \
-F "hashtags=keyboards" \
-F "visibility=public" \
-F "allow_comment=true" \
-F "allow_duet=true" \
-F "allow_stitch=true" \
-F "cover_timestamp_ms=1200"Settings: caption, hashtags, mentions, visibility, allow_comment, allow_duet, allow_stitch, allow_download, cover_timestamp_ms, poi_id, music_id, schedule_time, aigc_generated, shop_product_ids. Slideshows work the same way with files[] or images.
Everything else
| Action | Endpoint | Cost |
|---|---|---|
| Update profile | POST /v1/account/profile/update | 25 cr |
| Change username | POST /v1/account/profile/username | 25 cr |
| Privacy settings | POST /v1/account/profile/privacy | 25 cr |
| Post comment | POST /v1/account/comment | 25 cr |
| Delete comment | POST /v1/account/comment/delete | 15 cr |
| Inbox | GET /v1/account/dm/inbox | 20 cr |
| Send message | POST /v1/account/dm/send | 35 cr |
| Conversations | GET /v1/account/dm/conversation/list | 20 cr |
| Start LIVE | POST /v1/account/live/start | 100 cr |
| Moderate LIVE | POST /v1/account/live/moderate | 20 cr |
| End LIVE | POST /v1/account/live/finish | 15 cr |
| Cart | GET /v1/account/shop/cart | 25 cr |
Manage sessions
See every connected account, its bound device, health and last 24 hours of activity in Connected accounts, and the devices themselves in Devices. Removing a session stops it immediately.