get_balance
read-onlyCredit balance
Get the signed-in user's current credit balance and their 20 latest credit movements (purchases, orders, refunds). Call it fresh whenever credits matter (before quoting the balance, suggesting a purchase or ordering), since purchases land outside the chat. Pack prices are in get_credit_pricing.
Ask: “How many UGC Raid credits do I have?”
buy_credits
acts on your accountBuy credits
Create a Stripe checkout link for a credit pack, for the user to open and pay in their browser; the credits usually reach their balance within a minute of paying. This call charges nothing and the agent can never pay. While card payments aren't open, it sends the request to the team instead (status "requested"), who email the user to arrange payment. Each call makes a new link; estimate_order helps pick the pack.
Ask: “Buy the UGC Raid Starter pack.”
| input | type | what |
|---|
| pack* | starter | growth | scale | starter, growth, scale; get_credit_pricing has their credits and prices. |
create_order
acts on your accountOrder videos
Order UGC videos: spends credits from the signed-in user's balance for a format, a quantity and a brief, so confirm the format, quantity and credit cost with the user first. A person on the team reads the brief, usually within one business day, before real creators film; until a creator starts, cancel_order returns the credits. ugc_video_posted videos are also posted publicly on the creator's TikTok. If the balance is short it fails and says so (buy_credits gets a link). get_brief_template lists the fields.
Ask: “Order 10 UGC videos for my app with UGC Raid.”
| input | type | what |
|---|
| format* | ugc_video | ugc_video_posted | hook_pack | ugc_video (1 credit), ugc_video_posted (2 credits), hook_pack (1 credit). get_credit_pricing describes each. |
| quantity* | integer | How many units. |
| product* | string | What is being sold: its name and what it does, in a sentence or two. |
| product_url | string | Its website or app store link. |
| audience* | string | Who the videos speak to. |
| message* | string | The one thing every video must get across. |
| must_include | string | Things every video shows or says: a feature, an offer, a call to action. |
| avoid | string | Words, claims or things never to show. |
| hooks | string | Opening lines to try, one a line. |
| language | English | Spanish | The videos' language. English by default. |
| creator_notes | string | Who the creators should be: age, gender, setting, style. |
| references | string | Links to videos the user likes. |
| for_video | string | hook_pack only: the video_id (from get_order) of the delivered video the hooks are for. |
list_orders
read-onlyYour orders
List the signed-in user's orders, newest first: id, format, quantity, credits, state and how many videos are delivered. Use it to find an order_id; for one order's brief and video links use get_order.
Ask: “Show my UGC Raid orders.”
| input | type | what |
|---|
| limit | integer | How many orders, 20 by default. |
get_order
read-onlyAn order and its videos
Get one of the signed-in user's orders in full: its brief, its state and what that means, the team's notes, and every delivered video with its download links, TikTok post and Spark code if any, review state and revisions used. Use it to follow an order and to get the video_id that approve_video and request_revision take.
Ask: “What's happening with my last UGC Raid order?”
| input | type | what |
|---|
| order_id* | string | The order's id (a UUID), as create_order or list_orders returns it. |
approve_video
acts on your account · can't be undoneApprove a video
Approve a delivered video as final. It can't be undone: an approved video can no longer get a revision, so confirm with the user, and use request_revision instead if anything should change. When every video of an order is approved, the order is completed.
Ask: “Approve all the videos from my last order.”
| input | type | what |
|---|
| video_id* | string | The video's id (a UUID), as get_order returns it. |
request_revision
acts on your accountAsk for a revision
Ask the creator to change a delivered video, with a note saying exactly what to change. Each video includes one free revision, which this uses; a request beyond that is refused. The new version shows in get_order once delivered. To accept a video as it is, use approve_video.
Ask: “Ask for a revision on video 3: the hook is too slow.”
| input | type | what |
|---|
| video_id* | string | The video's id (a UUID), as get_order returns it. |
| note* | string | What to change, as specific as possible, e.g. "start on the app's timer screen; the hook is too slow". |
cancel_order
acts on your account · can't be undoneCancel an order
Cancel one of the signed-in user's orders before any creator starts (state submitted or matching); its credits return to the balance at once. It can't be undone (to go ahead later, place a new order), so confirm with the user first. Orders already in production can't be cancelled; contact_team reaches the team about those.
Ask: “Cancel my last UGC Raid order.”
| input | type | what |
|---|
| order_id* | string | The order's id (a UUID), as create_order or list_orders returns it. |