Skip to main content

Hey folks,

Assuming that I have a Zapier bot in my server, is there a way to use Zapier’s Webhooks action to perform an authorized call on Discord API?

Asking because current Discord Action to Find User will only return one record, even if there are multiple users with the same nickname in the guild. An API call on Search Users endpoint will return all records that match the nickname query, which I’d then be able to dump into a lookup table and filter on discriminators.

Cheers,

Evgeny

@evgeny_d1c 

Not currently, but there may be in the near future.

 

Until then, consider hiring help from a Zapier Expert: https://zapier.com/experts


Is there a way to use Zapier’s Webhooks action to query an end-point that requires OAuth2? Without building my own app in Zapier (I’m not a developer) that is.

 

Querying with Bearer tokens is straightforward (for me) using the Webhooks action. OAuth2 - this is where I stumble.

 

Cheers,

Evgeny


@evgeny_d1c 

Looks like Discord uses OAuth2 for authentication per their API docs: https://discord.com/developers/docs/topics/oauth2


Hey,

Of course. The question is how to handle Discord authorisation. I tried querying their API endpoints in a Webhooks zap - only to get a message that I was not authorised.

 

Cheers,

Evgeny


Hi @evgeny_d1c 

Good question.

The Webhooks app has these available actions to use with app APIs: