I’m trying to use a webhook to pull new invoices sent from Payday so I can add the info to my Airtable. This is my first time trying to use webhooks, so I’m 100% certain my questions are at least a little silly. Thanks in advance!
The Payday API documentation specifies that their bearer token is valid for only 24 hours. Every call must have a bearer token in a header. They have a POST call to make a bearer token, requiring clientId and clientSecret. I’m assuming you have to start every automation sequence with that POST, get a token, and then use that token to authenticate in the following steps.
My webhook is already failing at that bearer POST step. Awkward.
I get 401 error, saying to make sure I have a valid ClientID and ClientSecret. I’ve triple checked both.
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/738f489f-b634-4539-86a9-088824daa455.png)
Here are screenshots of my set up.
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/be276ac6-311d-4b5e-b798-4319a1345980.png)
-
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/eecd55c3-6686-4746-8207-12798bb303e9.png)
-
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/1dc53466-9c89-4111-aa09-a03371d9d8aa.png)
-
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/9a1c0136-a117-422e-b0ac-15cbd160b8bb.png)
-
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/49a30e35-24a2-4a3f-b512-8df6bdda6830.png)