Publishing flow
https://api.ailingtu.com
01
Authorize a creator
oauthRegion → url02
Find a creator
id + creatorId03
Select a product
SHOP / SHOWCASE04
Upload media
presign → PUT → confirm05
Create a post
VIDEO / PHOTOAuthentication
x-api-key: <YOUR_API_KEY>
Keep API keys on your server. Never expose them in browser code or logs.
Success condition
HTTP 2xx && response.code === 0
Treat non-2xx responses, invalid JSON, or a non-zero business code as failures.
Machine-readable API descriptions
Use the OpenAPI description as the source for agents, SDK generation, and contract validation.
Integration checklist
Keep id and creatorId separate
Skip PUT and confirm when isNew is false
Map photoUri to tiktokShop.coverUri and keep coverFileId at the request root
Keep photo businessIds in display order
Persist postId and verify the final status
Ready to integrate?
Create or manage an API key in the LINGTU AI developer center.