/** * @example * { * account_id: "biz_xxxxxxxxxxxxxx" * } */ export interface CreateLeadsRequest { /** The unique identifier of the company to create the lead for, starting with 'biz_'. */ account_id: string; /** A JSON object of custom metadata to attach to the lead for tracking purposes. */ metadata?: Record | null; /** The unique identifier of the product the lead is interested in, starting with 'prod_'. */ product_id?: string | null; /** The referral URL that brought the lead to the company, such as 'https://example.com/landing'. */ referrer?: string | null; /** The unique identifier of the user to record as the lead. If authenticated as a user, that user is used automatically. */ user_id?: string | null; }