Errors

When an error is encountered, the API will still return JSON with an error message along with a standard HTTP response code for 400 or above. Here is an example:

{
	"error": {
		"msg": "Invalid email address format.",
		"code": 500,
		"page": "contact.php"
	}
}