Best answer

What response is required to validate success or failure of API Key?

  • 24 December 2021
  • 1 reply
  • 23 views

Hi,

There were issues with the OAuth Server setup, so we resorted to APIKey authentication, right now its getting the json response as returned from the API method. Is there any specific response that is required from Zapier end for validating success or failure of API Key? The current response is sent with code 200 for success  and 201 for failure. The json array passed from our end is 

{
  "success": "true"
}

Thanks,

Anitha

icon

Best answer by mzsadiek 24 December 2021, 10:48

View original

1 reply

Userlevel 3
Badge +4

Hi @Anitha Sabareesh! You can find documentation around API Key Auth here: https://platform.zapier.com/docs/apikey

And here you can find common error responses: https://platform.zapier.com/docs/auth#test

Zapier does not expect a specific success response from your API for the authentication. If you see it returns success 200, it should be fine.

Reply