How to include Plugins into API-Requests?

Note: I have not attempted what you seek, just passing this along in the hopes it is an answer to your question which is often asked here, is based on a reply from Logan, an OpenAI employee, and noted in the OpenAI documentation. AFAIK this could be totally wrong but better than nothing.

OpenAI - Documentation - Chat Plugins - Authentication - Service level

If you want to specifically enable OpenAI plugins to work with your API, you can provide a client secret during the plugin installation flow. This means that all traffic from OpenAI plugins will be authenticated but not on a user level. This flow benefits from a simple end user experience but less control from an API perspective.

More details are provided on the documentation page.

If after getting your problem solved, if this helps you can you provide feedback so that others seeking the same will see that this is a possible path to solving their problem. :slightly_smiling_face: