# Discord webhook web api

**URL:** <https://community.thunkable.com/t/discord-webhook-web-api/1095017>\
**Category:** Questions about Thunkable X\
**Tags:** webapi\
**Created:** [February 13, 2021, 10:41am UTC](https://community.thunkable.com/t/discord-webhook-web-api/1095017 "2021-02-13T10:41:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chilledtimes.edition](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@chilledtimes.edition](https://community.thunkable.com/u/chilledtimes.edition)\
**Post date:** [February 13, 2021, 10:41am UTC](https://community.thunkable.com/t/discord-webhook-web-api/1095017/1 "2021-02-13T10:41:31Z")

</div>

Hi,  
iam making an app where each time a person clicks a particular button it should send in a message to a particular discord channel…so iam use webhooks for the web-API.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/3/43f7471924476b76c8598fd98b8341e038a90388.png)  
THESE ARE MY BLOCKS…BUT UNFORTUNATELY **iam getting an response saying "{“message”: “400: Bad Request”, “code”: 0}"**  
pls help me know my error

 ![image|69x47.1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/741747750a9b280a1b57323d3ded7766ab419fbb.png)  
discord documentation if required 🙂

---

<div class="post-metadata">

**Author:** ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)\
**Post date:** [February 13, 2021, 3:58pm UTC](https://community.thunkable.com/t/discord-webhook-web-api/1095017/3 "2021-02-13T15:58:59Z")

</div>

I searched in the docs and it seems there is a method that you can use Thunkable to write/create a post in Discord. However, you need first to create a webhook in the Discord server to be able to post to it.

---

<div class="post-metadata">

**Author:** ![chilledtimes.edition](https://avatars.discourse-cdn.com/v4/letter/c/edb3f5/32.png) [@chilledtimes.edition](https://community.thunkable.com/u/chilledtimes.edition)\
**Post date:** [February 13, 2021, 4:14pm UTC](https://community.thunkable.com/t/discord-webhook-web-api/1095017/4 "2021-02-13T16:14:41Z")

</div>

ya i tried that and failed…but i found another way of doing it using google app scrip acting as mediator !!!

Anyways, Thanks @muneer

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:29pm UTC](https://community.thunkable.com/t/discord-webhook-web-api/1095017/5 "2024-11-08T13:29:25Z")

</div>


