Help with rest API authentication

I finally am trying to use my server for torrenting so I setup the docker container however I cannot seem to get the API to work on account of a 401 {“error”: “Unauthorized access”} message I am supplying my X-Api-Key in the headers of my request but I must be doing something wrong.!
Screenshot of the curl command|690x118
Screenshot of my tribconf