POST https://api.helpgenie.ai/v1 with resource: "marketplace".
Access control
The
list, all, get, categories, stats, and trending actions are publicly accessible. The create, update, and delete actions require internal admin authentication. The clone, reviews, favorites, collections, and submissions actions require user authentication.sortBy values
List genies (slim)
Retrieves a simplified list of marketplace genies optimized for dropdowns and compact listings. Returns only essential fields without nested relations.string
required
Must be
"marketplace"string
required
Must be
"list"object
Response
boolean
object
List genies (complete)
Retrieves the full marketplace genie listing with all fields and nested relations (category, brand, and creator in admin mode).string
required
Must be
"marketplace"string
required
Must be
"all"object
Response
boolean
object
Get a genie
Retrieves a specific marketplace genie by slug or ID. Automatically increments the view count and includes related genies from the same category.string
required
Must be
"marketplace"string
required
Must be
"get"string
required
The genie slug (preferred) or UUID.
object
Response
boolean
object
All fields from the genie object, plus:
Create a listing
Creates a new marketplace listing. Automatically marks the agent as a marketplace template and links the listing back to the agent.Only internal admins can create marketplace listings.
string
required
Must be
"marketplace"string
required
Must be
"create"object
required
Response (status 201)
boolean
object
The created marketplace genie with all fields. See genie object.
Update a listing
Updates an existing marketplace listing.Only internal admins can update marketplace listings.
string
required
Must be
"marketplace"string
required
Must be
"update"string
required
The listing ID.
object
required
Response
boolean
object
The updated marketplace genie with all fields.
Delete a listing
Permanently deletes a marketplace listing and unlinks the agent from the marketplace.Only internal admins can delete marketplace listings.
string
required
Must be
"marketplace"string
required
Must be
"delete"string
required
The listing ID.
Response
boolean
object
List categories
Retrieves all marketplace categories ordered by display order. No authentication required.string
required
Must be
"marketplace"string
required
Must be
"categories"Response
boolean
object
Get statistics
Retrieves aggregate statistics about the marketplace. No authentication required.string
required
Must be
"marketplace"string
required
Must be
"stats"Response
boolean
object
Clone a marketplace genie
Clones a marketplace genie into the authenticated user’s account. Delegates tohandle-agent for the actual agent clone, tracks the clone in user_marketplace_clones, and increments the listing’s clone_count.
string
required
Must be
"marketplace"string
required
Must be
"clone"string
required
The marketplace genie listing ID. Can also be passed as
marketplace_genie_id in the data object.object
Response
boolean
object
Reviews
Manages reviews for marketplace genies. Uses amode parameter inside data to select the operation. When mode is omitted, lists reviews.
string
required
Must be
"marketplace"string
required
Must be
"reviews"string
The marketplace genie ID. Can also be passed as
marketplace_genie_id in data.Create a review
object
required
{ review: {...} } with status 201.
Update a review
Setmode: "update". Requires review_id, plus optional rating and review_text. Only the review owner can update.
Delete a review
Setmode: "delete". Requires review_id. Only the review owner can delete.
List reviews (default)
Whenmode is omitted, lists reviews for the given genie with pagination.
object
{ items: [...], count, limit, offset }.
Favorites
Manages a user’s marketplace favorites. Uses amode parameter inside data.
string
required
Must be
"marketplace"string
required
Must be
"favorites"Add a favorite
object
required
{ favorite: {...} } with status 201.
Remove a favorite
Setmode: "remove" with marketplace_genie_id.
List favorites (default)
Whenmode is omitted, lists all favorites for the authenticated user with pagination.
object
{ items: [...], count, limit, offset }. Each item includes the full marketplace_genie object.
Trending
Returns trending marketplace genies from thetrending_marketplace_genies view, ordered by trending score. No authentication required.
string
required
Must be
"marketplace"string
required
Must be
"trending"object
Response
boolean
object
Collections
Manages user-curated collections of marketplace genies. Uses amode parameter inside data.
string
required
Must be
"marketplace"string
required
Must be
"collections"Create a collection
object
required
{ collection: {...} } with status 201.
Update a collection
Setmode: "update" with collection_id and any of name, description, is_public.
Delete a collection
Setmode: "delete" with collection_id.
Add genie to collection
Setmode: "add-genie" with collection_id and marketplace_genie_id.
Remove genie from collection
Setmode: "remove-genie" with collection_id and marketplace_genie_id.
Get a single collection
Passcollection_id (or id) without a mode. Returns the collection and its genies.
List collections (default)
When nomode and no collection_id are provided, lists all collections for the authenticated user.
object
{ items: [...], count, limit, offset }.
Submissions
Manages marketplace submission requests. Users submit their genies for marketplace listing; admins moderate them. Uses amode parameter inside data.
string
required
Must be
"marketplace"string
required
Must be
"submissions"Create a submission
object
required
{ submission: {...} } with status 201. Initial status is "pending".
Moderate a submission (admin only)
Setmode to "approve", "reject", or "under-review". Requires submission_id. Optional admin_notes.
Delete a submission
Setmode: "delete" with submission_id. Admins can delete any submission; regular users can only delete their own.
List submissions (default)
Whenmode is omitted, lists submissions with pagination. Admins see all submissions; regular users see only their own.
object
{ items: [...], count, limit, offset }.
Genie object
The full genie object returned byall, get, create, and update actions.
string
string
string
string
string
string
string
object
string
object
boolean
boolean
string
string
number
number
number
object
string
string
object

