# Create Ticket and associate with a company on same POST request

**URL:** <https://community.hubspot.com/t/create-ticket-and-associate-with-a-company-on-same-post-request/45341>\
**Category:** HubSpot Ideas\
**Tags:** help-desk, api\
**Created:** [October 14, 2021, 7:18am UTC](https://community.hubspot.com/t/create-ticket-and-associate-with-a-company-on-same-post-request/45341 "2021-10-14T07:18:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AviA](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@AviA](https://community.hubspot.com/u/AviA)\
**Post date:** [October 14, 2021, 7:18am UTC](https://community.hubspot.com/t/create-ticket-and-associate-with-a-company-on-same-post-request/45341/1 "2021-10-14T07:18:47Z")

</div>

Hi,

An idea for “create ticket” endpoint:  
[https://api.hubapi.com/crm/v3/objects/tickets?hapikey=X](https://api.hubapi.com/crm/v3/objects/tickets?hapikey=X)  
with a body request e.g:

{

“properties”: {

```
"hs\_pipeline": some\_id,

"hs\_pipeline\_stage": some\_id,

"subject": "test"

```

}

}

and to be able to associate it with a company at the same time with the above POST request, without making another PUT request to associations endpoint.

Thanks
