<?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: Single-Send API Via Private App in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231996#M85985</link>
    <description>&lt;P&gt;I've been using Curl for testing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;curl --request POST \
 --url https://api.hubapi.com/marketing/v4/email/single-send \
 --header 'Content-Type: application/json' \
 --header 'private-app: &amp;lt;redacted&amp;gt;' \
 --data '
{
 "emailId": &amp;lt;redacted&amp;gt;,
 "message": {
   "to": "&amp;lt;redacted&amp;gt;",
 },
 "contactProperties": {},
 "customProperties": {
   "issueKey": "DEV-18232",
   "reason": "timeout"
 }
}
'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I get the response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"status":"error","message":"Authentication credentials not found. This API supports OAuth 2.0 authentication and you can find more details at https://developers.hubspot.com/docs/methods/auth/oauth-overview","correlationId":"&amp;lt;redacted&amp;gt;","category":"INVALID_AUTHENTICATION"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't used any other 'v4' APIs, so I can't compare my results to theirs. This curl request was actually copied from the documentation and updated with my information.&lt;/P&gt;&lt;P&gt;However, since I've made this post I have switched to using a 'v3' api (/marketing/v3/transactional/single-email/send) and used the 'Bearer' authorization. That has worked. So technically I'm not blocked anymore, but I'd still like to know what's up with the v4 API since that seems to be the more appropriate one.&lt;/P&gt;</description>
    <pubDate>Mon, 08 Dec 2025 15:46:13 GMT</pubDate>
    <dc:creator>SenojLuap</dc:creator>
    <dc:date>2025-12-08T15:46:13Z</dc:date>
    <item>
      <title>Single-Send API Via Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231931#M85977</link>
      <description>&lt;P&gt;I'm currently trying to integrate with our Jira instance to automate the sending of emails from HubSpot. To do this, I'm using the Single Send API and a private/legacy app.&lt;/P&gt;&lt;P&gt;The problem I'm encountering is that when I attempt to use the single-send endpoint with a private app, I get a response stating that the endpoint requires OAuth authentication. The api documentation &lt;A href="https://developers.hubspot.com/docs/api-reference/marketing-single-send-v4/single-send/post-marketing-v4-email-single-send" target="_blank" rel="noopener"&gt;here&lt;/A&gt; suggests that I should be able to authenticate with either OAuth or the private applications key.&lt;/P&gt;&lt;P&gt;Which one is incorrect? Having to go through OAuth would be a real pain in the butt for this use-case.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 13:50:34 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231931#M85977</guid>
      <dc:creator>SenojLuap</dc:creator>
      <dc:date>2025-12-08T13:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: Single-Send API Via Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231944#M85979</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1021041"&gt;@SenojLuap&lt;/a&gt;&lt;/SPAN&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome to the Community!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see that you're looking to use the &lt;A href="https://developers.hubspot.com/docs/api-reference/marketing-single-send-v4/guide" target="_blank"&gt;Single Send API&lt;/A&gt;. In case our peers may need some more details to point you in the right direction, would you mind including the response that you're receiving, along with the request you're using as well?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In the meantime, I'm going to loop in a few of our experts here: &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/537570"&gt;@RubenBurdin&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/346639"&gt;@GRajput&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/53048"&gt;@evaldas&lt;/a&gt;&lt;/SPAN&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63499"&gt;@SteveHTM&lt;/a&gt;&lt;/SPAN&gt;.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any suggestions for &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1021041"&gt;@SenojLuap&lt;/a&gt;&lt;/SPAN&gt;?&lt;BR /&gt;&lt;BR /&gt;Thank you!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam, Community Manager&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 14:32:06 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231944#M85979</guid>
      <dc:creator>SamTassey</dc:creator>
      <dc:date>2025-12-08T14:32:06Z</dc:date>
    </item>
    <item>
      <title>Re: Single-Send API Via Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231971#M85982</link>
      <description>&lt;P&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1021041"&gt;@SenojLuap&lt;/a&gt;&amp;nbsp;- an additional question here. Can you confirm that you are creating the headers for this API request in exactly the same way that you are for other API requests (which presumably succeed at least with respect to authentication). I have had error messsages in the past that state Oauth is required, but I found this was simply a case of a header programming error.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this is helpful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 14:57:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231971#M85982</guid>
      <dc:creator>SteveHTM</dc:creator>
      <dc:date>2025-12-08T14:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Single-Send API Via Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231996#M85985</link>
      <description>&lt;P&gt;I've been using Curl for testing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;curl --request POST \
 --url https://api.hubapi.com/marketing/v4/email/single-send \
 --header 'Content-Type: application/json' \
 --header 'private-app: &amp;lt;redacted&amp;gt;' \
 --data '
{
 "emailId": &amp;lt;redacted&amp;gt;,
 "message": {
   "to": "&amp;lt;redacted&amp;gt;",
 },
 "contactProperties": {},
 "customProperties": {
   "issueKey": "DEV-18232",
   "reason": "timeout"
 }
}
'&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I get the response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{"status":"error","message":"Authentication credentials not found. This API supports OAuth 2.0 authentication and you can find more details at https://developers.hubspot.com/docs/methods/auth/oauth-overview","correlationId":"&amp;lt;redacted&amp;gt;","category":"INVALID_AUTHENTICATION"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I haven't used any other 'v4' APIs, so I can't compare my results to theirs. This curl request was actually copied from the documentation and updated with my information.&lt;/P&gt;&lt;P&gt;However, since I've made this post I have switched to using a 'v3' api (/marketing/v3/transactional/single-email/send) and used the 'Bearer' authorization. That has worked. So technically I'm not blocked anymore, but I'd still like to know what's up with the v4 API since that seems to be the more appropriate one.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Dec 2025 15:46:13 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1231996#M85985</guid>
      <dc:creator>SenojLuap</dc:creator>
      <dc:date>2025-12-08T15:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Single-Send API Via Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1232724#M86039</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="color:var(--ck-color-mention-text);"&gt;&lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1021041"&gt;@SenojLuap&lt;/a&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for sharing your update and the resolution. Your feedback helps the community and others facing similar issues!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Looking into the V4 request that you've shared above, the only thing that sticks out to me is the the Headers there. As seen in our Dev Docs&lt;A href="https://developers.hubspot.com/docs/api-reference/marketing-single-send-v4/single-send/post-marketing-v4-email-single-send" target="_blank"&gt; here&lt;/A&gt; it appears to be using a 'Authorization: Bearer &amp;lt;token&amp;gt;' in the first header. Is this something that you're able to attempt?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;curl --request POST \&lt;BR /&gt;&amp;nbsp;--url &lt;A href="https://api.hubapi.com/marketing/v4/email/single-send" target="_blank"&gt;https://api.hubapi.com/marketing/v4/email/single-send&lt;/A&gt; \&lt;BR /&gt;&amp;nbsp;--header 'Authorization: Bearer &amp;lt;token&amp;gt;' \&lt;BR /&gt;&amp;nbsp;--header 'Content-Type: application/json' \&lt;BR /&gt;&amp;nbsp;--data '&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background-color:#ffffff;color:#33475b;"&gt;I'd like to tag in a few of our experts to see if they have any tips and tricks on this &lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/63499" target="_blank"&gt;&lt;SPAN style="background-color:rgba(0,0,0,0);color:rgb(3,99,211);"&gt;@SteveHTM&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN style="background-color:rgba(0,0,0,0);color:rgb(3,99,211);"&gt;,&lt;/SPAN&gt;&lt;SPAN style="background-color:#ffffff;color:#33475b;"&gt; &lt;/SPAN&gt;&lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/537570" target="_blank"&gt;&lt;SPAN style="background-color:rgba(0,0,0,0);color:rgb(3,99,211);"&gt;@RubenBurdin&lt;/SPAN&gt;&lt;/A&gt;, &lt;SPAN style="background: var(--ck-color-mention-background); color: var(--ck-color-mention-text);"&gt;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/141"&gt;@TomM2&lt;/a&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you have any suggestions for &lt;A href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1021041" target="_blank"&gt;&lt;SPAN style="background-color:rgba(0,0,0,0);color:rgb(3,99,211);"&gt;@SenojLuap&lt;/SPAN&gt;&lt;/A&gt;?&lt;SPAN style="background-color:#ffffff;color:#33475b;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="background-color:#ffffff;color:#33475b;"&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sam, Community Manager&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 16:41:37 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1232724#M86039</guid>
      <dc:creator>SamTassey</dc:creator>
      <dc:date>2025-12-10T16:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: Single-Send API Via Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1232732#M86041</link>
      <description>&lt;P&gt;I agree, this looks to be the root of the problem,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 10 Dec 2025 17:24:47 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1232732#M86041</guid>
      <dc:creator>SteveHTM</dc:creator>
      <dc:date>2025-12-10T17:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Single-Send API Via Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1233100#M86060</link>
      <description>&lt;P&gt;OK, I re-tested with your suggestion. The documentation (&lt;A href="https://developers.hubspot.com/docs/api-reference/marketing-single-send-v4/single-send/post-marketing-v4-email-single-send" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/marketing-single-send-v4/single-send/post-marketing-v4-email-single-send&lt;/A&gt;) explains that you should use the 'private-apps' header. However, using the 'Autorization: Bearer' header as you suggested, the API&amp;nbsp;&lt;EM&gt;does&lt;/EM&gt; respond correctly.&lt;/P&gt;&lt;P&gt;So it sounds like the problem here is with the documentation.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Dec 2025 17:32:45 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1233100#M86060</guid>
      <dc:creator>SenojLuap</dc:creator>
      <dc:date>2025-12-11T17:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: Single-Send API Via Private App</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1234090#M86118</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/1021041"&gt;@SenojLuap&lt;/a&gt;&amp;nbsp;, you’re not crazy, your test is telling you the truth. For the Single Send v4 endpoint, a private app token is sent the same way as an OAuth access token: in the Authorization header as a Bearer token. HubSpot doesn’t have a separate “private-app” auth header for this endpoint, which is why your --header 'private-app: &amp;lt;token&amp;gt;' request comes back as “credentials not found.” The working example in the current v4 endpoint docs also shows Authorization: Bearer &amp;lt;token&amp;gt; (&lt;A href="https://developers.hubspot.com/docs/api-reference/marketing-single-send-v4/single-send/post-marketing-v4-email-single-send" target="_blank"&gt;https://developers.hubspot.com/docs/api-reference/marketing-single-send-v4/single-send/post-marketing-v4-email-single-send&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So the “OAuth required” error message is a bit misleading here. It’s really saying “I didn’t find valid auth in the place I expect it.” Private app tokens are “static auth” tokens, but they still ride in the Bearer header, same as OAuth. HubSpot’s authentication overview spells out that both auth types exist, but the transport is still standard Authorization headers (&lt;A href="https://developers.hubspot.com/docs/apps/developer-platform/build-apps/authentication/overview" target="_blank"&gt;https://developers.hubspot.com/docs/apps/developer-platform/build-apps/authentication/overview&lt;/A&gt; )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Two quick checks to avoid another rabbit hole:&lt;BR /&gt;Make sure the private app has the right scope for Single Send (marketing email scope), and make sure you’re hitting api.hubapi.com with the Bearer header exactly (capitalization matters for Authorization in some HTTP clients). If you share the exact curl you used once it worked (with the token redacted), I can sanity-check the remaining fields too, especially around the message.to vs contact creation behavior.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Dec 2025 18:09:25 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Single-Send-API-Via-Private-App/m-p/1234090#M86118</guid>
      <dc:creator>RubenBurdin</dc:creator>
      <dc:date>2025-12-15T18:09:25Z</dc:date>
    </item>
  </channel>
</rss>

