Log a custom activity
Records one of the workspace’s custom activity types against the lead.
This is not inert. It fires the custom_activity workflow trigger and emits an activity.logged webhook, exactly as logging it in the Cockpit does — an activity logged by an integration is deliberately indistinguishable from one logged by a rep, so a workflow reacting to it cannot fire for only half its sources.
Not idempotent: calling twice logs it twice.
activityTypeId must be an activity type in this workspace that has not been archived. values is keyed by the type’s field ids; unknown keys are ignored.
Authorizations
Your API key, created in the Leadey dashboard under Settings → API Keys. Send it as Authorization: Bearer leadey_sk_live_….
Path Parameters
The lead id.
Body
Response
The activity was logged.