HTTP 401
unauthorized
What to do: Provide a session cookie or an Authorization: Bearer pb_live_… key.
Everything under /v1 requires authentication. The public submit endpoint POST /s/{formId} does not.
Shape
{ "error": { "code": "unauthorized", "message": "…", "hint": "Provide a session cookie or an Authorization: Bearer pb_live_… key.", "docs": "https://postbag.dev/docs/errors/unauthorized/" } } All codes are listed on the error reference. Conventions for the envelope, hints and next[] are in the API overview.