PinherePinhere issue collaboration API
POST/issues
Create issue
Creates an issue and its issue.created outbox event in one transaction.
Pinhere APIs for projects, origins, issues, private screenshots, webhooks, PATs, and Chrome-extension OAuth. The fixed PontxSpec covers all 34 Endpoints. Hub provides documentation and a local SDK/CLI only; it proxies no request.
Request
- operationId
createIssue- Server
https://pinhere-jasonhzqs-projects.vercel.app/api/v1- Authentication
- pinherePat, websiteSession, extensionOAuth
Request parameters
Idempotency-Key
headerstring
Retained for 24 hours per account and endpoint; reuse with a different request returns 409.
example-idempotency-key
Request body
IssueInputrequired
Content-Type: application/json
Properties: projectIdtitledescriptionpageUrldomattachmentIdsource
Responses
201
objectapplication/json
Issue created.
Properties: data
409
ErrorResponseapplication/json
Page origin does not match the project, or the screenshot is already used.
Properties: error
default
ErrorResponseapplication/json
Standard error response.
Properties: error
{
"data": {
"id": "iss_example",
"userId": "usr_example",
"projectId": "prj_example",
"title": "Checkout button does not submit",
"description": "Clicking the button leaves the page unchanged.",
"pageUrl": "https://shop.example.com/checkout",
"dom": {
"cssSelector": "#checkout-button",
"xpath": "//*[@id='checkout-button']",
"tagName": "BUTTON",
"attributes": {},
"text": "Submit order",
"outerHTML": "<button id=\"checkout-button\">Submit order</button>",
"viewport": {
"width": 1440,
"height": 900,
"devicePixelRatio": 2
},
"boundingRect": {
"x": 1040,
"y": 720,
"width": 180,
"height": 44
}
},
"status": "open"
}
}