OpenAI

Generated from:

Create a POST request to OpenAI to send a chat completion with gpt-4o-mini

Request

POST

URL

https://api.openai.com/v1/chat/completions

Headers

AuthorizationBearer {{OPENAI_API_KEY}}
Content-Typeapplication/json

Body

{"model":"gpt-4o-mini","messages":[{"role":"user","content":"Hello, how can I use GPT-4?"}],"temperature":0.7}

This request was generated from:

Create a POST request to OpenAI to send a chat completion with gpt-4o-mini

Generate your own →

Type any API. Get a production-ready request. No login required.