Account groups
Put accounts in groups with tags, then post to a group: "targets": { "tags": ["skincare-creators"] }. Add platforms to reach only some of them, like the TikTok accounts in a group.
Updated
Tag an account
curl -X PATCH https://ugcapi.dev/v1/accounts/acc_tt_01 \
-H "Authorization: Bearer ugc_live_..." -H "Content-Type: application/json" \
-d '{"tags": ["skincare-creators", "client-acme"]}'Tags replace the account's current tags. Up to 20 per account: letters, numbers, -, _, . and :, stored lower-case. GET /v1/accounts?tag=skincare-creators lists a group. PATCH also takes external_id.
Post to a group
{
"name": "Serum launch",
"targets": { "tags": ["skincare-creators"], "platforms": ["tiktok", "instagram"] },
"defaults": { "tiktok": { "privacy": "PUBLIC_TO_EVERYONE" }, "instagram": { "story": true } },
"posts": [{ "format": "video", "media": ["https://cdn.example.com/serum-1.mp4"], "caption": "Day 3 update" }]
}POST /v1/posts takes tags and platforms at the top level too. You can combine accounts and tags; each account is used once.
One post to every account in a group
curl https://ugcapi.dev/v1/posts -H "Authorization: Bearer ugc_live_..." -H "Content-Type: application/json" -d '{
"tags": ["ugc"],
"format": "slideshow",
"media": ["https://cdn.example.com/s1.jpg", "https://cdn.example.com/s2.jpg", "https://cdn.example.com/s3.jpg"],
"caption": "3 things I wish I knew #ugc",
"options": { "tiktok": { "privacy": "PUBLIC_TO_EVERYONE", "auto_music": true }, "instagram": { "story": true } }
}'Every connected account tagged ugc gets the slideshow in its own platform's format: a TikTok photo post, an Instagram carousel plus Story frames, a Facebook photo post. Accounts whose platform can't take the format (a slideshow on YouTube) are left out with a warning. Use "dry_run": true to see who would get what first.
In the dashboard
On Accounts, click Groups on an account to tag it (ugc, business, a client name), filter the list by group, and use Post to #group to open the Playground with that group picked. In the Playground, Pick a group ticks every account in it across all platforms; you can still untick single accounts.
FAQ
Can an account be in several groups?
Yes, up to 20 tags per account.
Are tags case-sensitive?
No. They're stored lower-case, so UGC and ugc are the same group. Spaces become dashes in the dashboard.
What if a tag has no accounts?
The request fails with account_not_found, so a campaign never silently posts nowhere.