Return channel and guild partials in webhooks.incoming
payload
#4023
Unanswered
tsickert
asked this question in
API Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goal
Get guild and channel partials as part of the
webhooks.incoming
payload sent to the redirect URI.Background
I want to allow users to create webhooks that they can then use in my application. Currently, the friction I'm experiencing is that I can send a user to make a webhook using the
webhooks.incoming
URL (super cool, btw 😊 ), but when the payload is returned, I only get the channel ID and the guild ID.I can correlate the guild ID by calling the
/users/@me/guilds
endpoint with the access token that was minted, but I can't get the channel name (unless I have a bot in their server).In the UI, I'd like to display something like
<guild name>: #<channel name>
so users know which webhook they're using. I'm getting around it currently by lettings users provide an alias for the channel, but it would be awesome to enable a 1 button flow to add a webhook.Thanks in advance for any feedback!
Beta Was this translation helpful? Give feedback.
All reactions