All agents
REST API
Shopstage with Grok
Use the REST endpoints with function calling.
Setup steps
In the Shopstage dashboard, create an API key under Settings > Integrations. The key is shown only once.
Define the Shopstage endpoints as tools for your model (for example GET https://shopstage.net/api/v1/products, POST https://shopstage.net/api/v1/posts).
In your own code, forward the tool call to Shopstage with an Authorization: Bearer header.
Return the result to the model.
curl
curl https://shopstage.net/api/v1/products?onSale=true \
-H "Authorization: Bearer <YOUR_API_KEY>"Example requests
- “List discounted products”
- “Create a Reels draft for this product”
What it can do
list_productsLists and searches products, filters discounted ones
list_postsLists posts by status
create_postCreates a post, Reel, carousel or story from a product
publish_nowPublishes a post right away
plan_weekPlans the weekly publishing calendar
get_reportGets the performance report
get_usageShows plan quota and usage