Skip to content
Sign Up Free
API Reference

OpenAI Responses API

Test BetterToken's OpenAI Responses API for Codex: Base URL, Bearer API Key, and POST /v1/responses.

POST /v1/responses

Use this endpoint for Codex and applications that use the OpenAI Responses API.

Test in the Playground

In the Playground on the right, enter your API Key, replace model with a current model ID when needed, and send the request. Confirm the model in the model plaza before testing.

POST/v1/responses

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body application/json

modelstringrequired

A model ID currently available in the model plaza. Check the model plaza for the latest options.

Example:"YOUR_MODEL_ID"
inputstringrequired

The text input to send to the model.

Example:"Hello"

Response

200The Responses API result from the selected model.
400Invalid request format or parameters.
401The BetterToken API Key is missing or invalid.
402The account has insufficient credit or balance.
429The request exceeded a rate or concurrency limit, or the upstream service is busy.
500The gateway or upstream service returned an error.