Flush AppLog batch
Encode and flush a TTEncrypt AppLog event batch for a connected session.
- Upstream
/service/2/app_log/- Access
- Growth and up
- Runs on
- FullPool
- Billing
- Failed calls are free
Authorization & parameters
Your API key. Create one in API keys.
Body
Send JSON with content-type: application/json.
A connected account, from /dash/sessions or POST /v1/account/import. For example acc_7Hq2.
AppLog events (launch, video_play, play_time, video_over, stay_out). For example [{"event":"video_play","params":{"group_id":"7705852133855161377"}}].
Client and egress
Executes on the dedicated FullPool mobile context and city-level egress bound to account_id. See Connected sessions.
Response
A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining.
Response fields
Key top-level and nested fields decoded from the mobile upstream payload:
Upstream TikTok mobile status code (0 indicates success).
Connected session identifier bound to a dedicated FullPool mobile context.
Provisioned mobile device identifier.
Decoded events sent value.
Decoded encoding value.
Decoded magic tag value.
Unix timestamp (seconds) for server.
Unique batch identifier.
Errors
Errors return a JSON body with a stable code and cost 0 credits. See Errors and retries.