APIs & Integrations

PPina3
Member

create activity within a lead via api

Hello, I'm new to using the Hubspot API, I'm reading the documentation and encountering some difficulties, if anyone can give me some guidance, I'll be very happy and I'm also available to help with anything I can.

I need to make a login request to receive the token and then create an activity within a specific business that I will have its ID, but I couldn't find the endpoint to receive the access token or the endpoint to create an activity within the specific business.

Thank you for your help, have a great day

0 Upvotes
1 Reply 1
Jaycee_Lewis
Community Manager
Community Manager

create activity within a lead via api

Hey, @PPina3 👋 For question one — you can handle auth by creating a Public App or using a Private App generated for a specific portal. For question two — are you looking to create Engagements? Like a Note, Meeting, or Task, for example? If so, you can create the Engagement from its specific endpoint — Engagements. You can also do the association in the same call — https://developers.hubspot.com/docs/api/crm/tasks#associations

 

Best,

Jaycee

linkedin

Jaycee Lewis

Developer Community Manager

Community | HubSpot

0 Upvotes