Pullwish Docs

API Reference

Complete reference for all Pullwish public REST API endpoints.

API Reference

All endpoints are under:

https://www.pullwish.com/api/public/v1

Examples 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> }.

EndpointLimit per API key
GET /changelog, GET /roadmap, GET /features, GET /bugs, GET /errors100 per 5 minutes
POST /features50 per 5 minutes
POST /bugs100 per 5 minutes
POST /errors200 per 5 minutes
POST /logs300 per 5 minutes
POST /features/{featureId}/status-messages60 per 5 minutes
POST /heatmap-screenshot60 per 5 minutes
POST /source-maps60 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

NameTypeDefaultDescription
publishedboolean—Filter by published status
limitnumber50Max entries to return (max 100)
offsetnumber0Pagination 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

NameTypeDefaultDescription
statusstring—Comma-separated statuses: open,planned,in-progress,in-review,accepted,done,declined
limitnumber100Max 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

FieldTypeRequiredDescription
titlestringYesTitle (4–120 characters)
descriptionstringYesDescription (12–1000 characters)
contactEmailstringNoSubmitter's email address
metadataobjectNoArbitrary key/value metadata
typestringNoCase-sensitive lowercase bug, feature, or error. Omitted defaults to feature. error is stored as bug. Non-lowercase values like "Bug" or "BUG" return 400.
internalbooleanNoHide 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.
channelstringNowidget 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

NameTypeDefaultDescription
statusstring—Filter by status: open, planned, in-progress, in-review, accepted, done, declined
typestring—Case-sensitive filter by type: feature or bug
limitnumber50Max items (max 100)
offsetnumber0Pagination 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

FieldTypeRequiredDescription
titlestringYesBug title (5–200 characters)
messagestringYesBug message / description (10–5000 characters)
stackTracestringNoStack trace string
bugTypestringNoCategory or type label
severitystringNolow, medium, high, or critical. Default: medium
createFeaturebooleanNoAlso create a linked feature request
internalbooleanNoWith 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.
channelstringNowidget or sdk. Keeps the linked board item public even on the Pullwish project key.
metadataobjectNoArbitrary 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

FieldTypeRequiredDescription
titlestringYesError title (1–200 characters). Short client text such as test or Timeout is valid.
messagestringYesError message (1–5000 characters)
stackTracestringNoStack 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.
errorTypestringNoError class or category
severitystringNolow, medium, high, or critical. Default: medium
breadcrumbsarrayNoUp to 50 breadcrumb events leading up to the error
deviceobjectNoDevice and browser information
networkobjectNoNetwork conditions at time of error
appobjectNoApplication context (version, environment, session, user)
urlstringNoURL where the error occurred
referrerstringNoReferring URL
timestampstringNoISO 8601 timestamp of the error
metadataobjectNoArbitrary key/value metadata
FieldTypeRequiredDescription
timestampstringYesISO 8601 timestamp
typestringYesnavigation, click, input, http, console, or custom
messagestringYesBreadcrumb 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.
categorystringNoCategory label
levelstringNoinfo, warning, or error
dataobjectNoAdditional data

Device object

FieldTypeDescription
userAgentstringFull user agent string
browserstringBrowser name
browserVersionstringBrowser version
osstringOperating system
osVersionstringOS version
devicestringDevice type
screenResolutionstringScreen resolution
languagestringBrowser language
timezonestringTimezone identifier

Network object

FieldTypeDescription
effectiveTypestringConnection type (e.g. 4g)
downlinknumberDownlink speed in Mbps
rttnumberRound-trip time in ms
onlinebooleanWhether the device was online

App object

FieldTypeDescription
versionstringApp version string
environmentstringdevelopment, staging, or production
releaseIdstringRelease identifier (e.g. git commit hash)
sessionIdstringSession identifier
userIdstringUser identifier
userEmailstringUser 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

FieldTypeRequiredDescription
logsarrayYesArray of log entry objects (max 100). Entries without a non-empty message are skipped

Each log entry in the array:

FieldTypeRequiredDescription
levelstringNoerror, warn, info, debug, or trace. A missing or unknown value is stored as info
messagestringYesLog message (max 5,000 characters)
categorystringNoGroup label (e.g. "auth", "payment")
sourcestringNoOrigin tag (e.g. "server", "worker")
dataobjectNoArbitrary key/value metadata
userIdstringNoUser identifier for filtering in the dashboard
appVersionstringNoApplication version string
fingerprintstringNoCustom dedup key — overrides the server-computed fingerprint
timestampstringNoISO 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 stored

Response

{
  "accepted": 1
}

Use the @pullwish/logger SDK 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

FieldTypeRequiredDescription
projectIdstringYesMust 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
localestringYesLocale code (e.g. en, no), max 20 characters
missingKeysstring[]YesTranslation keys that were missing (max 100 per request, each max 200 characters)
defaultsobjectNoMap 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

NameTypeDefaultDescription
localestringenBCP 47 locale code (e.g. en, no, fr)
namespacestring—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

NameTypeRequiredDescription
currentVersionstringNoCurrent version string — SemVer (e.g. 1.2.3) or git hash
platformstringNoPlatform 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

NameTypeDefaultDescription
statusstring—Filter by status
severitystring—Filter by severity (matches bug reports that carry a severity; board-item bugs have severity: null)
includeArchivedbooleanfalseInclude archived reports when true
limitnumber50Max rows (max 100)
offsetnumber0Pagination 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

NameTypeDefaultDescription
statusstring—Filter by status
severitystring—Filter by severity
userReportedboolean—true or false to filter user-reported rows
includeArchivedbooleanfalseInclude archived reports when true
limitnumber50Max rows (max 100)
offsetnumber0Pagination 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

FieldTypeDescription
statusstringnew, triaged, investigating, resolved, closed, or ignored
severitystringlow, medium, high, or critical
solutionstringResolution note (max 5000 characters)
archivedbooleanArchive or unarchive the report
actorNamestringName 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

FieldTypeDescription
statusstringWorkflow status key (max 60 characters)
developerNotesstringInternal note (max 2000 characters)
prioritystring or nullcritical, high, medium, or low
internalbooleanHide the item from public boards when true
actorNamestringName 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

FieldTypeDescription
summarystringPublic summary (1–500 characters)
descriptionstringPublic body (max 2000 characters)
publishedbooleantrue 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

FieldTypeRequiredDescription
messagestringYesNote text (1–5000 characters)
typestringNoinfo, warning, success, or update (default update)
actorNamestringNoName 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

FieldTypeDescription
pathstringPage path (1–2048 characters)
viewportWidthnumberViewport width in pixels
widthnumberImage width in pixels
heightnumberImage height in pixels
imagestringData 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://..." }.