openintegration200+ connectors

List leads in HubSpot

Leads API · read · 79% field coverage

Your agent can list leads in HubSpot through Apideck's Leads API, the same call it makes for every Leads app. It only reads, so it runs straight away; what HubSpot returns is screened before the agent sees it. Apideck adds the customer's HubSpot credentials, so no token ever reaches the agent.

Paste into Claude Code, Cursor or any coding agent.

The call

GET https://unify.apideck.com/lead/leads

Headers: x-apideck-service-id: hubspot, plus your app id and the customer's consumer id. Apideck MCP tool: lead-leads-all. Agent operation id: unified.lead.leadsAll.

ParameterInDescription
cursorqueryCursor to start from. You can find cursors for next/previous pages in the meta.cursors property of the response.
limitqueryNumber of results to return. Minimum 1, Maximum 200, Default 20
filter[name]queryName of the lead to filter on
filter[first_name]queryFirst name of the lead to filter on
filter[last_name]queryLast name of the lead to filter on
filter[email]queryE-mail of the lead to filter on
filter[phone_number]queryPhone number of the lead to filter on
sort[by]queryThe field on which to sort the Leads
sort[direction]queryThe direction in which to sort the results

More for leads in HubSpot

create_leadget_leadupdate_leaddelete_lead

List leads in other Leads apps

The same call works for each of these; only the service id changes.

ActiveCampaignCloseCopperFlexmailMicrosoft Dynamics CRMPipedriveSalesflareSalesforceTeamleaderZendesk SellZoho CRM