curl -X POST https://api.example.com/tongyi/gpts/chat \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "gpt_id": "gpt_123456", "messages": [ {"role": "user", "content": "Hello"} ] }'
Chat with custom GPTs on Tongyi