How to GET form submissions?

Hiii folks, has been a while :smile:

I have a quick question.
I feel kinda dumb for asking, because I’m almost certain there is a simple solution.

How can I GET the subbmissions for a specific form?

Sure - I can POST submissions via /api/inbox/submit/, as stated in the docs, but how can I read those submissions?
There seems to be a way, because in Cockpits User Role configuration (/system/users/roles/role/) I can find a toggle specifically meant to control exactly that:

Is that permission only meant to be used for users with backend access, and not for API Keys?

I have tried GET https://COCKPIT.TLD/api/inbox/submissions/FORM_ID, without success though.

So - Am I dumb? :nerd_face:

Thanks in advance everyone and have an amazing day :slight_smile:

Hi :wave:

There is no api endpoint to get the form submission. I didn’t implement it because of possible privacy data leaks if the api access isn’t setup correctly. So the only option right now, is to setup a custom api endpoint which returns the inbox submissions

Hi Artur, long time no see.

Okay, makes sense. However, GETting form submissions can indeed be pretty important. In my specific case, the goal is to connect a service desk solution to a specific form, so that form submissions can create tickets in said desk. But let’s not get too deep into that :laughing:

I guess I’ll dive into posts like How to create custom API Endpoints - #4 by serjoscha87 than. My PHP knowledge is, let’s say limited, so it will be an interesting ride :joy:

Thanks :v: