Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Leads CRM endpoint #371

Open
ochrzan opened this issue Dec 19, 2024 · 1 comment
Open

Add Leads CRM endpoint #371

ochrzan opened this issue Dec 19, 2024 · 1 comment
Assignees

Comments

@ochrzan
Copy link

ochrzan commented Dec 19, 2024

The Leads object CRM endpoint exists in the API docs, but not in the python SDK. This means I have to implement a whole new client just to use this endpoint. It would be great if this endpoint was added to the SDK so it supported all the CRM endpoints.

https://developers.hubspot.com/docs/reference/api/crm/objects/leads

@alzheltkovskiy-hubspot
Copy link
Collaborator

Hey @ochrzan. Leads have been added since version 10.0.0 of the SDK. You can confirm this by testing the following example:

hubSpotClient.crm.objects.leads.basic_api.get_page()

However, before proceeding, please ensure that the scopes of your app are configured correctly and that the leads scope has been enabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants