API

Protocols & headers

HTTPS-only with TLS 1.3, standard methods, and a small set of platform headers you can rely on.

HTTP methods#

MethodUse
GETRead resources
POSTCreate resources, perform actions (always idempotent)
PATCHPartial update of a resource
DELETECancel or remove a resource

Common headers#

HeaderPurpose
AuthorizationBearer token (API key or OAuth access token)
Idempotency-KeySafe-retry key on POST writes (24h window)
X-Pierflow-TenantOverride tenant context for partner-of-partner scenarios
X-RateLimit-LimitReturned: requests per minute on your tier
X-RateLimit-RemainingReturned: requests left this minute
X-Request-IdReturned on every response; quote when filing support tickets

Example response headers#

http
http
HTTP/1.1 200 OK
Content-Type: application/json
X-Request-Id: req_01HX7K2A3B4C5D
X-RateLimit-Limit: 300
X-RateLimit-Remaining: 296