Company Registration - Admin

Recent inbound leads (for lead → registration conversion)

List recent inbound leads for the StandGest company (default id 17) so an admin can convert one into a company registration. The public /registar form lands here as a Z_Leads row; this surfaces the prospect's name, email, phone and any referral promo_code captured in the lead's data JSON, ready to prefill the "Criar Registo" dialog.

get/api/admin/registrations/leads

Query parameters

company_idinteger

Company whose inbound leads to list (StandGest's own company by default)

Company whose inbound leads to list (StandGest's own company by default)

limitinteger
searchstring nullable

Filter by name / email / phone substring

Filter by name / email / phone substring

Headers

x-api-tokenstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/admin/registrations/leads:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes