Uploading files to my own GPT

Hello everyone, I want to build a GPT for a personal project but I don’t know if I will be able to add the functionality I want.
I have developed an API in which I have endpoints to upload files (for example pdf) to a database. Would it be possible to upload this pdf files to my own GPT and that it send them to my API through an Action?