Skip to content

Get the widget configuration

GET
/api/widget/config
curl --request GET \
--url https://feedzzie.com/api/widget/config \
--header 'X-Feedzzie-Key: <X-Feedzzie-Key>'

The board of the project: its organization, the project’s name, logo and color, and the project’s widget settings. Auth via public key (X-Feedzzie-Key), which gives the project and ignores org and project in the query, or the org slug (and optional project slug) in the query + Origin, which must be in the project’s allowed_domains when it has them. settings.require_approval tells whether a new idea waits for moderation, by the rule POST /api/widget/ideas applies: false only when the project’s require_approval is explicitly off, true when it is on or can’t be read.

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)

The widget configuration of the project

Media typeapplication/json
object
organization
required

Kept for FeedzzieKit 0.1.1; logo_url is the project’s logo when it has one, else the organization’s

object
name
required
string
slug
required
string
logo_url
required
string
nullable
project
required
object
name
required
string
slug
required
string
logo_url
required
string
nullable
primary_color
required
string
settings
required
object
is_enabled
required
boolean
primary_color
required

The widget color, else the project’s color

string
position
required
string
Allowed values: bottom-right bottom-left top-right top-left
button_text
required
string
show_branding
required

Show “Powered by Feedzzie”. Always true on the Free plan; a paid plan uses the widget setting

boolean
require_email
required
boolean
require_description
required

True when POST /api/widget/ideas needs a description of at least 20 characters (Unicode code points of the trimmed text); without one it answers 400 { error: “Description is required” }, and below the minimum 400 { error: “Description must be at least 20 characters” }. Temporarily, a request from the native SDK (public key, no Origin header) is not held to it until FeedzzieKit marks the field. Always present, never null.

boolean
allow_anonymous_votes
required
boolean
allow_anonymous_submissions
required
boolean
branding
required

Visual overrides as saved (accent_color, background_color, text_color, border_radius, font_family), or null

object
require_approval
required

True when a new idea waits for moderation (POST /api/widget/ideas answers pending=true); false when it is published at once. Always present, never null: true when the project’s require_approval is on or can’t be read. It reflects the setting when the config is read, not the moderation brake, which can hold a new idea of a project with moderation off once it received 20 widget ideas and comments in the last hour; for each idea, the pending field of POST /api/widget/ideas is the authoritative answer.

boolean
reports
required

True when POST /api/widget/reports takes reports and the panel has its Reports queue (FeedzzieKit 0.5.0). Always present: an older server, without the field, takes none, and the SDK keeps reports to itself.

boolean
data_deletion
required

True when DELETE /api/widget/ideas/{id} and DELETE /api/widget/me delete a person’s own data (FeedzzieKit 0.5.0). Always present: an older server, without the field, deletes nothing, and the SDK does not offer it.

boolean

Example

{
"settings": {
"position": "bottom-right"
}
}

Missing org parameter

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