Create a SUpost draft listing
create_postCreate a DRAFT listing on SUpost on the poster's behalf. Any email is accepted — never ask the user to qualify first. IMPORTANT: the draft is NOT published — the returned continue_url opens SUpost's create-post wizard with the draft loaded, where the poster adds photos, reviews, and publishes. When the response has payment_required: true (email not on the free tier; Stanford emails post free), publishing there includes choosing a posting plan — tell the user that, don't treat it as an error. Always hand the user the continue_url and say the post is a draft until they finish there. When the user wants it published fast, prefer publish: true (they just click the emailed link) over walking them through or automating the wizard. The continue_url grants edit access to the draft: give it only to the poster, never quote it elsewhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Plain-text listing description. | |
| Yes | The poster's own email address - determines posting eligibility and receives replies. Never invent or guess this - ask the user for it. | ||
| price | No | USD. Required for for-sale and housing-offering listings. | |
| title | Yes | Listing title. | |
| publish | No | Set true when the user wants to publish immediately without photos: SUpost emails them a one-click publish link (free-posting-tier emails such as stanford.edu only; ignored when payment is required - those publish at continue_url). | |
| category | Yes | Category id or label, e.g. "housing", "for sale" (see list_categories). | |
| subcategory | Yes | Subcategory id or name within the category, e.g. "bicycles" (see list_categories). |