API Reference
Complete reference for all Pullwish public REST API endpoints.
API Reference
All endpoints are under:
https://www.pullwish.com/api/public/v1Examples use the placeholder ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx. It matches the API key format (ft_live_ or ft_test_, then at least 32 letters, numbers, _, or -) and is not a real key. Create a key under Settings → API Keys. The project id comes from the key.
Rate limits and quotas
Each endpoint has a per-key rate limit. Exceeding it returns 429 with { "error": "Rate limit exceeded...", "retryAfter": <seconds> }.
| Endpoint | Limit per API key |
|---|---|
GET /changelog, GET /roadmap, GET /features, GET /bugs, GET /errors | 100 per 5 minutes |
POST /features | 50 per 5 minutes |
POST /bugs | 100 per 5 minutes |
POST /errors | 200 per 5 minutes |
POST /logs | 300 per 5 minutes |
POST /features/{featureId}/status-messages | 60 per 5 minutes |
POST /heatmap-screenshot | 60 per 5 minutes |
POST /source-maps | 60 per minute |
Calls also count against the account's monthly plan quota (see Plans and pricing). When the quota is used up, or the project is locked, the API returns 403 with code and upgrade: true.
GET /changelog
Returns published changelog entries for your project.
Entries linked to an internal feature are omitted in SQL before limit and offset. Standalone entries (no feature) stay. count is the size of that public page, so it does not reveal hidden items.
Required permission: features:read
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
published | boolean | — | Filter by published status |
limit | number | 50 | Max entries to return (max 100) |
offset | number | 0 | Pagination offset |
curl
curl -X GET \
"https://www.pullwish.com/api/public/v1/changelog?limit=10&published=true" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"JavaScript
const res = await fetch(
"https://www.pullwish.com/api/public/v1/changelog?limit=10&published=true",
{
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
}
);
const data = await res.json();
console.log(data.entries);Response
{
"entries": [
{
"id": "clx...",
"featureId": "clx...",
"projectId": "demo",
"featureTitle": "Dark mode support",
"featureType": "feature",
"statusKey": "done",
"statusLabel": "Done",
"summary": "Added full dark mode support across the dashboard.",
"description": "<p>We've shipped dark mode...</p>",
"published": true,
"createdAt": "2024-01-15T10:00:00Z",
"publishedAt": "2024-01-16T09:00:00Z"
}
],
"count": 1,
"limit": 10,
"offset": 0
}GET /roadmap
Returns roadmap items grouped by status column.
Internal features are excluded in SQL before grouping, so column counts and total only include public items.
Required permission: features:read
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
status | string | — | Comma-separated statuses: open,planned,in-progress,in-review,accepted,done,declined |
limit | number | 100 | Max items to return (max 200) |
curl
curl -X GET \
"https://www.pullwish.com/api/public/v1/roadmap?status=planned,in-progress" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"JavaScript
const res = await fetch(
"https://www.pullwish.com/api/public/v1/roadmap?status=planned,in-progress",
{
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
}
);
const data = await res.json();
console.log(data.columns);Response
{
"columns": [
{
"status": "planned",
"items": [
{
"id": "clx...",
"title": "CSV export",
"status": "planned",
"voteCount": 42,
"commentCount": 7,
"createdAt": "2024-01-10T08:00:00Z"
}
]
}
],
"total": 1
}POST /features
Submit a feature request or a bug. The project is taken from the API key that authenticates the request. The body does not include a project id.
Required permission: features:write
Rate limit: 50 requests per 5 minutes per API key. When the limit is exceeded the response is 429.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Title (4–120 characters) |
description | string | Yes | Description (12–1000 characters) |
contactEmail | string | No | Submitter's email address |
metadata | object | No | Arbitrary key/value metadata |
type | string | No | Case-sensitive lowercase bug, feature, or error. Omitted defaults to feature. error is stored as bug. Non-lowercase values like "Bug" or "BUG" return 400. |
internal | boolean | No | Hide the item from the public board, feeds, and public read APIs. An explicit true or false always wins. When omitted, every type defaults to true for the Pullwish platform project API key (iGBUmKRzcovPHJAP1Z6Y). Widget (channel: "widget"), SDK (channel: "sdk"), and every other project's API key default to false. |
channel | string | No | widget or sdk. Keeps a feedback-widget or SDK submission public even on the Pullwish project key. Omit it for a normal API-key create. |
An empty body or a body that is not valid JSON returns 400 and is not stored:
{ "error": "Request body must be valid JSON" }type: "bug" and type: "error" are case-sensitive (lowercase only) and are stored as type: "bug" with status new. type: "feature" and a missing type are stored as type: "feature" with status open. In the Pullwish project (iGBUmKRzcovPHJAP1Z6Y), an API-key create of any type defaults to internal: true. A widget or SDK submission stays public, as does every create on a customer API key. Pass internal to override. The response returns the stored type, status, and internal. Public (internal: false, non-archived, non-merged) bugs created via POST /features appear in GET /api/public/v1/bugs, GET /api/public/v1/features?type=bug, and MCP list_bugs; in the dashboard they land in Feedback inbox until triaged/promoted to Bugs (where Internal (hidden from public board) starts checked only for the Pullwish project).
Update internal
PATCH /api/public/v1/features/{featureId} (features:write) accepts internal together with status and developerNotes:
{ "internal": false }The patch still finds an item that is currently internal, so you can publish it again. After internal is false, the item appears on the public board, feeds, and public read APIs. Reads of an internal item (list, roadmap, changelog, status messages, votes, comments) return the same 404 as a missing item.
Any other type returns 400:
{
"error": "Invalid type. Allowed values: bug, feature, error"
}curl
curl -X POST \
"https://www.pullwish.com/api/public/v1/features" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"title": "Dark mode support",
"description": "It would be great to have a dark mode option for the dashboard.",
"contactEmail": "user@example.com"
}'JavaScript
const res = await fetch("https://www.pullwish.com/api/public/v1/features", {
method: "POST",
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Dark mode support",
description: "It would be great to have a dark mode option for the dashboard.",
contactEmail: "user@example.com",
}),
});
const data = await res.json();
console.log(data.id);Response (feature)
{
"id": "clx...",
"projectId": "demo",
"title": "Dark mode support",
"description": "It would be great to have a dark mode option for the dashboard.",
"status": "open",
"type": "feature",
"voteCount": 0,
"commentCount": 0,
"createdAt": "2024-01-15T10:00:00Z",
"message": "Feature request created successfully"
}Example: file a bug
curl -X POST \
"https://www.pullwish.com/api/public/v1/features" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"title": "Login button unresponsive",
"description": "Clicking the login button on Safari 17 does nothing.",
"type": "bug"
}'const res = await fetch("https://www.pullwish.com/api/public/v1/features", {
method: "POST",
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Login button unresponsive",
description: "Clicking the login button on Safari 17 does nothing.",
type: "bug",
}),
});
const data = await res.json();
console.log(data.type, data.status); // "bug" "new"201 response:
{
"id": "clx...",
"projectId": "demo",
"title": "Login button unresponsive",
"description": "Clicking the login button on Safari 17 does nothing.",
"status": "new",
"type": "bug",
"voteCount": 0,
"commentCount": 0,
"createdAt": "2024-01-15T10:00:00Z",
"message": "Feature request created successfully"
}GET /features
List feature requests for your project. Internal items are filtered in SQL before limit and offset. count is the number of public rows returned.
Required permission: features:read
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
status | string | — | Filter by status: open, planned, in-progress, in-review, accepted, done, declined |
type | string | — | Case-sensitive filter by type: feature or bug |
limit | number | 50 | Max items (max 100) |
offset | number | 0 | Pagination offset |
curl
curl -X GET \
"https://www.pullwish.com/api/public/v1/features?status=open&type=feature&limit=20" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"JavaScript
const res = await fetch(
"https://www.pullwish.com/api/public/v1/features?status=open&type=feature&limit=20",
{
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
}
);
const data = await res.json();
console.log(data.features);Response
{
"features": [
{
"id": "clx...",
"projectId": "demo",
"title": "Dark mode support",
"status": "open",
"type": "feature",
"voteCount": 42,
"commentCount": 7,
"createdAt": "2024-01-10T08:00:00Z"
}
],
"count": 1,
"limit": 20,
"offset": 0
}POST /bugs
Submit a bug report.
Required permission: bugs:write
Deduplication: if the same title + message combination is submitted within 1 hour, the occurrence count is incremented instead of creating a new record.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Bug title (5–200 characters) |
message | string | Yes | Bug message / description (10–5000 characters) |
stackTrace | string | No | Stack trace string |
bugType | string | No | Category or type label |
severity | string | No | low, medium, high, or critical. Default: medium |
createFeature | boolean | No | Also create a linked feature request |
internal | boolean | No | With createFeature: true, set the linked board item. An explicit true or false always wins. Omitted stays public for customer API keys and for channel: "widget" or "sdk". The Pullwish platform project's own API key (iGBUmKRzcovPHJAP1Z6Y) defaults that linked item to internal: true. |
channel | string | No | widget or sdk. Keeps the linked board item public even on the Pullwish project key. |
metadata | object | No | Arbitrary key/value metadata |
An empty body or a body that is not valid JSON returns 400 and is not stored:
{ "error": "Request body must be valid JSON" }curl
curl -X POST \
"https://www.pullwish.com/api/public/v1/bugs" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"title": "Login button unresponsive on Safari",
"message": "Clicking the login button on Safari 17 does nothing — no network request, no error.",
"severity": "high"
}'JavaScript
const res = await fetch("https://www.pullwish.com/api/public/v1/bugs", {
method: "POST",
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "Login button unresponsive on Safari",
message:
"Clicking the login button on Safari 17 does nothing — no network request, no error.",
severity: "high",
}),
});
const data = await res.json();
console.log(data.id);Response
{
"id": "clx...",
"message": "Bug report submitted successfully."
}POST /errors
Report an application error with full context.
Required permission: errors:write
Deduplication: if the same title + errorType combination is received within 1 hour, the occurrence count is incremented instead of creating a new record.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
title | string | Yes | Error title (1–200 characters). Short client text such as test or Timeout is valid. |
message | string | Yes | Error message (1–5000 characters) |
stackTrace | string | No | Stack trace text (max 20,000 characters). Optional. Console and eval frames need no filename (<anonymous>:1:26 is valid), and an empty stack is valid. |
errorType | string | No | Error class or category |
severity | string | No | low, medium, high, or critical. Default: medium |
breadcrumbs | array | No | Up to 50 breadcrumb events leading up to the error |
device | object | No | Device and browser information |
network | object | No | Network conditions at time of error |
app | object | No | Application context (version, environment, session, user) |
url | string | No | URL where the error occurred |
referrer | string | No | Referring URL |
timestamp | string | No | ISO 8601 timestamp of the error |
metadata | object | No | Arbitrary key/value metadata |
Breadcrumb object
| Field | Type | Required | Description |
|---|---|---|---|
timestamp | string | Yes | ISO 8601 timestamp |
type | string | Yes | navigation, click, input, http, console, or custom |
message | string | Yes | Breadcrumb message. Stored at 500 characters after query strings and fragments are removed from URLs in the text. A longer value does not reject the report. |
category | string | No | Category label |
level | string | No | info, warning, or error |
data | object | No | Additional data |
Device object
| Field | Type | Description |
|---|---|---|
userAgent | string | Full user agent string |
browser | string | Browser name |
browserVersion | string | Browser version |
os | string | Operating system |
osVersion | string | OS version |
device | string | Device type |
screenResolution | string | Screen resolution |
language | string | Browser language |
timezone | string | Timezone identifier |
Network object
| Field | Type | Description |
|---|---|---|
effectiveType | string | Connection type (e.g. 4g) |
downlink | number | Downlink speed in Mbps |
rtt | number | Round-trip time in ms |
online | boolean | Whether the device was online |
App object
| Field | Type | Description |
|---|---|---|
version | string | App version string |
environment | string | development, staging, or production |
releaseId | string | Release identifier (e.g. git commit hash) |
sessionId | string | Session identifier |
userId | string | User identifier |
userEmail | string | User email address |
curl
curl -X POST \
"https://www.pullwish.com/api/public/v1/errors" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"title": "TypeError: Cannot read properties of undefined",
"message": "Cannot read properties of undefined (reading '\''map'\'')",
"errorType": "TypeError",
"severity": "high",
"app": {
"version": "1.2.3",
"environment": "production",
"userId": "usr_123"
}
}'JavaScript
const res = await fetch("https://www.pullwish.com/api/public/v1/errors", {
method: "POST",
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Content-Type": "application/json",
},
body: JSON.stringify({
title: "TypeError: Cannot read properties of undefined",
message: "Cannot read properties of undefined (reading 'map')",
errorType: "TypeError",
severity: "high",
app: {
version: "1.2.3",
environment: "production",
userId: "usr_123",
},
}),
});
const data = await res.json();
console.log(data.id, data.duplicate);Response
{
"id": "clx...",
"message": "Error reported successfully.",
"duplicate": false
}A schema rejection is 400 with field names only. The response never includes the submitted values:
{ "error": "invalid_request", "fields": ["title", "message"] }Unparseable JSON is { "error": "invalid_request" } with no fields. Bodies over 256 KB are 413. The rate limit and the API key's project check are unchanged. Existing browser SDK installs already send short messages and file-less stacks, so they do not need an upgrade.
POST /logs
Send structured log entries from any JavaScript or TypeScript application.
Required permission: logs:write
Accepts a batch of up to 100 log entries per request (entries beyond 100 are dropped, not rejected). A single log object without the logs wrapper is also accepted. The body is limited to 512 KB (413 above that). The rate limit is 300 requests per 5 minutes per API key. Logging is not available on the Hobby plan (403 with upgrade: true). If the same level + category + message fingerprint is received repeatedly, the server increments an occurrence counter rather than creating duplicate rows.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
logs | array | Yes | Array of log entry objects (max 100). Entries without a non-empty message are skipped |
Each log entry in the array:
| Field | Type | Required | Description |
|---|---|---|---|
level | string | No | error, warn, info, debug, or trace. A missing or unknown value is stored as info |
message | string | Yes | Log message (max 5,000 characters) |
category | string | No | Group label (e.g. "auth", "payment") |
source | string | No | Origin tag (e.g. "server", "worker") |
data | object | No | Arbitrary key/value metadata |
userId | string | No | User identifier for filtering in the dashboard |
appVersion | string | No | Application version string |
fingerprint | string | No | Custom dedup key — overrides the server-computed fingerprint |
timestamp | string | No | ISO 8601 timestamp. Defaults to server receive time |
curl
curl -X POST \
"https://www.pullwish.com/api/public/v1/logs" \
-H "X-API-Key: ft_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"logs": [
{
"level": "error",
"message": "Stripe webhook failed",
"category": "billing",
"data": { "statusCode": 500 },
"userId": "u_123"
}
]
}'JavaScript
const res = await fetch("https://www.pullwish.com/api/public/v1/logs", {
method: "POST",
headers: {
"X-API-Key": "ft_live_your_api_key",
"Content-Type": "application/json",
},
body: JSON.stringify({
logs: [
{
level: "error",
message: "Stripe webhook failed",
category: "billing",
data: { statusCode: 500 },
userId: "u_123",
},
],
}),
});
const data = await res.json();
console.log(data.accepted); // number of entries storedResponse
{
"accepted": 1
}Use the
@pullwish/loggerSDK to batch and flush logs automatically rather than calling this endpoint directly.
POST /i18n-telemetry
Report missing translation keys detected at runtime. This endpoint is called automatically by the @pullwish/i18n SDK — you do not need to call it directly.
Required permission: public:read
Request body
| Field | Type | Required | Description |
|---|---|---|---|
projectId | string | Yes | Must be a non-empty string (the SDK sends its project id). The project is always taken from the API key; this value is not used |
locale | string | Yes | Locale code (e.g. en, no), max 20 characters |
missingKeys | string[] | Yes | Translation keys that were missing (max 100 per request, each max 200 characters) |
defaults | object | No | Map of key to the fallback text passed to t(key, fallbackText) (max 2000 characters each, control characters are replaced with spaces). Used as default text when the key is auto-created, or to fill a key that was auto-created earlier with empty text. Existing default text is never overwritten. |
Response
{ "ok": true }An invalid payload returns 400 with { "error": "Invalid payload" }. Each report is counted per key and locale, and keys that do not exist yet are created.
GET /site-config
Returns the full site configuration for the project on the API key — maintenance mode, status messages, feature flags, and environments.
Required permission: public:read
The project id comes from the key. This endpoint does not take a projectId query parameter.
curl
curl -X GET \
"https://www.pullwish.com/api/public/v1/site-config" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"JavaScript
const res = await fetch("https://www.pullwish.com/api/public/v1/site-config", {
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
});
const data = await res.json();
console.log(data.maintenance, data.featureFlags);The response is cached at the CDN and in the browser (Cache-Control: public, max-age=900, s-maxage=900, stale-while-revalidate=60, Vary: X-API-Key), so a change in the dashboard can take up to 15 minutes to reach clients. There is no ETag and no 304. Maintenance turns on automatically between scheduledStart and scheduledEnd. featureFlags contains every non-archived flag (not only enabled ones), so clients can evaluate localhost-only and beta-only flags.
Response
{
"maintenance": {
"enabled": false,
"type": "full",
"customHtml": "",
"expectedRestoration": null,
"showStatusLink": false,
"statusPageUrl": null,
"scheduledStart": null,
"scheduledEnd": null,
"whitelist": {
"localStorageKeys": [],
"emails": [],
"ips": []
}
},
"messages": [
{
"id": "msg_...",
"projectId": "demo",
"type": "info",
"text": "Scheduled maintenance on Sunday 2 AM UTC.",
"isActive": true,
"priority": 1,
"startsAt": null,
"expiresAt": null
}
],
"featureFlags": [
{
"id": "flag_...",
"projectId": "demo",
"key": "new_dashboard",
"enabled": true
}
],
"betaUserEmails": [],
"debugMode": false,
"environments": [
{
"id": "env_...",
"name": "Production",
"slug": "production",
"url": "https://example.com",
"urls": [],
"color": "#22c55e",
"debugEnabled": false,
"analyticsEnabled": true,
"errorLoggingEnabled": true,
"flagOverrides": {}
}
],
"analyticsConfig": null,
"sdkVersions": [],
"lastUpdated": "2024-01-15T10:00:00Z"
}GET /translations
Returns translation strings for a given locale. For each key the locale's translation is used, falling back to the key's default text. Keys with no text are left out.
Required permission: public:read
The hash value is an MD5 hash of the returned translations object. Compare it with the hash you stored to see whether anything changed. The endpoint does not send an ETag and never answers 304 Not Modified, because the CDN would strip the CORS headers from a cross-origin 304. Responses are cached at the CDN (Cache-Control: public, s-maxage=900, stale-while-revalidate=60), so a new translation can take up to 15 minutes to show up. Each call counts against the account's monthly API call quota.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
locale | string | en | BCP 47 locale code (e.g. en, no, fr) |
namespace | string | — | Scope the response to a single namespace |
curl
curl -X GET \
"https://www.pullwish.com/api/public/v1/translations?locale=en" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"JavaScript
const res = await fetch("https://www.pullwish.com/api/public/v1/translations?locale=en", {
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
});
const data = await res.json();
// data.hash changes whenever the returned translations change.
console.log(data.translations);Response
{
"translations": {
"nav.home": "Home",
"nav.features": "Features",
"hero.title": "Build better products"
},
"hash": "etag_abc123",
"locale": "en"
}GET /version-check
Checks whether a newer version of your application is available for the project on the API key.
Required permission: public:read
The project id comes from the key. This endpoint does not take a projectId query parameter.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
currentVersion | string | No | Current version string — SemVer (e.g. 1.2.3) or git hash |
platform | string | No | Platform identifier, for example web |
curl
curl -X GET \
"https://www.pullwish.com/api/public/v1/version-check?currentVersion=1.0.0" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"JavaScript
const res = await fetch(
"https://www.pullwish.com/api/public/v1/version-check?currentVersion=1.0.0",
{
headers: {
Authorization: "Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
},
}
);
const data = await res.json();
if (data.updateAvailable) {
console.log("New version:", data.latestVersion.version);
}Response
{
"updateAvailable": true,
"updateRequired": false,
"updateRecommended": true,
"updateType": "minor",
"latestVersion": {
"version": "1.2.0",
"title": "January release",
"releaseNotes": "New dashboard, bug fixes, performance improvements.",
"downloadUrl": "https://example.com/download/1.2.0",
"platformUrls": { "ios": "https://example.com/ios" },
"releaseDate": "2024-01-15T10:00:00Z",
"isBeta": false,
"rolloutPercentage": 100
}
}When the project has no active version, the response is { "updateAvailable": false, "updateRequired": false, "updateRecommended": false }. platformUrls is only present when the version defines per-platform download URLs, and downloadUrl then resolves to the entry for the requested platform. updateType is major, minor, patch, hash (git-hash versions) or unknown. updateRequired and updateRecommended are only evaluated for SemVer versions.
GET /bugs
Lists public bugs for the project on the API key: both user-reported bug reports submitted via POST /bugs and public (internal: false, non-archived, non-merged) bugs created via POST /features with type: "bug" or "error". Internal items are omitted.
Required permission: bugs:read
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
status | string | — | Filter by status |
severity | string | — | Filter by severity (matches bug reports that carry a severity; board-item bugs have severity: null) |
includeArchived | boolean | false | Include archived reports when true |
limit | number | 50 | Max rows (max 100) |
offset | number | 0 | Pagination offset |
curl
curl -X GET \
"https://www.pullwish.com/api/public/v1/bugs?limit=20" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Response
{
"bugs": [
{
"id": "err_...",
"title": "Checkout button does nothing",
"message": "Clicking Pay shows no error.",
"bugType": "bug",
"severity": "high",
"status": "new",
"occurrenceCount": 3
}
],
"count": 1,
"limit": 20,
"offset": 0
}GET /errors
Lists error reports for the project on the API key.
Required permission: errors:read
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
status | string | — | Filter by status |
severity | string | — | Filter by severity |
userReported | boolean | — | true or false to filter user-reported rows |
includeArchived | boolean | false | Include archived reports when true |
limit | number | 50 | Max rows (max 100) |
offset | number | 0 | Pagination offset |
curl
curl -X GET \
"https://www.pullwish.com/api/public/v1/errors?severity=high" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"Response
{
"errors": [
{
"id": "err_...",
"title": "TypeError",
"message": "Cannot read properties of undefined",
"severity": "high",
"status": "new",
"occurrenceCount": 12,
"userReported": false
}
],
"count": 1,
"limit": 50,
"offset": 0
}PATCH /errors/{errorId}
Updates an error report in the key's project. Setting status to resolved stamps the resolution time and sends the error.resolved webhook.
Required permission: errors:write
Request body
| Field | Type | Description |
|---|---|---|
status | string | new, triaged, investigating, resolved, closed, or ignored |
severity | string | low, medium, high, or critical |
solution | string | Resolution note (max 5000 characters) |
archived | boolean | Archive or unarchive the report |
actorName | string | Name stored on the activity (max 120 characters) |
curl
curl -X PATCH \
"https://www.pullwish.com/api/public/v1/errors/err_123" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"status":"resolved","solution":"Fixed the null check."}'Response
{ "success": true, "id": "err_123", "status": "resolved" }PATCH /features/{featureId}
Updates a feature or bug in the key's project. A feature requires features:write. A bug requires bugs:write. Another project's id returns 404.
Request body
| Field | Type | Description |
|---|---|---|
status | string | Workflow status key (max 60 characters) |
developerNotes | string | Internal note (max 2000 characters) |
priority | string or null | critical, high, medium, or low |
internal | boolean | Hide the item from public boards when true |
actorName | string | Name stored on the activity (max 120 characters) |
curl
curl -X PATCH \
"https://www.pullwish.com/api/public/v1/features/feat_123" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"status":"planned"}'Response
{ "success": true }The response also includes the updated fields returned by the status update.
PATCH /features/{featureId}/changelog
Edits the changelog draft for a feature or bug. A release status creates that draft first (feature: accepted or done; bug: resolved or closed). published: true makes the entry public. A feature requires features:write. A bug requires bugs:write.
Request body
| Field | Type | Description |
|---|---|---|
summary | string | Public summary (1–500 characters) |
description | string | Public body (max 2000 characters) |
published | boolean | true publishes the entry |
curl
curl -X PATCH \
"https://www.pullwish.com/api/public/v1/features/feat_123/changelog" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"summary":"Dark mode is available.","published":true}'Response
{ "changelog": { "id": "feat_123", "published": true } }POST /features/{featureId}/status-messages
Adds a status note to a feature or bug in the key's project. A feature requires features:write. A bug requires bugs:write. Returns 201.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Note text (1–5000 characters) |
type | string | No | info, warning, success, or update (default update) |
actorName | string | No | Name stored on the note (max 120 characters) |
curl
curl -X POST \
"https://www.pullwish.com/api/public/v1/features/feat_123/status-messages" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"message":"Shipping this week.","type":"update"}'POST /source-maps
Uploads one source map, or a batch of up to 50. Used by upload-source-maps in @pullwish/cli.
Required permission: errors:write
Request body
Single map: { "filename", "release"?, "mapContent" }.
Batch: { "release"?, "maps": [{ "filename", "mapContent" }] }.
curl
curl -X POST \
"https://www.pullwish.com/api/public/v1/source-maps" \
-H "X-API-Key: ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"filename":"app.js.map","release":"abc123","mapContent":{"version":3,"sources":[],"mappings":""}}'Response
201 with { "uploaded": [{ "id", "filename", "release", "replaced" }], "count" }. A batch that uploads nothing returns 400.
POST /heatmap-screenshot
Uploads a full-page screenshot used as a heatmap backdrop. The latest capture wins for the same project, path, and viewport bucket.
Required permission: analytics:write
Request body
| Field | Type | Description |
|---|---|---|
path | string | Page path (1–2048 characters) |
viewportWidth | number | Viewport width in pixels |
width | number | Image width in pixels |
height | number | Image height in pixels |
image | string | Data URL: data:image/png, image/jpeg, or image/webp, then base64 |
curl
curl -X POST \
"https://www.pullwish.com/api/public/v1/heatmap-screenshot" \
-H "Authorization: Bearer ft_test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{"path":"/pricing","viewportWidth":1440,"width":1440,"height":2400,"image":"data:image/png;base64,iVBORw0KGgo="}'Response
201 with { "success": true, "url": "https://..." }.