# How to add device parameters on webhook

**URL:** <https://community.hubspot.com/t/how-to-add-device-parameters-on-webhook/14856>\
**Category:** APIs & Integrations\
**Tags:** forms, webhooks\
**Created:** [June 19, 2019, 12:55am UTC](https://community.hubspot.com/t/how-to-add-device-parameters-on-webhook/14856 "2019-06-19T00:55:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![adrianrotama](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adrianrotama/32/68963_2.png) [@adrianrotama](https://community.hubspot.com/u/adrianrotama)\
**Post date:** [June 19, 2019, 12:55am UTC](https://community.hubspot.com/t/how-to-add-device-parameters-on-webhook/14856/1 "2019-06-19T00:55:32Z")

</div>

Hello there,

I’m trying to figure out the way to add device parameters (mobile/desktop) to webhook request whenever user submitted a form.  
I’ve checked the request response but seems like hubspot doesn’t have device parameter there.

Is there any workaround for this?

for example, i’m thinking to add hidden field on the form, and set device value using javascript. and it will send using hubspot. is it possible with hubspot?

Thank you.

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [June 19, 2019, 1:43pm UTC](https://community.hubspot.com/t/how-to-add-device-parameters-on-webhook/14856/2 "2019-06-19T13:43:08Z")

</div>

Hi, @adrianrotama.

To clarify, are you referring to [workflow webhook actions](https://knowledge.hubspot.com/articles/kcs_article/workflows/how-do-i-use-webhooks-with-hubspot-workflows) or subscriptions in the [Webhooks API](https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview)?

Either way, you should be able to populate a [hidden form field](https://knowledge.hubspot.com/articles/kcs_article/forms/pass-contact-property-values-with-hidden-form-fields) with the desired information and pass it to the contact record. Your [custom contact property](https://knowledge.hubspot.com/articles/kcs_article/contacts/how-can-i-create-a-custom-property) and value will be included in workflow webhook payloads by default. To receive a Webhooks API notification for the property, you must create a contact property change subscription for it (see the _Managing Subscriptions via the UI_ section of [this article](https://developers.hubspot.com/docs/methods/webhooks/webhooks-overview)).

---

<div class="post-metadata">

**Author:** ![adrianrotama](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/adrianrotama/32/68963_2.png) [@adrianrotama](https://community.hubspot.com/u/adrianrotama)\
**Post date:** [June 20, 2019, 1:03am UTC](https://community.hubspot.com/t/how-to-add-device-parameters-on-webhook/14856/3 "2019-06-20T01:03:56Z")

</div>

Hi @IsaacTakushi ,

Thank you for responding.

Thank you for the detailed link. I’m referring to [workflow webhook actions.](https://knowledge.hubspot.com/articles/kcs_article/workflows/how-do-i-use-webhooks-with-hubspot-workflows)

Okay sure, will try using hidden form field first. But I’m just wondering, is there any other options to get device (desktop/mobile) information more easily ?

---

<div class="post-metadata">

**Author:** ![IsaacTakushi](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/isaactakushi/32/70387_2.png) [@IsaacTakushi](https://community.hubspot.com/u/IsaacTakushi)\
**Post date:** [June 20, 2019, 5:50pm UTC](https://community.hubspot.com/t/how-to-add-device-parameters-on-webhook/14856/4 "2019-06-20T17:50:45Z")

</div>

Hi, @adrianrotama.

Happy to help.

I don’t know of any other way to get device information into a workflow webhook requests payload. These requests only contain contact meta data and properties, so the device information must live in a [custom contact property](https://knowledge.hubspot.com/articles/kcs_article/contacts/how-can-i-create-a-custom-property).
