Success Codes

CodeDescription
200OK - Request processed successfully
201Created - Resource created successfully
204No Content - Resource deleted successfully

Error Codes

CodeDescription
400Bad Request - Invalid or malformed data
401Unauthorized - Invalid, missing, or expired API key
403Forbidden - No permission to access resource
404Not Found - Resource or endpoint not found
405Method Not Allowed - HTTP method not supported
422Unprocessable Entity - Valid data that cannot be processed
500Internal Server Error - Server error

Error Response Format

All errors follow the WordPress REST API standard format:
{
  "code": "error_code",
  "message": "Human readable error message",
  "data": {
    "status": 400
  }
}