Aiitem Draft API
Save a tool listing or community article from your own script. Edit the private draft in your Aiitem account and publish it when ready.
Give this file to an assistant that can make HTTP requests. It explains how to check categories, create a draft, and return its review links.
https://aiitem.net/skills/submit-to-aiitem/SKILL.mdOpen fileRead the machine-readable schemas for taxonomy lookup, tool drafts, and community post drafts.
https://aiitem.net/openapi.jsonOpen filePrompt for an assistant
Add the content you want to submit after this prompt. Configure your key in the assistant's environment as AIITEM_API_KEY.
Read https://aiitem.net/skills/submit-to-aiitem/SKILL.md. Save the material below as a private aiitem draft. Use AIITEM_API_KEY from your environment, and ask me to configure it if missing. Return the editUrl and previewUrl. Leave the draft ready for me to review and publish.From submission to preview
The API creates an entry in your account and returns links to edit and preview it.
Authorization: Bearer $AIITEM_API_KEYCreate a listing or community post
The examples use design and svg from the directory. Replace the sample website and copy before submitting your own content.
Endpoint
https://aiitem.net/api/v1/tools/draftsRequired fields
name, website, description (up to 100 characters), and content (200–50,000 characters, with at least 200 readable characters)
Optional fields
Add up to three categories and five tags. Include at least one category when supplying tags. Aiitem schedules a screenshot of the website.
Example request
curl -fsS -X POST 'https://aiitem.net/api/v1/tools/drafts' \
-H "Authorization: Bearer ${AIITEM_API_KEY}" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"name": "Example SVG Tool",
"website": "https://example.com",
"description": "A sample listing for a sketch-to-SVG tool.",
"content": "Replace this sample with a factual description of your tool. For a sketch-to-SVG workflow, explain which image formats it accepts, how to start tracing, which parts stay editable in the export, and what to check before opening the finished file in a design app.",
"categories": [
"design"
],
"tags": [
"svg"
]
}
JSONSuccessful response
HTTP 201 creates a draft. Sign in and open previewUrl to review it at /settings/tools/{id}/preview. Use editUrl to make changes.
Endpoint
https://aiitem.net/api/v1/posts/draftsRequired fields
title and content (up to 100,000 characters, with at least 200 readable characters)
Optional fields
Add a description and one category slug or ID. The body can include one link to another website. Image uploads and tags are unavailable for post drafts.
Example request
curl -fsS -X POST 'https://aiitem.net/api/v1/posts/drafts' \
-H "Authorization: Bearer ${AIITEM_API_KEY}" \
-H 'Content-Type: application/json' \
--data-binary @- <<'JSON'
{
"title": "Check an SVG export before publishing",
"description": "Three checks for graphics that will be reused on the web.",
"content": "Open the exported file on light and dark backgrounds to check contrast. Zoom in to look for extra paths near the edges, then reopen the file in your design app and confirm that the shapes remain editable. Finally, test the graphic at the smallest size it will appear on the site.",
"category": "design"
}
JSONSuccessful response
HTTP 201 creates a draft. Sign in and open previewUrl to review it at /settings/posts/{id}/preview. Use editUrl to make changes.
GET https://aiitem.net/api/taxonomies?type=category
GET https://aiitem.net/api/taxonomies?type=tagReview and publish from Aiitem after signing in.
Submit in English. Community drafts are stored with the English locale.
Revoke a key from your account if it is exposed.