Skip to content

Extensions API does not work with private apps and the new access token #211

Closed

Description

@ume-daniel

import hubspot
api_client = hubspot.Client.create(access_token=)
api_client.crm.extensions.videoconferencing.settings_api.get_by_id(app_id=)

HTTP response body: {"status":"error","message":"Authentication credentials not found. This API supports both API Key and OAuth 2.0 authentication and you can find more details at https://developers.hubspot.com/docs/methods/auth/oauth-overview","correlationId":"4acd14cf-ade6-4d82-a58c-4a7b4f0e40cd","category":"INVALID_AUTHENTICATION"}

Activity

  1. alzheltkovskiy-hubspot commented on Jun 2, 2023

    @alzheltkovskiy-hubspot
    Collaborator

    HI @ume-daniel. If i understand correctly, you trying to use access_token instead hubspot api key. Here is the information on how to obtain an API key.

  2. ume-daniel commented on Jun 2, 2023

    @ume-daniel
    Author

    The page you reference says that the extension api is part of private apps. The page for the video conference api specifically states:
    You can use the access token from your private app to authenticate the request.

    I had tried to use the older API key methods but that fails.

    Have you confirmed this works?

  3. alzheltkovskiy-hubspot commented on Jun 5, 2023

    @alzheltkovskiy-hubspot
    Collaborator

    Hi @ume-daniel. For me this request works well:

    api_client = hubspot.Client.create(api_key="My_hubspot_api_key")
    api_client.crm.extensions.videoconferencing.settings_api.get_by_id(app_id="my_hubspot_app_id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions