API 参考Spark Ads Code
The store's asked creators, each with its videos, products and codes
GET
bearerheader
AuthorizationBearer <token>A personal API key (gsk_…) or an app's OAuth token
shop_id*Shop Idsearch?SearchDefault
""search_by?Search ByDefault
"creator_handle"code?Codeempty: codes not filled in yet; filled: codes in
Default
""page?PageRange
1 <= valueDefault
1limit?LimitRange
1 <= value <= 100Default
25view?stringfull (every field, the default) or compact (the fields to decide by)
Value in
"full""compact"fields?stringOnly these fields of each row, comma-separated (at most 40)
OK
application/json- response
success?booleandata?message?string|nulltimestamp?stringcurl -X GET 'https://seller.growpaces.com/api/v1/spark-ads-codes?shop_id=string'Example Response
{ "success": true, "data": {}, "message": "string", "timestamp": "string"}The videos a bulk Spark Code request asks about, from the global catalog POST
The selected creators' videos showing this store's products, as the request dialog takes them.
Ask for videos' codes (or ask again) and put the creators in the broadcasts POST
Saves the ask, then readies each chosen broadcast: its creators are added (or set back to DRAFT). The caller starts each broadcast with the target_ids returned, through that channel's own start, so a send is checked and run exactly like any other broadcast.