Skip to content

Review state of ideas by id

GET
/api/widget/ideas/status
curl --request GET \
--url 'https://feedzzie.com/api/widget/ideas/status?ids=example' \
--header 'X-Feedzzie-Key: <X-Feedzzie-Key>'

Tells the SDK whether ideas it submitted are still waiting for review. One entry per requested id (repeats included), in request order, echoing the id as sent (matched case-insensitively): approved (approved and not private, the same rule as the widget list), pending (waiting in the moderation queue) or gone (rejected, deleted, private, merged, or not in the project of the key). A merged idea’s entry also has merged_into, the id of the idea that now has its votes and comments; no other field of the idea is ever returned. Auth via public key (X-Feedzzie-Key) only, which gives the organization and project; without it the answer is 401.

ids
required
string

Comma-separated idea UUIDs, 1 to 20, with no spaces or empty segments

The state of each requested idea

Media typeapplication/json
object
ideas
Array<object>
object
id
string format: uuid
status
string
Allowed values: approved pending gone
merged_into

Only on a merged idea (status gone): the idea it is now part of

string format: uuid

Example

{
"ideas": [
{
"status": "approved"
}
]
}

Missing ids, more than 20 ids, or a segment that is not a UUID (including empty or padded ones)

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, or project’s widget disabled

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