<?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: Private App Scope - crm.templates.read in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Private-App-Scope-crm-templates-read/m-p/782167#M63170</link>
    <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/534201"&gt;@BHooker&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A few quick requests:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Can you grab a link to the specific documentation for the endpoint you are using?&lt;/LI&gt;
&lt;LI&gt;From the endpoint tab, grab a screenshot of the endpoint you are using that includes the required scopes (I added a random example to show what's helpful to see)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-04-14 at 11.56.35@2x.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/89239iDDFDF482D4A50718/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2023-04-14 at 11.56.35@2x.png" alt="CleanShot 2023-04-14 at 11.56.35@2x.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jaycee&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 18:02:11 GMT</pubDate>
    <dc:creator>Jaycee_Lewis</dc:creator>
    <dc:date>2023-04-14T18:02:11Z</dc:date>
    <item>
      <title>Private App Scope - crm.templates.read</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-App-Scope-crm-templates-read/m-p/781721#M63149</link>
      <description>&lt;P&gt;Looking to return a list of quote templates&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cannot add '&lt;SPAN&gt;crm.templates.read' as a scope to my private app&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Fetch code:&lt;/P&gt;&lt;P&gt;async function fetchQuoteTemplates() {&lt;BR /&gt;const templatesUrl = '&lt;A href="https://api.hubapi.com/crm/v3/templates" target="_blank" rel="noopener"&gt;https://api.hubapi.com/crm/v3/templates&lt;/A&gt;';&lt;BR /&gt;const response = await fetch(templatesUrl, {&lt;BR /&gt;method: 'GET',&lt;BR /&gt;headers: {&lt;BR /&gt;accept: 'application/json',&lt;BR /&gt;authorization: `Bearer ${process.env.ProductConfiguratorKey}`,&lt;BR /&gt;},&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;if (response.ok) {&lt;BR /&gt;const body = await response.json();&lt;BR /&gt;const quoteTemplates = body.results;&lt;BR /&gt;console.log('Quote Templates:', quoteTemplates);&lt;BR /&gt;} else {&lt;BR /&gt;console.error('Failed to fetch quote templates');&lt;BR /&gt;console.error('Status:', response.status);&lt;BR /&gt;console.error('Status Text:', response.statusText);&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 22:48:36 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-App-Scope-crm-templates-read/m-p/781721#M63149</guid>
      <dc:creator>BHooker</dc:creator>
      <dc:date>2023-04-13T22:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Private App Scope - crm.templates.read</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-App-Scope-crm-templates-read/m-p/782167#M63170</link>
      <description>&lt;P&gt;Hey,&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/534201"&gt;@BHooker&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":waving_hand:"&gt;👋&lt;/span&gt; Thanks for reaching out.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A few quick requests:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Can you grab a link to the specific documentation for the endpoint you are using?&lt;/LI&gt;
&lt;LI&gt;From the endpoint tab, grab a screenshot of the endpoint you are using that includes the required scopes (I added a random example to show what's helpful to see)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CleanShot 2023-04-14 at 11.56.35@2x.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/89239iDDFDF482D4A50718/image-size/medium?v=v2&amp;amp;px=400" role="button" title="CleanShot 2023-04-14 at 11.56.35@2x.png" alt="CleanShot 2023-04-14 at 11.56.35@2x.png" /&gt;&lt;/span&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jaycee&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 18:02:11 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-App-Scope-crm-templates-read/m-p/782167#M63170</guid>
      <dc:creator>Jaycee_Lewis</dc:creator>
      <dc:date>2023-04-14T18:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Private App Scope - crm.templates.read</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Private-App-Scope-crm-templates-read/m-p/782451#M63184</link>
      <description>&lt;P&gt;Jaycee - Thank you for replying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's some info on what I'm trying to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;STRONG&gt;Context: I'm using Custom Code in a Workflow to automatically create a Quote from a Deal and then send that Quote to the customer for digital signing (using the same Hubspot digital signing capability you can use via the UI).&lt;/STRONG&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Issue: I cannot successfully associate the quote template to the quote record. If you can provide an example of how to do that, it would be great.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I'm currently trying to find the Template ID for the quote template I want to assign or associate with the quote.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I'm trying to use the /crm/v3/templates end point because this document suggests using that:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&lt;A href="https://developers.hubspot.com/docs/api/crm/quotes" target="_blank" rel="noopener"&gt;https://developers.hubspot.com/docs/api/crm/quotes&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;"Associations&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;To associate the quote with other CRM records at the time of creation, include an &lt;/SPAN&gt;&lt;SPAN&gt;associations&lt;/SPAN&gt;&lt;SPAN&gt; array in the create request post body. The array will contain an object for each association.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;For a quote to be fully accessible, editable, and publishable in HubSpot, it must have the following associations:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;UL class=""&gt;&lt;LI&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Quote template:&lt;/SPAN&gt;&lt;SPAN&gt; the &lt;/SPAN&gt;&lt;A class="" href="https://knowledge.hubspot.com/deals/create-custom-quote-templates" target="_self"&gt;&lt;SPAN&gt;CMS template&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; used to render a quote, along with default configuration settings for the quote such as language. To get the quote template ID, make a &lt;/SPAN&gt;&lt;SPAN&gt;GET&lt;/SPAN&gt;&lt;SPAN&gt; request to &lt;/SPAN&gt;&lt;SPAN&gt;/crm/v3/objects/quote_template?properties=hs_name,hs_active&lt;/SPAN&gt;&lt;SPAN&gt; to get a list of active quote templates. Learn more about &lt;/SPAN&gt;&lt;A class="" href="https://developers.hubspot.com/docs/cms/building-blocks/templates/quotes" target="_self"&gt;&lt;SPAN&gt;creating custom quote templates&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;. You can only associate a quote with one quote template."&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;When I make the call it fails to recognise the endpoint, which made me think it was a scope issue.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;I would welcome either a tip on how to assign the quote template to the quote OR how to get the quote template ID's.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Brett&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 16 Apr 2023 09:24:15 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Private-App-Scope-crm-templates-read/m-p/782451#M63184</guid>
      <dc:creator>BHooker</dc:creator>
      <dc:date>2023-04-16T09:24:15Z</dc:date>
    </item>
  </channel>
</rss>

