# Deal Split batch API - Not Allowed

**URL:** <https://community.hubspot.com/t/deal-split-batch-api-not-allowed/113132>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [July 29, 2024, 9:13am UTC](https://community.hubspot.com/t/deal-split-batch-api-not-allowed/113132 "2024-07-29T09:13:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![GBoivin](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@GBoivin](https://community.hubspot.com/u/GBoivin)\
**Post date:** [July 29, 2024, 9:13am UTC](https://community.hubspot.com/t/deal-split-batch-api-not-allowed/113132/1 "2024-07-29T09:13:01Z")

</div>

Hi,

I am trying to retrieve Deal Split using the ‘objects/deals/splits/batch/read API’. I successfully call every deals API and retrieve each deal. However, for this one, I get a 405 - Not Allowed response.

Is there a specific authorization required to call this API?

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 29, 2024, 5:18pm UTC](https://community.hubspot.com/t/deal-split-batch-api-not-allowed/113132/2 "2024-07-29T17:18:40Z")

</div>

Hey, @GBoivin 👋 Can you share a simple example from either the on-page example from the Deals API docs or by using Postman, please? I’d like to set up a quick test and reproduce the issue, so I can investigate it more.

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![hseligson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hseligson/32/20940_2.png) [@hseligson](https://community.hubspot.com/u/hseligson)\
**Post date:** [July 30, 2024, 1:17pm UTC](https://community.hubspot.com/t/deal-split-batch-api-not-allowed/113132/3 "2024-07-30T13:17:18Z")

</div>

Hey @GBoivin - Have you referred to our Postman workspace? Here, you can fork the Deal Splits API Postman collection into your own Postman workspace to begin testing API calls.  
Deal Splits API: [Postman](https://www.postman.com/hubspot/workspace/hubspot-public-api-workspace/api/06ee2728-7c96-4496-91d7-a6c798c16399?action=share&source=copy-link&creator=26126890)  
Create Postman account: [Download Postman | Get Started for Free](https://www.postman.com/postman-account/)  
- Fork the Deal Splits API Collection  
- Follow the prompts to import it into your own Postman workspace  
- Set up authorization and get testing!  
Let us know if you’re still receiving a 405 after this.

---

<div class="post-metadata">

**Author:** ![GBoivin](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@GBoivin](https://community.hubspot.com/u/GBoivin)\
**Post date:** [July 31, 2024, 5:07pm UTC](https://community.hubspot.com/t/deal-split-batch-api-not-allowed/113132/4 "2024-07-31T17:07:36Z")

</div>

Hi,

I used the on-page example from the Deals API documentation and finally found the issue. It was a missing scope.

I don’t understand why Postman gave me a 405 - Not Allowed response with no details, while the on-page example provided the correct “missing scope” error. However, it’s fixed for me now. 🙂

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 31, 2024, 7:39pm UTC](https://community.hubspot.com/t/deal-split-batch-api-not-allowed/113132/5 "2024-07-31T19:39:18Z")

</div>

Hey, @GBoivin Thanks for taking the time to come back and let us know you got it resolved 🙌 — Jaycee
