# ElevenLabs TTS Posting, Web API

**URL:** <https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510>\
**Category:** Web API's\
**Created:** [May 19, 2024, 7:31am UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510 "2024-05-19T07:31:18Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrewli403lvlmh](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@andrewli403lvlmh](https://community.thunkable.com/u/andrewli403lvlmh)\
**Post date:** [May 19, 2024, 7:31am UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/1 "2024-05-19T07:31:18Z")

</div>

Hi All!

I have been trying to call Elevenlabs’ web API to do a text-to-speech thing. But it seems like I am constantly getting an “undefined/null” response. I saw that Drag and Drog doesn’t support playing the audio, so I recreated the blocks in a new Snap to Place project. I am not sure if I am setting the source of the sound correctly.

Could anyone give me some tips? Thanks!

 ![12861716103804_.pic](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/0/307373f4eee5cb7030c06b613dd9f11828bbfb28.jpeg)

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 19, 2024, 4:37pm UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/2 "2024-05-19T16:37:00Z")

</div>

The source you’ve set is incomplete. It’s only the prefix of the sound file, not the actual audio data.

Two things that are helpful when asking about APIs:

1. Provide a link to the relevant section of the documentation.
2. Include the value of the green response block as text (you can assign it to a text input’s text and then copy and paste it here). It’s best to format it using the \</\> button in the toolbar above your post. That removes smart quotes and other symbols that can invalidate a JSON response.

·····················································································································  
Need help? [How to Ask Great Questions](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983) ✨ [Debugging A Project](https://community.thunkable.com/t/debugging-in-thunkable-x-video/849471) ✨ [API JSON Tutorial](https://community.thunkable.com/t/api-json-tutorial-video/1140575)

Want to hire a Certified Thunkable Expert? [Elevate your app with Tatiang on Fiverr](https://www.fiverr.com/s/726B4a)

---

<div class="post-metadata">

**Author:** ![andrewli403lvlmh](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@andrewli403lvlmh](https://community.thunkable.com/u/andrewli403lvlmh)\
**Post date:** [May 20, 2024, 5:17am UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/3 "2024-05-20T05:17:53Z")

</div>

Hi Tatiang!

Thanks for replying!  
Here is the link to the API documentation and endpoint: [Text To Speech - ElevenLabs](https://elevenlabs.io/docs/api-reference/text-to-speech). [https://api.elevenlabs.io/v1/text-to-speech/OOk3INdXVLRmSaQoAX9D](https://api.elevenlabs.io/v1/text-to-speech/OOk3INdXVLRmSaQoAX9D)

For the response block, I am getting an undefined response. (Even after setting the response to the text input’s text block and joined with the source).

Thanks!

And for point 2,

---

<div class="post-metadata">

**Author:** ![andrewli403lvlmh](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@andrewli403lvlmh](https://community.thunkable.com/u/andrewli403lvlmh)\
**Post date:** [May 20, 2024, 5:21am UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/4 "2024-05-20T05:21:39Z")

</div>

![PHOTO-2024-05-20-13-19-26](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/d/8d21cddd8a7b420f142851e3ed687d36b4889e0c.jpeg)  
 ![PHOTO-2024-05-20-13-19-17](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/a/7a614d2b8c1ab5d396eb832cfbfcec5e00db60ef.jpeg)

this is how I am setting the blocks, would this be correct?

I am getting an error from my live editor.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 20, 2024, 6:46am UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/5 "2024-05-20T06:46:52Z")

</div>

It’s really hard to know when I can only see part of the blocks and some important API blocks are missing from the screenshot.

Where does the “Something has gone wrong” crash occur? Between which blocks?

You may want to use the debugging method I link to below.

·····················································································································  
Need help? [How to Ask Great Questions](https://community.thunkable.com/t/how-to-ask-great-questions-v2-0/2689983) ✨ [Debugging A Project](https://community.thunkable.com/t/debugging-in-thunkable-x-video/849471) ✨ [API JSON Tutorial](https://community.thunkable.com/t/api-json-tutorial-video/1140575)

Want to hire a Certified Thunkable Expert? [Elevate your app with Tatiang on Fiverr](https://www.fiverr.com/s/726B4a)

---

<div class="post-metadata">

**Author:** ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)\
**Post date:** [May 20, 2024, 8:52am UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/6 "2024-05-20T08:52:10Z")

</div>

I use Eleven Labs API, Thunkable can’t Handle it’s Response, you have to Use Backend integration, I too did so.  
I can help you more with this, DM me.

* * *

Want to hire a Certified Thunkable Expert? [Whoocoder | Thunkable Expert | Order Now On Fiver!!](https://pro.fiverr.com/certified/thunkable?utm_source=fiverr_certified&utm_medium=homepage&utm_campaign=certified_home&service=thunkable-project&active_expert_id=147498421)

---

<div class="post-metadata">

**Author:** ![andrewli403lvlmh](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@andrewli403lvlmh](https://community.thunkable.com/u/andrewli403lvlmh)\
**Post date:** [May 21, 2024, 2:50am UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/7 "2024-05-21T02:50:03Z")

</div>

Hi!

I am new to Thunkable forum, is there a DM option on Thunkable?

Best,  
Andrew

---

<div class="post-metadata">

**Author:** ![pacecode](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pacecode/32/209017_2.png) [@pacecode](https://community.thunkable.com/u/pacecode)\
**Post date:** [May 21, 2024, 3:04am UTC](https://community.thunkable.com/t/elevenlabs-tts-posting-web-api/3011510/8 "2024-05-21T03:04:12Z")

</div>

Click on my Profile Picture, there a message option at right bottom would be there
