Upload PDF and extract data from it via API

Hello,
I have a use case where I need to use ChatGPT’s API to upload a file and extract data from it based on a prompt.
I am looking at the API Docs but it seems kinda confusing and I can’t get hang of it.
Anyone can give me a hand on how I can do that?

Welcome to the community!

I’m guessing your programming experience isn’t very high.

I’d recommend these two links…

https://platform.openai.com/docs/quickstart

What have you tried so far?