Update project settings
PATCH/api/v1/projects/:slug/settings/
Update a project's settings. Send any subset of the supported fields; unknown fields are rejected, and validation runs before anything is written, so a request never half-applies.
Supported fields:
url: the project's primary site URL. Feedback submissions are validated against this URL's hostname, so keep it in sync when your site changes domain. Normalized before saving: a trailing slash is stripped.whitelabel: hides the "Powered by PushFeedback" branding in the widget. This is a team-wide setting: it applies to every project of the team. Enabling it requires a paid plan and returns403 Forbiddenotherwise; disabling it is always allowed. Widget configuration is cached for up to 60 seconds, so a change can take up to a minute to reach visitors.
Requires an API key with the project:manage scope in the
Authorization header. The key must cover the project in the URL; a
key for another team's project, or one outside the key's project
restriction, returns 404 Not Found. A key without the
project:manage scope returns 403 Forbidden.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
The settings were updated; the response reflects the saved values.
Empty body, unknown field, or an invalid value.
Missing or invalid API key.
The API key lacks the project:manage scope, or the plan does not allow enabling whitelabel.
The API key does not cover this project, or the project does not exist.
Rate limit exceeded.