# associate a ticket with internal id

**URL:** <https://community.hubspot.com/t/associate-a-ticket-with-internal-id/34388>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [March 23, 2021, 6:30pm UTC](https://community.hubspot.com/t/associate-a-ticket-with-internal-id/34388 "2021-03-23T18:30:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yinonby](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/yinonby/32/99678_2.png) [@yinonby](https://community.hubspot.com/u/yinonby)\
**Post date:** [March 23, 2021, 6:30pm UTC](https://community.hubspot.com/t/associate-a-ticket-with-internal-id/34388/1 "2021-03-23T18:30:22Z")

</div>

When creating a ticket through the API, is there a field that is meant to associate the ticket with an internal id?

And, is there a way to set more information, such as the customer’s email address?

Following this doc [Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/tickets) I couldn’t find anything..

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [March 24, 2021, 4:22pm UTC](https://community.hubspot.com/t/associate-a-ticket-with-internal-id/34388/2 "2021-03-24T16:22:47Z")

</div>

Hey @yinonby

What do you mean by internal id? When a ticket is created, a unique Ticket ID is created. It is not editable.

As for the email address, you can create custom properties for tickets. Via the [UI](https://knowledge.hubspot.com/crm-setup/manage-your-properties#create-custom-properties) or the [API](https://developers.hubspot.com/docs/api/crm/properties)

---

<div class="post-metadata">

**Author:** ![yinonby](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/yinonby/32/99678_2.png) [@yinonby](https://community.hubspot.com/u/yinonby)\
**Post date:** [March 24, 2021, 6:00pm UTC](https://community.hubspot.com/t/associate-a-ticket-with-internal-id/34388/3 "2021-03-24T18:00:03Z")

</div>

The custom properties is what I was looking for, thanks.

---

<div class="post-metadata">

**Author:** ![yinonby](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/yinonby/32/99678_2.png) [@yinonby](https://community.hubspot.com/u/yinonby)\
**Post date:** [March 24, 2021, 7:32pm UTC](https://community.hubspot.com/t/associate-a-ticket-with-internal-id/34388/4 "2021-03-24T19:32:28Z")

</div>

About the email, what I would like is that when I log into the ticket on the hubspot dashboard, when I compose an email, I want it to autocomplete to the customer’s email (the one I want to associate somehow with the ticket.)
