ProjectFlow Pre-launch

Feedback ingest

Feedback from your own apps with an optional screenshot. Every report becomes a task in exactly one project.

Why a separate key

A pfat_ token doesn't belong in an app: it can be extracted from the binary and would have write access to the whole workspace. A feedback key (pff_…) can do exactly one thing: create feedback tasks in its one project. If it leaks, you revoke it with one click.

Create a key

  1. Open Workspace settings › API & MCP › App feedback keys (owner or admin) and create a key.
  2. Give it a name and pick the target project. It stays fixed for the key's life. Optional: default assignee, extra labels, notifying the project lead.
  3. Copy the key. It is only shown once.
  4. Put it in your app's build config, not in source control.

Send app feedback with an optional screenshot

POST/feedback

Feedback key (pff_…)

Creates a task labelled Feedback + the category in the key's target project, with a structured context block, the reporter and the screenshot as task attachment (EXIF/metadata removed). Authenticates with an app feedback key (pff_...), never a workspace token. Not part of the token-scope model; errors use { error, message, details? }. Limits: 60 reports/min and 1000/day per key, 10/min and 100/day per installId, 30/min per IP.

Headers

  • Idempotency-Keystring

    Client-generated id (a UUID; 8-128 chars of [A-Za-z0-9_-]), kept 24 h. A retry with the same key and the same report returns the original ticket (Idempotent-Replay: true); the same key with another report is 422.

  • X-App-Atteststring

    App Attest assertion. Stored with the ticket, not verified yet.

Request body multipart/form-data

  • reportFeedbackReportrequired
    Show 5 attributes
    • titlestringrequiredmax 120 characters
    • descriptionstringmax 5000 characters
    • categorystringrequired

      Allowed values: bug idea question other

    • reporterobjectrequired
      Show 3 attributes
      • namestringmax 100 characters
      • emailstring (email)
      • installIdstringrequiredpattern ^[A-Za-z0-9._:-]{4,100}$
    • contextobjectrequired
      Show 11 attributes
      • appstringrequiredmax 60 characters
      • appVersionstringrequiredmax 40 characters
      • buildstringrequiredmax 40 characters
      • platformstringrequiredmax 40 characters
      • osVersionstringrequiredmax 40 characters
      • devicestringrequiredmax 80 characters
      • localestringrequiredmax 35 characters
      • countrystringrequiredmax 10 characters
      • routestringrequiredmax 300 characters
      • timestampstring (date-time)required
      • extraobjectmax 20 keys
        Show 1 attribute
        • <key>stringmax 300 characters
  • screenshotstring (binary)

    One JPEG or PNG, at most 5 MB. The type is detected from the bytes, not the part's Content-Type.

Response 201

Ticket created (or the original ticket on an idempotent replay).

  • ticketIdstringrequired
  • taskIdstringrequired
  • urlstring (uri)required

Errors

  • 400Validation failed (invalid_report with details, invalid_screenshot, invalid_request).
  • 401Missing, unknown or revoked feedback key (unauthorized).
  • 403Workspace suspended (workspace_suspended) or API access disabled by the plan (plan_api_disabled).
  • 409A request with this Idempotency-Key is still running (in_progress, Retry-After).
  • 410The key's target project no longer exists (project_unavailable).
  • 413Screenshot over 5 MB or report part over 64 KB (too_large).
  • 422Idempotency-Key reused for a different report (idempotency_key_reused).
  • 429Rate limit hit (rate_limited); wait Retry-After seconds.

All error codes

Request
curl -X POST "https://api.getprojectflow.com/v1/feedback" \
  -H "Authorization: Bearer pff_YOUR_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -F 'report={
  "title": "Prepare kickoff",
  "category": "bug",
  "reporter": {
    "installId": "A1B2C3D4",
    "name": "Website relaunch",
    "email": "ada@example.com"
  },
  "context": {
    "app": "MyApp",
    "appVersion": "1.4.0",
    "build": "212",
    "platform": "iOS",
    "osVersion": "26.1",
    "device": "iPhone",
    "locale": "de-DE",
    "country": "DE",
    "route": "settings/profile",
    "timestamp": "2026-11-02T09:00:00.000Z",
    "extra": {}
  },
  "description": "Short description"
};type=application/json' \
  -F "screenshot=@screenshot.jpg;type=image/jpeg"
const form = new FormData();
form.append('report', new Blob([JSON.stringify({
  title: 'Prepare kickoff',
  category: 'bug',
  reporter: {
    installId: 'A1B2C3D4',
    name: 'Website relaunch',
    email: 'ada@example.com'
  },
  context: {
    app: 'MyApp',
    appVersion: '1.4.0',
    build: '212',
    platform: 'iOS',
    osVersion: '26.1',
    device: 'iPhone',
    locale: 'de-DE',
    country: 'DE',
    route: 'settings/profile',
    timestamp: '2026-11-02T09:00:00.000Z',
    extra: {}
  },
  description: 'Short description'
})], { type: 'application/json' }));
form.append('screenshot', screenshotBlob, 'screenshot.jpg'); // optional

const res = await fetch('https://api.getprojectflow.com/v1/feedback', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.PROJECTFLOW_FEEDBACK_KEY}`,
    'Idempotency-Key': crypto.randomUUID(),
  },
  body: form,
});
const data = await res.json();
import json
import uuid
import os
import requests

res = requests.post(
    "https://api.getprojectflow.com/v1/feedback",
    headers={
        "Authorization": f"Bearer {os.environ['PROJECTFLOW_FEEDBACK_KEY']}",
        "Idempotency-Key": str(uuid.uuid4()),
    },
    files={
        "report": (None, json.dumps({
            "title": "Prepare kickoff",
            "category": "bug",
            "reporter": {
                "installId": "A1B2C3D4",
                "name": "Website relaunch",
                "email": "ada@example.com"
            },
            "context": {
                "app": "MyApp",
                "appVersion": "1.4.0",
                "build": "212",
                "platform": "iOS",
                "osVersion": "26.1",
                "device": "iPhone",
                "locale": "de-DE",
                "country": "DE",
                "route": "settings/profile",
                "timestamp": "2026-11-02T09:00:00.000Z",
                "extra": {}
            },
            "description": "Short description"
        }), "application/json"),
        "screenshot": ("screenshot.jpg", open("screenshot.jpg", "rb"), "image/jpeg"),
    },
)
data = res.json()
var request = URLRequest(url: URL(string: "https://api.getprojectflow.com/v1/feedback")!)
request.httpMethod = "POST"
request.setValue("Bearer \(feedbackKey)", forHTTPHeaderField: "Authorization")
request.setValue(UUID().uuidString, forHTTPHeaderField: "Idempotency-Key")
// Multipart body with the parts "report" (JSON) and "screenshot" (JPEG), see the client below.

let (data, response) = try await URLSession.shared.data(for: request)
Response · 201JSON
{
  "ticketId": "ticket_1",
  "taskId": "task_1",
  "url": "https://app.getprojectflow.com/project/proj_1"
}

Limits

PerLimit
Key60 per minute, 1,000 per day
installId10 per minute, 100 per day
IP address30 per minute

A report can be 64 KB, a screenshot (JPEG or PNG) 5 MB. Metadata such as EXIF and GPS is removed before storing.

Retrying

Retry 409, 429 and 5xx with the same Idempotency-Key. Don't retry 400, 401, 410, 413 or 422. 429 comes with Retry-After: 60, 409 with Retry-After: 5.

For an offline queue, persist { idempotencyKey, report, screenshot } before the first attempt. Delete the entry on 201 or a permanent error, keep it otherwise.

Swift clientSwift
struct FeedbackClient {
    let key: String // pff_… from the build config, never in source control
    let endpoint = URL(string: "https://api.getprojectflow.com/v1/feedback")!

    /// One attempt. idempotencyKey is generated once per report and reused for every retry.
    func send(report: Data, screenshotJPEG: Data?, idempotencyKey: UUID) async throws -> (status: Int, body: Data) {
        let boundary = "pf-\(UUID().uuidString)"
        var request = URLRequest(url: endpoint)
        request.httpMethod = "POST"
        request.setValue("Bearer \(key)", forHTTPHeaderField: "Authorization")
        request.setValue(idempotencyKey.uuidString, forHTTPHeaderField: "Idempotency-Key")
        request.setValue("multipart/form-data; boundary=\(boundary)", forHTTPHeaderField: "Content-Type")

        var body = Data()
        func part(_ name: String, filename: String?, type: String, data: Data) {
            body.append("--\(boundary)\r\n".data(using: .utf8)!)
            let file = filename.map { "; filename=\"\($0)\"" } ?? ""
            body.append("Content-Disposition: form-data; name=\"\(name)\"\(file)\r\n".data(using: .utf8)!)
            body.append("Content-Type: \(type)\r\n\r\n".data(using: .utf8)!)
            body.append(data)
            body.append("\r\n".data(using: .utf8)!)
        }
        part("report", filename: nil, type: "application/json", data: report)
        if let jpeg = screenshotJPEG { part("screenshot", filename: "screenshot.jpg", type: "image/jpeg", data: jpeg) }
        body.append("--\(boundary)--\r\n".data(using: .utf8)!)

        let (data, response) = try await URLSession.shared.upload(for: request, from: body)
        return ((response as? HTTPURLResponse)?.statusCode ?? 0, data)
    }
}

What it becomes

Every report becomes a task with the labels Feedback and the category, the report's text and a context block. The screenshot is attached to the task. If the workspace storage is full, the task is created without it and the description says so.

↑↓ to select, Enter to open, Esc to close