Best answer

What do I return when implementing API Key authorization?

  • 21 October 2021
  • 1 reply
  • 36 views

What should my app respond with for success / failure? I couldn’t find it in the docs.

icon

Best answer by Zane 21 October 2021, 17:25

View original

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Userlevel 7
Badge +9

With API key auth, you’re collecting a key from your user and simply including it in a header or param of every request to your API. Any API request will return a response with a status of HTTP 200 if auth was authorized, and an HTTP 401 if the API key is invalid.