All API responses follow a consistent structure, giving you predictable parsing across every endpoint.Documentation Index
Fetch the complete documentation index at: https://docs.flowpayroll.ai/llms.txt
Use this file to discover all available pages before exploring further.
Success
message.text— a human-readable summary.message.token— a stable machine-readable key. Branch on this rather than onmessage.text, which may change wording or be localised.content.data— the resource(s) returned by the endpoint.content.metadata— context such as the date and date-time formats used indata.
Errors
Errors use the same envelope. Thetoken identifies the error, and tokenArguments carries any parameters needed to render a message.
HTTP status codes
| Status | Meaning |
|---|---|
200 / 201 | Success. |
400 | Validation error — check message.token and tokenArguments. |
401 | Missing or invalid X-Auth-Token — see Authentication. |
403 | Authenticated but not authorised for the resource. |
404 | Resource not found within your organisation. |
429 | Rate limited — back off and retry. |
5xx | Server error — retry with backoff; if it persists, contact support. |