Pinhere/createApiToken

Online calls unavailable · details below

PinherePinhere issue collaboration API

POST/tokens

Create API token

Creates a ph_pat_ PAT returned once with fixed projects:read, issues:read, and issues:write scopes.

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
createApiToken
Server
https://pinhere-jasonhzqs-projects.vercel.app/api/v1
Authentication
pinherePat, websiteSession, extensionOAuth

Request parameters

No URL, query, or header parameters.

Request body

ApiTokenInputrequired

Content-Type: application/json

Properties: nameexpiresAt

Responses

201

objectapplication/json

Token metadata and one-time PAT.

Properties: data

default

ErrorResponseapplication/json

Standard error response.

Properties: error

{}