# GPT 3.5 is not configured despite having an API key

**URL:** https://meta.discourse.org/t/gpt-3-5-is-not-configured-despite-having-an-api-key/307186
**Category:** Support
**Created:** [May 7, 2024, 1:23pm UTC](https://meta.discourse.org/t/gpt-3-5-is-not-configured-despite-having-an-api-key/307186 "2024-05-07T13:23:00Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Master](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/master/32/383814_2.png) [@Master](https://meta.discourse.org/u/Master)
#### Post date: [May 7, 2024, 9:48pm UTC](https://meta.discourse.org/t/gpt-3-5-is-not-configured-despite-having-an-api-key/307186/5 "2024-05-07T21:48:43Z")

</div>

```plaintext
curl https://api.openai.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $12345679" \
  -d '{
     "model": "gpt-3.5-turbo",
     "messages": [{"role": "user", "content": "Say this is a test!"}],
     "temperature": 0.7
   }'

```

would this structure be? That is, leaving the “$” before and (") after the api key?

---

_[View the full topic](https://meta.discourse.org/t/gpt-3-5-is-not-configured-despite-having-an-api-key/307186)._
