For the complete documentation index, see llms.txt
Skip to main content

Migrate from API v1 to v2

Use API v2 for new features. Existing v1 integrations keep working, and the v1 reference remains available.

What stays the same​

  • Authentication: Authorization: Api-Key YOUR_API_KEY. Existing keys keep working.
  • Base URL: https://app.pushfeedback.com.
  • Installed widgets: v1 configuration and submission endpoints remain available while you migrate.

Endpoint mapping​

v1 endpointv2 endpoint
GET /api/v1/projects/{slug}/GET /api/v2/projects/{slug}/
GET /api/v1/projects/{slug}/settings/GET /api/v2/projects/{slug}/ with projects_read
POST /api/v1/feedback/POST /api/v2/projects/{slug}/feedback/
GET /api/v1/projects/{slug}/feedback/GET /api/v2/projects/{slug}/feedback/
PATCH /api/v1/projects/{slug}/settings/PATCH /api/v2/projects/{slug}/

Permission renames​

v1 permissionv2 permission
feedback:readfeedback_read
feedback:submitfeedback_create
project:manageprojects_read + projects_update

Legacy names remain valid aliases, so you do not need to rotate existing keys. feedback_submit also remains an alias for feedback_create. Integration operations require separate integrations_* permissions.

Breaking changes​

Get project: widget configuration and full settings​

Without a key, Get a project returns public widget configuration if require_submit_key is disabled. With a covering projects_read key, it returns full settings. That response groups reCAPTCHA fields under recaptcha, instead of recaptcha_enabled and recaptcha_site_key.

A protected project's v2 widget needs a project-restricted key with projects_read to load configuration and feedback_create to submit. The key is visible to anyone who can load the page and allows reading that project's settings. See submission key security.

Submit feedback: project moved to the path, object response​

Move project from the body to the URL. Rename ratingMode to rating_mode and recaptchaToken to recaptcha_token. Replace YOUR_PROJECT_ID with your project ID and use a page URL on a configured project hostname.

v1
curl -X POST https://app.pushfeedback.com/api/v1/feedback/ \
-H "Content-Type: application/json" \
-d '{"project": "YOUR_PROJECT_ID", "url": "https://docs.example.com/install", "rating": 5, "ratingMode": "stars", "message": "Clear and helpful."}'
v2
curl -X POST https://app.pushfeedback.com/api/v2/projects/YOUR_PROJECT_ID/feedback/ \
-H "Content-Type: application/json" \
-d '{"url": "https://docs.example.com/install", "rating": 5, "rating_mode": "stars", "message": "Clear and helpful."}'

The 201 response is a Feedback object, not a bare string. Unknown request fields return 400. Submissions remain public unless the project requires a key. Protected submissions need feedback_create. Include a reCAPTCHA token if the project requires one.

Rating values​

Change thumbs-up submissions from 1 to 5. v2 uses the same numeric values in submissions and responses.

Casev1 requestv2 value
Stars1 to 51 to 5
Thumbs up15
Thumbs down0 (or legacy widget value 5)0
No rating-1. Omission defaults to 0.-1 (also the default when rating is omitted)

Existing stored entries are not rewritten. Older zero-star entries retain 0. The list filter rating=positive|neutral|negative selects sentiment, while responses keep numeric rating and rating_mode. neutral means no rating (-1).

List feedback: limit/offset pagination and filters​

  • Replace page with limit (default 20, maximum 100) and offset. Follow next until it is null.
  • Keep the count, next, previous, and results response envelope.
  • Entries add session, metadata, and updated_at. Remove use of locked, which was always false in v1.
  • Screenshot links remain temporary. Request the page again for fresh links.
  • Use List feedback for status, sentiment, content, URL, date, and ordering filters.

Update project settings: full project resource​

Use Update a project to send changed settings and receive the full project object. Editable fields are url, name, additional_urls, whitelabel, require_submit_key, and recaptcha. additional_urls replaces the list. Nested reCAPTCHA settings merge field by field.

mcp_enabled is read-only and reflects the team setting. Change access under Team > MCP. Whitelabel remains team-wide and requires a paid plan to enable.

Integration configuration: separate project resource​

Project updates no longer accept notifications. Use the integration endpoints for email and other destinations. Choose integrations_read, integrations_create, integrations_update, or integrations_delete for the operations you need. Neither projects_read nor project:manage grants integration access. If your key lacks those permissions, create a replacement key that includes them.

For example, configure email recipients with:

curl -X POST https://app.pushfeedback.com/api/v2/projects/YOUR_PROJECT_ID/integrations/ \
-H "Authorization: Api-Key YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"integration_type": "email", "enabled": true, "configuration": {"emails": ["[email protected]"]}}'

If the integration already exists, use Update an integration. Set top-level enabled to pause or resume delivery. Responses omit credentials and use has_* flags. Omit a credential on PATCH to retain it. Do not send read-only response fields back as an update.

Integration ratings and delivery rules​

Templates and rules use the v2 rating values above. feedback.rating_normalized remains an alias of feedback.rating. Change thumbs-up comparisons from 1 to 5. Keep 1 for one-star ratings and check the rating mode before changing a mixed rule.

feedback.sentiment is positive for 3 or more stars or a thumbs up, negative for 0 to 2 or a thumbs down, and neutral for no rating. Use custom fields for provider-specific mappings. Asana and Trello accept only {}, with destination options in configuration.

New in v2​

v2 adds project creation and deletion, single-entry feedback reads and triage, integration management, and feedback analytics. See the API reference for endpoints and required permissions.