List public ideas
const url = 'https://feedzzie.com/api/widget/ideas?status=open&sort=top&page=1&per_page=20';const options = {method: 'GET', headers: {'X-Feedzzie-Key': '<X-Feedzzie-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://feedzzie.com/api/widget/ideas?status=open&sort=top&page=1&per_page=20' \ --header 'X-Feedzzie-Key: <X-Feedzzie-Key>'Approved, public ideas of the project in the requested sort order, with standard pagination meta. A merged idea is not listed: it lives on in the idea it is merged into, which has its votes and comments (GET /api/widget/ideas/status names it). The sort order does not change the pagination. With ids, only those ideas: an id that is pending, private, merged, from another project or missing is left out, with no error, and total and pagination describe the filtered result. counts gives the number of ideas in each status tab (all is the total of the list without a status filter, a status with no ideas is 0) and does not depend on the requested page, status filter, ids or sort order.
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Query Parameters
Sección titulada «Query Parameters»Only these ideas: comma-separated idea UUIDs, 1 to 20, matched case-insensitively, with no spaces or empty segments. Composes with status, sort and pagination. Present but empty, more than 20 ids, or a segment that is not a UUID is a 400.
Only ideas in this status
Top: most voted first (vote_count desc, ties by id). recent: newest first (created_at desc, ties by id). Any other value is a 400.
Org slug (only for the slug + Origin auth path)
Project slug inside the org (only for the slug + Origin auth path; defaults to the org’s default project)
Responses
Sección titulada «Responses»A page of ideas, its pagination meta and the counts per status
object
object
object
object
Example generated
{ "ideas": [ {} ], "total": 1, "hasMore": true, "pagination": {}, "counts": { "all": 1, "open": 1, "under_consideration": 1, "planned": 1, "in_progress": 1, "shipped": 1, "closed": 1, "unlikely_to_build": 1, "duplicate": 1 }}Missing org parameter, invalid sort or invalid ids
The X-Feedzzie-Key public key is invalid, revoked or expired
object
Example
{ "error": "Invalid or revoked public key"}Public key not bound to a project, app bundle ID not allowed, project’s widget disabled, or domain not allowed
Organization or project not found
Too many requests: the per-IP limit, the per-IP limit of distinct anonymous_id values, the daily cap of this anonymous_id, or the 5 votes per idea and IP every 24 hours; an IPv6 client also shares each per-IP limit with its /48 network. Retry after Retry-After seconds.
object
The Retry-After value, readable from a browser on any origin
Example
{ "error": "Rate limit exceeded", "retryAfter": 1830}Headers
Sección titulada «Headers»Seconds to wait before retrying
The rate limiter (Upstash) could not be reached, or a read the widget needs (the public key, the organization, the project or its old slugs, the idea, a parent comment or the widget settings) failed, so the request was not processed. Retry after the given delay. A failed read is never answered as a 401, 403 or 404, so it says nothing about the key or the board. When only Upstash fails, reads are served without the rate limiter.
object
Example
{ "error": "Service temporarily unavailable", "retryAfter": 30}Headers
Sección titulada «Headers»Seconds to wait before retrying