In a large bowl, mix the buttermilk with hot sauce (if using). Season the chicken pieces with salt and pepper, then submerge them in the buttermilk mixture. Refrigerate for at least 2 hours, preferably overnight.
In a separate bowl, combine the flour, paprika, garlic powder, onion powder, cayenne pepper, salt, and black pepper.
Remove chicken pieces from the buttermilk, allowing excess to drip off. Dredge each piece thoroughly in the flour mixture, pressing the coating onto the chicken to ensure it adheres well.
Set the air fryer to 375 degrees F, for 3-5 minutes.
Place the coated chicken pieces in the air fryer basket in a single layer, ensuring they are not touching. Lightly spray the chicken with cooking spray. Cook for 20-22 minutes, flipping halfway through, until golden brown and cooked through.
Once the chicken is fully cooked, remove from the air fryer and allow it to rest for a few minutes before serving.