WP OctoDocs

Errors

The status codes the API answers with, and what each means.

StatusMeaning
200the request succeeded and the body is the result
401no key, or a key that is not valid — Authentication
403the key is valid but may not do this
404no such record in this workspace, or no such route
422a parameter did not validate; the body names the field and the problem
429too many requests; wait for the time in Retry-After
500something went wrong on the platform; retry later and report it if it persists

Error bodies are JSON with a message. A 422 adds an errors object keyed by parameter name.