List comments for an idea
const url = 'https://feedzzie.com/api/widget/ideas/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/comments?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/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/comments?page=1&per_page=20' \ --header 'X-Feedzzie-Key: <X-Feedzzie-Key>'Paginated list of approved anonymous comments. The commenter anonymous_id is never returned. Every comment has deleted: false, except one whose author deleted their data (DELETE /api/widget/me) and that still has replies: it stays as the place of its replies, with deleted: true, content “” and author_name null. A deleted comment without replies is not listed.
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Path Parameters
Sección titulada «Path Parameters»Query Parameters
Sección titulada «Query Parameters»Responses
Sección titulada «Responses»Comments with standard pagination meta
Invalid idea id
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
Idea 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