TikTok Ads Write
Create a carousel card from multiple images for TikTok carousel ads
POST https://api.adspirer.ai/api/v1/tools/create_tiktok_carousel_card/execute
Authorization: Bearer sk_live_... — your Adspirer API key (required)Content-Type: application/json (required)Idempotency-Key: <uuid> — recommended for write operations to make retries safeAll tool arguments are wrapped in an arguments object.
| Field | Type | Description |
|---|---|---|
image_ids | array required | List of TikTok image IDs (2-10). Get image IDs from discover_tiktok_assets (existing library images) or from a previously created image campaign's assets. |
card_type | string optional | Card type: 'IMAGE' (image carousel) or 'PRODUCT' (product catalog). Default: IMAGE. default: "IMAGE" |
ad_texts | array optional | Ad text for each card (one per image). If fewer texts than images, the first text is reused. |
landing_page_urls | array optional | Landing page URL for each card (one per image, must be HTTPS). If fewer URLs than images, the first URL is reused. |
call_to_action | string optional | CTA button for all cards: LEARN_MORE, SHOP_NOW, SIGN_UP, etc. |
advertiser_id | string optional | TikTok advertiser ID (optional). |
{
"arguments": {
"image_ids": [
"string"
],
"card_type": "IMAGE",
"ad_texts": [
"string"
],
"landing_page_urls": [
"string"
],
"call_to_action": "string",
"advertiser_id": "string"
}
}
{
"success": true,
"data": {
"text": "(tool-specific textual output for create_tiktok_carousel_card)",
"quota": {
"used": 42,
"limit": 150,
"tier": "plus",
"period_end": "2026-05-01"
}
},
"tool": "create_tiktok_carousel_card"
}
{
"success": false,
"error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n - Acme Holdings (ad_account_id=\"act_123456789\")\n - Acme EU (ad_account_id=\"act_987654321\")",
"is_error": true,
"tool": "create_tiktok_carousel_card"
}
{
"success": false,
"error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
"is_error": true,
"tool": "create_tiktok_carousel_card",
"quota": {
"used": 150,
"limit": 150,
"tier": "plus",
"period_end": "2026-05-01",
"upgrade_url": "https://adspirer.ai"
}
}
Interactive: Swagger UI
Machine-readable: OpenAPI 3.1 spec · llms-full.txt
More tools: TikTok Ads · All tools
Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai