Skip to main content
GET
Un lead

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Identificativo della risorsa.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$

Response

Il lead, con le attivita'.

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
facilityId
string<uuid> | null
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
firstName
string
required
lastName
string | null
required
email
string | null
required
phone
string | null
required
source
enum<string>
required
Available options:
social_media,
website,
referral_link,
manual,
import,
phone,
walk_in,
other,
whatsapp
sourceDetail
string | null
required
status
enum<string>
required
Available options:
new,
contacted,
qualified,
proposal,
won,
lost
assignedTo
string<uuid> | null
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
estimatedValue
number | null
required
notes
string | null
required
nextFollowUpAt
string | null
required
lastContactedAt
string | null
required
lostReason
string | null
required
convertedPatientId
string<uuid> | null
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
convertedAt
string | null
required
createdAt
string
required
updatedAt
string
required
activities
object[]

Solo nel dettaglio.