Errors
Unless otherwise specified, every endpoint in the API returns a JSON body accompanied by an appropriate HTTP status code.
{
"success": <boolean>,
// ...other returned properties
}
If the action fails, it will include a message describing the reason for failure.
{
"success": false,
"message": <string>
}