The Flamenet API provides programmatic access to the Forum, Answers, Shop, and Marketplace features. All endpoints return JSON.
https://flamenet.io/wp-json/flamenet/v1
All endpoints are relative to this base. HTTPS is required.
Some endpoints require authentication. Authenticate by including your API key in every request.
curl https://flamenet.io/wp-json/flamenet/v1/forum/boards \ -H "Authorization: Bearer YOUR_API_KEY"
https://flamenet.io/wp-json/flamenet/v1/forum/boards?api_key=YOUR_API_KEY
/forum| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /forum/boards | No | List all forum boards |
| GET | /forum/boards/{id} | No | Board details + paginated topics |
| GET | /forum/topics/{id} | No | Topic details + paginated replies |
| POST | /forum/topics | Yes | Create a new topic |
| POST | /forum/topics/{id}/replies | Yes | Post a reply |
/answers| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /answers/questions | No | List questions with filters |
| GET | /answers/questions/{id} | No | Question details + answers |
| POST | /answers/questions | Yes | Ask a question |
| POST | /answers/questions/{id}/answers | Yes | Submit an answer |
| POST | /answers/answers/{id}/vote | Yes | Vote on an answer |
/shop| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /shop/products | No | List catalog products |
| GET | /shop/products/{id} | No | Product details |
| GET | /shop/orders | Yes | Your order history |
/marketplace| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /marketplace/stores | No | List active storefronts |
| GET | /marketplace/stores/{slug} | No | Store details + products |
| GET | /marketplace/products | No | List all products across stores |
| GET | /marketplace/products/{id} | No | Product details |
| GET | /marketplace/orders | Yes | Your marketplace order history |
| Code | Meaning |
|---|---|
| 200 OK | Request succeeded. |
| 201 Created | Resource created successfully. |
| 400 Bad Request | Malformed request or invalid parameters. |
| 401 Unauthorized | Missing or invalid API key. |
| 403 Forbidden | Authenticated but not permitted (e.g. locked topic). |
| 404 Not Found | Resource does not exist. |
| 422 Unprocessable | Missing required fields in POST body. |
| 500 Server Error | Unexpected error. Contact support. |
| 503 Unavailable | Required plugin is not active. |
All errors follow the WordPress REST API error format:
{
"code": "unauthorized",
"message": "Valid API key required.",
"data": { "status": 401 }
}