Skip to main content
A successful response has status: "success" and a data object. A failure has status: "error" and an error object.
string
required
Always error on failure.
string
required
Human-readable explanation. Safe to show a developer; do not parse it.
string
required
Stable machine-readable code. Branch on this.
array
Optional extra context — validation messages, and so on.

HTTP status codes

Error codes

Loom connection errors (unknown_connection, connection_locked, connection_mismatch) are 400 or 422 depending on the path. The message explains which.
Identify codes are SCREAMING_SNAKE. A few Loom codes are snake_case. Match the string exactly.