Skip to main content
Best answer

What do I return when implementing API Key authorization?

  • October 21, 2021
  • 1 reply
  • 55 views

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

Best answer by Zane

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. 

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

Forum|alt.badge.img+9
  • Zapier Staff
  • Answer
  • October 21, 2021

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.