AdHub App icon

AdHub App

Manage AdHub leads, activities, sources, statuses, tags, and custom fields

Lead Activity → Create

AI-generated

Summary

Create a new lead activity associated with a specified lead using either a structured form or a raw JSON body.

Inputs

  • Lead ID (required) — UUID v7 identifier of the lead to associate the activity with.
  • Body Type — Format of the request body; either 'form' to use structured fields or 'json' to provide a raw JSON object.
  • Type Name or ID — The lead activity type selected from available options, used when Body Type is 'form'.
  • Body — Details or notes describing the activity, used when Body Type is 'form'.
  • Occurred At — Timestamp in ISO 8601 format with timezone specifying when the activity occurred, used when Body Type is 'form'.
  • Body (JSON) — Raw JSON string representing the activity details, used when Body Type is 'json'.

Output shape

a single record representing the created lead activity

Output includes the API response reflecting the created lead activity object. The operation requires Lead ID and accepts the activity details either as form data or a JSON payload depending on the selected Body Type.

Links

Discussion