# Error scope ticket through API

**URL:** <https://community.hubspot.com/t/error-scope-ticket-through-api/11513>\
**Category:** APIs & Integrations\
**Tags:** developer-preview\
**Created:** [November 20, 2018, 11:17pm UTC](https://community.hubspot.com/t/error-scope-ticket-through-api/11513 "2018-11-20T23:17:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 20, 2018, 11:17pm UTC](https://community.hubspot.com/t/error-scope-ticket-through-api/11513/1 "2018-11-20T23:17:19Z")

</div>

Hello, I have an account with the following subscriptions “sales free” “service free” “marketing free”, I already create a pipeline and I am trying to add a ticket through API. I use the following url [https://api.hubapi.com/crm-objects/v1/objects/tickets?hapikey=XXXX](https://api.hubapi.com/crm-objects/v1/objects/tickets?hapikey=XXXX) but I get the following answer {“status”: “error”, “message”: "Must have scope TICKETS\_WRITE “,” correlationId “:” 62a84c30-647c-46c9-9378-aa02a6b5a363 “,” requestId “:” 70ec869c457f0689477e8c4f343c572e "}  
From a free subscription can I create tickets through the API?  
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:** [November 21, 2018, 7:40pm UTC](https://community.hubspot.com/t/error-scope-ticket-through-api/11513/2 "2018-11-21T19:40:31Z")

</div>

Welcome, [@gabriel\_perez](https://community.hubspot.com/u/gabriel_perez)!

You should be able to create tickets via the API with a _Service Hub Free_ account; I tested and confirmed just now in another free account.

What is your Hub ID? I would like to investigate this further.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [November 22, 2018, 3:03pm UTC](https://community.hubspot.com/t/error-scope-ticket-through-api/11513/3 "2018-11-22T15:03:45Z")

</div>

hello Isaac, thank you very much for answering, my Hub ID is 2521754. Thank you very much

---

<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:** [November 26, 2018, 5:44pm UTC](https://community.hubspot.com/t/error-scope-ticket-through-api/11513/4 "2018-11-26T17:44:31Z")

</div>

Hi [@gabriel\_perez](https://community.hubspot.com/u/gabriel_perez),

I appreciate your patience while I was out of office over the Thanksgiving holiday.

I successfully created [this ticket](https://app.hubspot.com/contacts/2521754/ticket/3633916/?interaction=note) using your account’s API key, so I think the issue may be your user permissions rather than the Tickets API or your key.

Can you confirm which permissions your user has to tickets? Per the screenshot below, you must have full access to tickets to create them via the Tickets API:

[

 ![](https://d2qpr2jzcazej7.cloudfront.net/original/3X/f/6/f6e695ea4e5db9ba558aa1f1b0423b8a8f44a100.jpeg)

Tickets Access.jpg875x796 63 KB

]([https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/c/cb575ed6f95f66c073bc5a5ab35f2ce5e7f8b37d.jpeg](https://community.hubspot.com/legacyfs/online/uploads/default/original/2X/c/cb575ed6f95f66c073bc5a5ab35f2ce5e7f8b37d.jpeg))
