Skip to content

List public ideas

GET
/api/widget/ideas
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.

ids
string

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.

status
string
Allowed values: open under_consideration planned in_progress shipped closed unlikely_to_build duplicate

Only ideas in this status

sort
string
default: top
Allowed values: top recent

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.

page
integer
default: 1 >= 1
per_page
integer
default: 20 >= 1 <= 100
org
string

Org slug (only for the slug + Origin auth path)

project
string

Project slug inside the org (only for the slug + Origin auth path; defaults to the org’s default project)

A page of ideas, its pagination meta and the counts per status

Media typeapplication/json
object
ideas
Array<object>
object
total
integer
hasMore
boolean
pagination
object
counts
object
all
required
integer
open
required
integer
under_consideration
required
integer
planned
required
integer
in_progress
required
integer
shipped
required
integer
closed
required
integer
unlikely_to_build
required
integer
duplicate
required
integer

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

Media typeapplication/json
object
error
string

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.

Media typeapplication/json
object
error
required
string
retryAfter
required

The Retry-After value, readable from a browser on any origin

integer
>= 1

Example

{
"error": "Rate limit exceeded",
"retryAfter": 1830
}
Retry-After
integer
>= 1

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.

Media typeapplication/json
object
error
string
retryAfter
integer

Example

{
"error": "Service temporarily unavailable",
"retryAfter": 30
}
Retry-After
integer

Seconds to wait before retrying