Copy the cURL example from the page and replace:
-
API Key
-
Model ID

Step 1: Record Your Field Configuration
curl "https://api.benpay.ai/openai/v1/chat/completions" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{ "model": "YOUR_MODEL_ID", "messages": [{"role": "user", "content": "Hello"}]
}'
Step 2: Send a Request from Your Terminal or Development Environment
Enter the template and use your API Key and model to make a request.

Step 3: Successful Request
