HubstaffDeveloper Portal

Getting started

HTTP status codes

The API uses standard HTTP status codes. Error bodies follow a predictable shape so you can route on a stable machine-readable code.

StatusNameMeaning
200OKRequest succeeded.
201CreatedResource was created successfully.
204No ContentRequest succeeded with no response body.
400Bad RequestRequest validation failed.
401UnauthorizedMissing or invalid credentials.
403ForbiddenAuthenticated but not authorized.
404Not FoundResource does not exist.
409ConflictRequest conflicts with current state.
422UnprocessableSemantic validation failed.
429Too Many RequestsRate limit exceeded — retry after the Retry-After header.
5xxServer errorHubstaff error; retry with exponential backoff.

See the errors reference for the full list of machine-readable error codes and response shapes.