Skip to content

Execute a typed first-party portal mutation or batch

POST
/trpc/{trpc}
curl --request POST \
--url https://example.com/api/trpc/example \
--header 'Authorization: Bearer <token>'

Session-only tRPC endpoint; general ah_k API keys are rejected.

trpc
required
string

Typed portal procedure path.

TRPC response envelope

Not authenticated

Media type application/json
object
error
required

Human-readable error message

string
code

Stable machine-readable error code for client branching

string
fieldErrors

First validation message per field path

object
key
additional properties
string
issues

Structured validation issues (Zod)

Array<object>
object
path
required
string
message
required
string
retryAfter

Seconds until rate limit resets (429 responses)

number
reconnect

True if re-linking GitHub may fix the issue

boolean