# How to create a custom submission

**URL:** <https://community.hubspot.com/t/how-to-create-a-custom-submission/65753>\
**Category:** APIs & Integrations\
**Created:** [September 23, 2022, 1:01pm UTC](https://community.hubspot.com/t/how-to-create-a-custom-submission/65753 "2022-09-23T13:01:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DKostelny](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@DKostelny](https://community.hubspot.com/u/DKostelny)\
**Post date:** [September 23, 2022, 1:01pm UTC](https://community.hubspot.com/t/how-to-create-a-custom-submission/65753/1 "2022-09-23T13:01:40Z")

</div>

Hi, I’ve got one question, how to create a custom form submission inside the contact using a PHP client?

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [September 26, 2022, 9:46am UTC](https://community.hubspot.com/t/how-to-create-a-custom-submission/65753/2 "2022-09-26T09:46:05Z")

</div>

Hi @DKostelny,

Thank you for reaching out to the Community!

I wanted to tag in a couple of subject matter experts to see if they can help:

hi @danhammari, [@Mike\_Eastwood](https://community.hubspot.com/t5/user/viewprofilepage/user-id/9259), @Nickm66, @tominal, do you have any advice you could share with us? Thank you!

Cheers  
Mia, Community Team

---

<div class="post-metadata">

**Author:** ![Mike\_Eastwood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/mike_eastwood/32/70075_2.png) [@Mike\_Eastwood](https://community.hubspot.com/u/Mike_Eastwood)\
**Post date:** [September 26, 2022, 8:23pm UTC](https://community.hubspot.com/t/how-to-create-a-custom-submission/65753/3 "2022-09-26T20:23:59Z")

</div>

Hi @DKostelny

You can download the [PHP SDK from Github](https://github.com/HubSpot/hubspot-api-php).

Then use the [Form Submission Endpoint](https://legacydocs.hubspot.com/docs/methods/forms/submit_form_v3_authentication).

Make sure your App is using OAuth or Private Apps for security. API Keys wont exist soon.

Have fun

Mike

---

<div class="post-metadata">

**Author:** ![DKostelny](https://avatars.discourse-cdn.com/v4/letter/d/d26b3c/32.png) [@DKostelny](https://community.hubspot.com/u/DKostelny)\
**Post date:** [October 11, 2022, 8:22am UTC](https://community.hubspot.com/t/how-to-create-a-custom-submission/65753/4 "2022-10-11T08:22:00Z")

</div>

PHP SDK form functions not working - I just get an error about CORS. What can I do? And the same thing I have with a Form Submission Endpoint.

---

<div class="post-metadata">

**Author:** ![MiaSrebrnjak](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/miasrebrnjak/32/10_2.png) [@MiaSrebrnjak](https://community.hubspot.com/u/MiaSrebrnjak)\
**Post date:** [October 25, 2022, 12:53pm UTC](https://community.hubspot.com/t/how-to-create-a-custom-submission/65753/5 "2022-10-25T12:53:59Z")

</div>

Hi @DKostelny, are you still experiencing issues? If yes, I’d recommend creating a new post [here](https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations) and including as much information about the error and the steps you took as possible, preferably with screenshots. Thank you!

Mia, Community team
