# Query "Layout \> Cards" using API?

**URL:** <https://community.hubspot.com/t/query-layout-cards-using-api/116495>\
**Category:** APIs & Integrations\
**Tags:** professional, starter\
**Created:** [September 17, 2024, 3:20pm UTC](https://community.hubspot.com/t/query-layout-cards-using-api/116495 "2024-09-17T15:20:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![acambule](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/acambule/32/203866_2.png) [@acambule](https://community.hubspot.com/u/acambule)\
**Post date:** [September 17, 2024, 3:20pm UTC](https://community.hubspot.com/t/query-layout-cards-using-api/116495/1 "2024-09-17T15:20:00Z")

</div>

Hi there,

I’ve set up a custom “card” in the standard-view of the deal (data management \> Deals ). Internal Name: “invoice-deals”.

The card is of the type “deals” and i show some deal properties and a custom field “offer\_link” to save a link to the offer of the invoice software.

Now i do not want to put the data manually - but use my “private app” via API to associate the deal using the DealId and update the offer\_link.

I tried it like: [https://api.hubapi.com/crm/v4/objects/invoice-deals/](https://api.hubapi.com/crm/v4/objects/invoice-deals/) but that object is not found.

As you can give an internal name i thought it should be possible to interact with using the api, but I couldn’t find the correct api call to access this object. Is this possible at all?

---

<div class="post-metadata">

**Author:** ![KhushbooP11](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/khushboop11/32/8252_2.png) [@KhushbooP11](https://community.hubspot.com/u/KhushbooP11)\
**Post date:** [September 18, 2024, 12:04pm UTC](https://community.hubspot.com/t/query-layout-cards-using-api/116495/2 "2024-09-18T12:04:03Z")

</div>

Hi @acambule,

Currently, HubSpot’s API doesn’t support direct interaction with custom “cards” or custom views created in the CRM (like your “invoice-deals” card).

Workaround:  
1. To update the offer\_link field on a deal, you’ll need to use the Deals API and update the specific deal’s properties:

2. Make an API call to update the deal by DealId:  
PUT [https://api.hubapi.com/crm/v3/objects/deals/{dealId}](https://api.hubapi.com/crm/v3/objects/deals/%7BdealId%7D)  
3. In your request body, include the offer\_link custom field.

This way, you can update the necessary deal properties, but interacting directly with custom cards via the API isn’t supported yet.

I hope it helps, let me know if you need to [talk](https://calendly.com/khushboo-pokhriyal/30min?month=2024-08)!

Khushboo Pokhriyal

Growth & Operations

GroRapid Labs

[LinkedIn |](https://www.linkedin.com/in/khushboopokhriyal)9315044754 | [Email |](mailto:khushboo.pokhriyal@grorapid.com)[Website](https://www.grorapidlabs.com/)
