# What is the correct format for including the API key in Speakatoo

**URL:** <https://community.postman.com/t/what-is-the-correct-format-for-including-the-api-key-in-speakatoo/71502>\
**Category:** Help Hub\
**Tags:** api\
**Created:** [November 21, 2024, 6:49am UTC](https://community.postman.com/t/what-is-the-correct-format-for-including-the-api-key-in-speakatoo/71502 "2024-11-21T06:49:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![supply-geoscientist6](https://avatars.discourse-cdn.com/v4/letter/s/97f17d/32.png) [@supply-geoscientist6](https://community.postman.com/u/supply-geoscientist6)\
**Post date:** [November 21, 2024, 6:49am UTC](https://community.postman.com/t/what-is-the-correct-format-for-including-the-api-key-in-speakatoo/71502/1 "2024-11-21T06:49:20Z")

</div>

I am working with Speakatoo’s API and need clarification on how to properly include the API key in the headers for requests. Should it be added as `Authorization: Bearer [API_KEY]`, or does [Speakatoo](https://www.speakatoo.com/) require a different format?

If possible, please provide an example of the correct format. Thank you!

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [November 21, 2024, 7:03am UTC](https://community.postman.com/t/what-is-the-correct-format-for-including-the-api-key-in-speakatoo/71502/2 "2024-11-21T07:03:31Z")

</div>

Hey @supply-geoscientist6 👋🏻

From the documentation:

> **[Speakatoo - API Documentation - MP3 & WAV Text to Speech: Male/Female AI...](https://www.speakatoo.com/documentation_view/speakatoo--api-documentation)**
>
> Discover our advanced Text to Speech service with over 1000 lifelike AI voices, including male/female options. Download TTS files in MP3 and WAV formats. Our AI voice generator delivers natural, human-like tones perfect for e-learning, presentations,...

Once you signup/in you go to your account page and get your API Key:

 ![1000010440](https://us1.discourse-cdn.com/getpostman/original/3X/2/c/2cdcb40aad5e63196764dab25e56ffb8688b1368.png)

It’s used in the request headers like this:

> You need to pass API Key in the HTTP Authorization request header as ‘X-API-KEY: YOUR-API-KEY’. Your Content-Type header should be ‘Content-Type: application/json’.

I’ve never used this service so I’m just repeating what the documentation is saying.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [December 21, 2024, 7:04am UTC](https://community.postman.com/t/what-is-the-correct-format-for-including-the-api-key-in-speakatoo/71502/3 "2024-12-21T07:04:27Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
