GPTs and API, How to link two GPTs through the API?

Hi ! I was wondering if it was possible to unite two GPTs. I created a personalized GPT and I want to link it with another GPT created by another user using the API. Is that possible ? Please, I´ve tried with python code and GPTs personalized actions but it hasn´t been possible.

This is only possible if you choose an indirect route.

The main problem is that custom GPTs can only be used via the ChatGPT interface, and automating this interface is against the terms of service. Therefore, there is a significant limitation on how much two GPTs can be connected.

As a potential solution, you could create custom actions that edit files accessible to both GPTs. For example, you can make an edit using GPT 1, and the next time you use GPT 2, it can access the updated files.

If multiple users are editing the same files, you will need to implement proper workflows in your backend to prevent inconsistencies.