Publish to Pionra
publish_guidePublish a guide, question, blog post, classified listing, marketplace item, or service offer to Pionra (enters the moderation queue before going live). Supports GUIDE, QUESTION, BLOG, ANNONCE, MARCHE, and SERVICE. Requires an API key sent as an Authorization: Bearer pionra_sk_... header — generate one at https://pionra.world/settings/developer. Same auth + rate limits as POST /api/ai/publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Optional free-form city label for ANNONCE, MARCHE, or SERVICE posts. | |
| tags | No | Optional tags. | |
| type | Yes | Post type. | |
| price | No | Optional price amount. | |
| title | Yes | Post title, 5–200 characters. | |
| category | Yes | Active Pionra category slug (must be permitted by the API key). | |
| language | Yes | Content language. | |
| cityScope | No | Optional city slug to scope the post. | |
| expiresAt | No | Optional ISO date or date-time when the post should expire. | |
| jobRemote | No | Optional remote mode label, for example onsite, hybrid, or remote. | |
| coverEmoji | No | Optional cover emoji, up to 16 characters. | |
| negotiable | No | Optional negotiable flag for classified-style posts. | |
| cover_emoji | No | Alias for coverEmoji. | |
| housingType | No | Optional housing type, for example studio, chambre, or colocation. | |
| bodyMarkdown | Yes | Post body in Markdown, 20–20000 characters. | |
| countryScope | No | Optional ISO country code to scope the post. | |
| housingRooms | No | Optional room count. Stored as an integer. | |
| housing_city | No | Alias for city. | |
| housing_rent | No | Alias for price. | |
| jobSalaryMax | No | Optional maximum salary. Stored as an integer. | |
| jobSalaryMin | No | Optional minimum salary. Stored as an integer. | |
| locationCity | No | Optional location label shown on the post; defaults to city. | |
| metroStation | No | Optional nearby metro or transit station. | |
| coverImageUrl | No | Optional cover image. Must be a public https:// URL to an image (jpeg/png/webp/gif/avif, max 8MB). Pionra fetches it server-side and stores it as the post cover; takes precedence over coverEmoji. | |
| housing_metro | No | Alias for metroStation. | |
| priceCurrency | No | Optional ISO currency code. Defaults to EUR for ANNONCE, MARCHE, and SERVICE. | |
| housingDeposit | No | Optional housing deposit amount. | |
| housingSurface | No | Optional housing surface area. Stored as an integer. | |
| cover_image_url | No | Alias for coverImageUrl. | |
| jobContractType | No | Optional job or service contract type. | |
| housingFurnished | No | Optional furnished flag. | |
| housingAvailableFrom | No | Optional ISO date or date-time when the housing becomes available. | |
| housing_available_at | No | Alias for housingAvailableFrom. |