Implementing an API Key in Amazon API Gateway

I successfully generated an API Key and integrated it with my functions. After deploying the API and conducting tests, I receive the following response:

“message”: “Forbidden”
What is the correct method to include the API key in my JSON request? I have been attempting to use it in the format “x-api-key”: “theKey”.