User Authentication for webhook to MailChimp

  • 1
  • 1
  • Question
  • Updated 4 months ago
  • Doesn't Need an Answer
I'm trying to set up a webhook to post email subscriber data to a MailChimp account using the MailChimp API. You need to be able to send a user authentication request but I can't figure out how to do this in QuickBase. I've tried adding a header with the key "Authorization" and value of a username and API key, but it doesn't work. 

The error I get back is always: 

{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title"... Key Missing","status":401,"detail":"Your request did not include an API key.","instance":"cf324650-a4c5-420e-80b1-e62703b743fc"}
Photo of Derek Campfield

Derek Campfield

  • 130 Points 100 badge 2x thumb

Posted 4 months ago

  • 1
  • 1
Photo of Derek Campfield

Derek Campfield

  • 130 Points 100 badge 2x thumb
I actually figured this out! You can set a key to Authorization and in the value field put Basic and then the base64 encoding of the username:API Key pairing. Like this:

Authorization: Basic dGVzdA==
Photo of Adrian Cantu

Adrian Cantu

  • 72 Points
Hi Derek, would you be willing to share the webhook used to create this?
Photo of Derek Campfield

Derek Campfield

  • 130 Points 100 badge 2x thumb
Sure - it looks like this.

Photo of Adrian Cantu

Adrian Cantu

  • 72 Points
Awesome, thank you!