Create Lead Report
Reports
Create Lead Report
Create a “lead” remote report submitted by the client (no user/creator).
Authenticated via the organization’s x-api-key. The report is created with
type=remote and creator=NULL, counted against the entity’s subscription
quota like a normal remote report. Returns the report token and its app
link.
Body fields:
- dealership (required): id of the dealership the lead is attached to. Must belong to the API key’s organization. Resolves the organization, entity, subscription quota and report visibility.
- email (optional): client email, stored on the report and used for the email notification.
- phone (optional): client phone, stored on the report and used for the SMS notification.
- name (optional): client name, shown in the notifications.
- folder_name (optional): report folder alias.
- lang (optional, default “fr”): language of the notifications.
- custom_sms (optional): custom SMS body template (, placeholders supported).
- sendEmail (optional, default false): send the report link by email
(requires
email). - sendPhone (optional, default false): send the report link by SMS
(requires
phone).
POST
Create Lead Report
Authorizations
Body
application/json