<?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 Scheduler Meetings in APIs &amp; Integrations</title>
    <link>https://community.hubspot.com/t5/APIs-Integrations/Scheduler-Meetings/m-p/1231539#M85957</link>
    <description>&lt;P data-unlink="true"&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt; Threadly is an app for Slack that allows users to broadcast/blast messages to multiple channels at once, and also includes action buttons to drive users towards CTAs, forms, and more.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;STRONG&gt;Issue:&amp;nbsp;&lt;/STRONG&gt;We're working on a HubSpot integration where a user can send out a message and include an action to their calendar. The message button opens a modal where the invitee fills out their info, selects a date and time, etc.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;The meeting schedule changes and availability calls work fine, however, when we try and make a POST to the booking endpoint, we get this error. Can somoene please advise? It appears from other posts in this forum that others are successful.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{'status': 'error', 'message': "The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum.", 'correlationId': 'ac9c1918-5a53-4dd4-9687-e09e4789305e', 'links': {'support': 'https://help.hubspot.com/', 'forum': 'https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations'}, 'category': 'MISSING_SCOPES'}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The access token has the following oauth scope:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's the call:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;def book_hubspot_meeting(
    slug,
    first_name,
    last_name,
    email,
    start_time,
    duration,
    timezone,
    guest_emails=None,
    locale="en-us",
    likely_available_user_ids=None,
    hubspot_access_token=None
):
    """
    Book a HubSpot meeting using the Meetings API.

    Args:
        slug (str): Meeting link slug (e.g., "menelson")
        first_name (str): First name of the attendee
        last_name (str): Last name of the attendee
        email (str): Email address of the attendee
        start_time (int): Start time in milliseconds UTC (e.g., 1726059600000)
        duration (int): Duration in milliseconds (e.g., 1800000 for 30min)
        timezone (str): Timezone string (e.g., "America/New_York")
        guest_emails (list): Additional guest emails (optional)
        locale (str): Locale, default "en-us"
        likely_available_user_ids (list): List of likely available user IDs (optional)
        hubspot_access_token (str): OAuth Access token for HubSpot. If not provided, will look for environ HUBSPOT_ACCESS_TOKEN

    Returns:
        dict: Response from HubSpot API.
    """
    if hubspot_access_token is None:
        hubspot_access_token = os.environ.get("HUBSPOT_ACCESS_TOKEN")
        if not hubspot_access_token:
            raise ValueError("Missing HubSpot Access Token.")

    url = "https://api.hubapi.com/scheduler/v3/meetings/meeting-links/book"
    headers = {
        "Authorization": f"Bearer {hubspot_access_token}",
        "Content-Type": "application/json",
    }
    params = {
        "timezone": timezone
    }

    data = {
        "slug": slug,
        "firstName": first_name,
        "lastName": last_name,
        "email": email,
        "startTime": int(start_time),
        "duration": int(duration),
        "timezone": timezone,
        "locale": locale,
        "guestEmails": guest_emails if guest_emails is not None else [],
        "likelyAvailableUserIds": likely_available_user_ids if likely_available_user_ids is not None else [],
    }

    response = requests.post(url, headers=headers, params=params, json=data)
    try:
        return response.json()
    except Exception:
        return {"error": "Failed to parse HubSpot response", "status_code": response.status_code, "text": response.text}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZevThreadly_0-1764961396442.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/163256i88F8386FA2F980F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZevThreadly_0-1764961396442.png" alt="ZevThreadly_0-1764961396442.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 05 Dec 2025 19:03:31 GMT</pubDate>
    <dc:creator>ZevThreadly</dc:creator>
    <dc:date>2025-12-05T19:03:31Z</dc:date>
    <item>
      <title>Scheduler Meetings</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Scheduler-Meetings/m-p/1231539#M85957</link>
      <description>&lt;P data-unlink="true"&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt; Threadly is an app for Slack that allows users to broadcast/blast messages to multiple channels at once, and also includes action buttons to drive users towards CTAs, forms, and more.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&lt;STRONG&gt;Issue:&amp;nbsp;&lt;/STRONG&gt;We're working on a HubSpot integration where a user can send out a message and include an action to their calendar. The message button opens a modal where the invitee fills out their info, selects a date and time, etc.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;The meeting schedule changes and availability calls work fine, however, when we try and make a POST to the booking endpoint, we get this error. Can somoene please advise? It appears from other posts in this forum that others are successful.&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{'status': 'error', 'message': "The scope needed for this API call isn't available for public use. If you have questions, contact support or post in our developer forum.", 'correlationId': 'ac9c1918-5a53-4dd4-9687-e09e4789305e', 'links': {'support': 'https://help.hubspot.com/', 'forum': 'https://community.hubspot.com/t5/APIs-Integrations/bd-p/integrations'}, 'category': 'MISSING_SCOPES'}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The access token has the following oauth scope:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And here's the call:&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;def book_hubspot_meeting(
    slug,
    first_name,
    last_name,
    email,
    start_time,
    duration,
    timezone,
    guest_emails=None,
    locale="en-us",
    likely_available_user_ids=None,
    hubspot_access_token=None
):
    """
    Book a HubSpot meeting using the Meetings API.

    Args:
        slug (str): Meeting link slug (e.g., "menelson")
        first_name (str): First name of the attendee
        last_name (str): Last name of the attendee
        email (str): Email address of the attendee
        start_time (int): Start time in milliseconds UTC (e.g., 1726059600000)
        duration (int): Duration in milliseconds (e.g., 1800000 for 30min)
        timezone (str): Timezone string (e.g., "America/New_York")
        guest_emails (list): Additional guest emails (optional)
        locale (str): Locale, default "en-us"
        likely_available_user_ids (list): List of likely available user IDs (optional)
        hubspot_access_token (str): OAuth Access token for HubSpot. If not provided, will look for environ HUBSPOT_ACCESS_TOKEN

    Returns:
        dict: Response from HubSpot API.
    """
    if hubspot_access_token is None:
        hubspot_access_token = os.environ.get("HUBSPOT_ACCESS_TOKEN")
        if not hubspot_access_token:
            raise ValueError("Missing HubSpot Access Token.")

    url = "https://api.hubapi.com/scheduler/v3/meetings/meeting-links/book"
    headers = {
        "Authorization": f"Bearer {hubspot_access_token}",
        "Content-Type": "application/json",
    }
    params = {
        "timezone": timezone
    }

    data = {
        "slug": slug,
        "firstName": first_name,
        "lastName": last_name,
        "email": email,
        "startTime": int(start_time),
        "duration": int(duration),
        "timezone": timezone,
        "locale": locale,
        "guestEmails": guest_emails if guest_emails is not None else [],
        "likelyAvailableUserIds": likely_available_user_ids if likely_available_user_ids is not None else [],
    }

    response = requests.post(url, headers=headers, params=params, json=data)
    try:
        return response.json()
    except Exception:
        return {"error": "Failed to parse HubSpot response", "status_code": response.status_code, "text": response.text}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ZevThreadly_0-1764961396442.png" style="width: 400px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/163256i88F8386FA2F980F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ZevThreadly_0-1764961396442.png" alt="ZevThreadly_0-1764961396442.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 19:03:31 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Scheduler-Meetings/m-p/1231539#M85957</guid>
      <dc:creator>ZevThreadly</dc:creator>
      <dc:date>2025-12-05T19:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Scheduler Meetings</title>
      <link>https://community.hubspot.com/t5/APIs-Integrations/Scheduler-Meetings/m-p/1231553#M85959</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/1020402"&gt;@ZevThreadly&lt;/a&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Welcome to the Community!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I see your receiving the error 'The scope needed for this API call isn't available for public use' in your response. I found a couple of similar Community posts that you may find helpful in trouble shooting this!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/The-scope-needed-for-this-API-call-isn-t-available-for-public/m-p/905368" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/The-scope-needed-for-this-API-call-isn-t-available-for-public/m-p/905368&lt;/A&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;A href="https://community.hubspot.com/t5/APIs-Integrations/Getting-quot-The-scope-needed-for-this-API-call-isn-t-available/m-p/995417" target="_blank"&gt;https://community.hubspot.com/t5/APIs-Integrations/Getting-quot-The-scope-needed-for-this-API-call-isn-t-available/m-p/995417&lt;/A&gt;&lt;BR /&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN style="background-color:#ffffff;color:#33475b;"&gt;I'd also like to tag in some of our Top Contributors to see if they have any tips on this -- &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/63499"&gt;@SteveHTM&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/537570"&gt;@RubenBurdin&lt;/a&gt;&lt;/SPAN&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;-- 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/1020402"&gt;@ZevThreadly&lt;/a&gt;&lt;/SPAN&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!&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;Sam, Community Manager&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;&amp;nbsp;&lt;/H2&gt;
&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 20:01:01 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/APIs-Integrations/Scheduler-Meetings/m-p/1231553#M85959</guid>
      <dc:creator>SamTassey</dc:creator>
      <dc:date>2025-12-05T20:01:01Z</dc:date>
    </item>
  </channel>
</rss>

