AdHub App icon

AdHub App

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

Lead Source → Create

AI-generated

Summary

Create a new Lead Source in AdHub App by specifying its name and optional color either through form inputs or a raw JSON body.

Inputs

  • leadSourceBodyType — Choose between 'form' and 'json' to specify the request body format for creating a Lead Source.
  • leadSourceName (required) — The name of the Lead Source, required when using the 'form' body type.
  • leadSourceColor — Hex color code (e.g. #3b82f6) associated with the Lead Source, optional when using the 'form' body type.
  • body — A JSON string representing the full request body for creating the Lead Source, required when using the 'json' body type.

Output shape

a single JSON object representing the newly created Lead Source

The response contains the created Lead Source details as returned by the AdHub App API; fields included depend on the server response. The returned data structure matches the API's object representation of a Lead Source.

Links

Discussion