curl quickstart
Check the full request path with a minimal OpenAI compatible call.
Before you begin
- Prepare
YOUR_API_KEYon the keys page. - Choose an available model on the models and pricing page and substitute it for
YOUR_MODEL. - Confirm that your network can reach
https://api.popgo.site.
Send the request
This request uses the OpenAI compatible Base URL.
curl https://api.popgo.site/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "YOUR_MODEL",
"messages": [
{"role": "user", "content": "Reply with a connection confirmation"}
]
}'
What success looks like
A successful HTTP status with assistant content confirms the Base URL, key, and model. If it fails, continue with the matching status code in troubleshooting.
Next step
Continue with the OpenAI, Claude, or Gemini protocol guide supported by your client, or choose a software integration.