# Accessing custom module via API

**URL:** <https://community.hubspot.com/t/accessing-custom-module-via-api/41349>\
**Category:** APIs & Integrations\
**Tags:** developer-tools\
**Created:** [July 27, 2021, 1:00pm UTC](https://community.hubspot.com/t/accessing-custom-module-via-api/41349 "2021-07-27T13:00:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![VDrigin](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/vdrigin/32/78108_2.png) [@VDrigin](https://community.hubspot.com/u/VDrigin)\
**Post date:** [July 27, 2021, 1:00pm UTC](https://community.hubspot.com/t/accessing-custom-module-via-api/41349/1 "2021-07-27T13:00:02Z")

</div>

We created a custom module called intruductions on HubSpot.

Now we would like to access it via API.

When I click on the module the ending of the link is the follwing:

/objects/2-1110315/views/all/list

Can I access it using something similar to:

GET /contacts/v1/lists/all/contacts/all  
GET /companies/v2/companies/paged  
GET /deals/v1/deal/paged

Thank you

---

<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:** [July 27, 2021, 8:16pm UTC](https://community.hubspot.com/t/accessing-custom-module-via-api/41349/2 "2021-07-27T20:16:01Z")

</div>

@VDrigin , I am assuming you are talking about a custom object and not a custom module.

You can get all the records via the api with this get request

**[https://api.hubapi.com/crm/v3/objects/2-1110315?hapikey=YOUR\_HUBSPOT\_API\_KEY](https://api.hubapi.com/crm/v3/objects/2-1110315?hapikey=YOUR_HUBSPOT_API_KEY)**

Available endpoints are [here](https://developers.hubspot.com/docs/api/crm/crm-custom-objects)

---

<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:** [July 28, 2021, 1:50pm UTC](https://community.hubspot.com/t/accessing-custom-module-via-api/41349/3 "2021-07-28T13:50:38Z")

</div>

Hi @VDrigin ,  
You can get custom object record with api :  
[https://api.hubapi.com/crm/v3/objects/\](https://api.hubapi.com/crm/v3/objects/%5C)?hapikey=YOUR\_HUBSPOT\_API\_KEY  
Please followed below link for custom objects.  
[Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/crm/crm-custom-objects)

Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.  
Thanks and Regards.
