# How to GET form submissions?

**URL:** <https://discourse.getcockpit.com/t/how-to-get-form-submissions/2854>\
**Category:** Cockpit v2\
**Created:** [August 18, 2023, 8:31am UTC](https://discourse.getcockpit.com/t/how-to-get-form-submissions/2854 "2023-08-18T08:31:54Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jamo](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/jamo/32/1117_2.png) [@Jamo](https://discourse.getcockpit.com/u/Jamo)\
**Post date:** [August 18, 2023, 8:31am UTC](https://discourse.getcockpit.com/t/how-to-get-form-submissions/2854/1 "2023-08-18T08:31:54Z")

</div>

Hiii folks, has been a while 😄

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](https://getcockpit.com/documentation/pro/inbox/api), 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:

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getcockpit/original/2X/1/159ba353137306047290d2ce83f8a76feea636ca.png)

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? 🤓

Thanks in advance everyone and have an amazing day 🙂

---

<div class="post-metadata">

**Author:** ![artur](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/artur/32/4_2.png) [@artur](https://discourse.getcockpit.com/u/artur)\
**Post date:** [August 19, 2023, 11:50am UTC](https://discourse.getcockpit.com/t/how-to-get-form-submissions/2854/2 "2023-08-19T11:50:13Z")

</div>

Hi 👋

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

---

<div class="post-metadata">

**Author:** ![Jamo](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.getcockpit.com/jamo/32/1117_2.png) [@Jamo](https://discourse.getcockpit.com/u/Jamo)\
**Post date:** [August 31, 2023, 12:58pm UTC](https://discourse.getcockpit.com/t/how-to-get-form-submissions/2854/3 "2023-08-31T12:58:41Z")

</div>

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 😆

I guess I’ll dive into posts like [How to create custom API Endpoints - #4 by serjoscha87](https://discourse.getcockpit.com/t/how-to-create-custom-api-endpoints/202/4) than. My PHP knowledge is, let’s say limited, so it will be an interesting ride 😂

Thanks ✌
