<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Custom Object Endpoints, not able to get custom object schema. in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-Endpoints-not-able-to-get-custom-object-schema/m-p/741185#M60296</link>
    <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/362106"&gt;@PPSL&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for reaching out to the community.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you call this endpoint here, you're getting all schemas.&lt;/P&gt;
&lt;PRE&gt;crm/v3/schemas&lt;/PRE&gt;
&lt;P&gt;There you can also find key for &lt;EM&gt;name&lt;/EM&gt;. This is what you can use to get only the specific schema.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, it is even better or more reliable to use &lt;EM&gt;objectType&lt;/EM&gt; which looks like an ID similar to this&amp;nbsp;&lt;EM&gt;2-106804705&lt;/EM&gt;. You can find that also in the first endpoint I mentioned, or just navigate to your object within the HubSpot UI and take a look at the URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this ID you can always use the respective endpoints like this:&lt;/P&gt;
&lt;PRE&gt;crm/v3/schemas/2-106804705&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you found this post helpful, consider helping others in the community to find answers faster by marking this as a solution. I'd really appreciate it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chriso&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Jan 2023 13:34:11 GMT</pubDate>
    <dc:creator>ChrisoKlepke</dc:creator>
    <dc:date>2023-01-13T13:34:11Z</dc:date>
    <item>
      <title>Custom Object Endpoints, not able to get custom object schema.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-Endpoints-not-able-to-get-custom-object-schema/m-p/741123#M60289</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created a custom object as "My_Object", But while executing the schema endpoint to get all the field schema, I am not getting the response, It should be return from field schema.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;API -&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://api.hubapi.com/crm/v3/schemas/My_Object" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/schemas/My_Object&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while executing the above api getting the below response.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"status"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"message"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"Unable&amp;nbsp;to&amp;nbsp;infer&amp;nbsp;object&amp;nbsp;type&amp;nbsp;from: My Object"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"correlationId"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"353df7e7-a271-485a-8be2-6b3bbfaee435"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;the same API is working with single word as an example custom object "worker".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;API -&amp;nbsp;&lt;A href="https://api.hubapi.com/crm/v3/schemas/worker" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/schemas/worker&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"labels"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;{&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"singular"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"worker"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"plural"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"workers"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;},&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"requiredProperties"&lt;/SPAN&gt;&lt;SPAN&gt;:&amp;nbsp;[&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;"worker_id"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;],&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;It seems like we can create a custom object with "underscore", but at the time of checking the schema part custom object is not working with "underscore".&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Can anyone help me on this.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 13 Jan 2023 11:30:14 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-Endpoints-not-able-to-get-custom-object-schema/m-p/741123#M60289</guid>
      <dc:creator>PPSL</dc:creator>
      <dc:date>2023-01-13T11:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Object Endpoints, not able to get custom object schema.</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-Endpoints-not-able-to-get-custom-object-schema/m-p/741185#M60296</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/362106"&gt;@PPSL&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thank you for reaching out to the community.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you call this endpoint here, you're getting all schemas.&lt;/P&gt;
&lt;PRE&gt;crm/v3/schemas&lt;/PRE&gt;
&lt;P&gt;There you can also find key for &lt;EM&gt;name&lt;/EM&gt;. This is what you can use to get only the specific schema.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, it is even better or more reliable to use &lt;EM&gt;objectType&lt;/EM&gt; which looks like an ID similar to this&amp;nbsp;&lt;EM&gt;2-106804705&lt;/EM&gt;. You can find that also in the first endpoint I mentioned, or just navigate to your object within the HubSpot UI and take a look at the URL.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With this ID you can always use the respective endpoints like this:&lt;/P&gt;
&lt;PRE&gt;crm/v3/schemas/2-106804705&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you found this post helpful, consider helping others in the community to find answers faster by marking this as a solution. I'd really appreciate it.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Chriso&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 13:34:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Custom-Object-Endpoints-not-able-to-get-custom-object-schema/m-p/741185#M60296</guid>
      <dc:creator>ChrisoKlepke</dc:creator>
      <dc:date>2023-01-13T13:34:11Z</dc:date>
    </item>
  </channel>
</rss>

