Leads
This page details all the endpoints associated with leads.
Create a New Lead
POST https://api.patientsonboard.com/app/api/leads
firstName and either phone or email parameters are required.
Request Body
firstName*
String
lastName
String
phone
String
Either a phone number or an email address is required.
String
Either a phone number or an email address is required.
{
status : 200,
data : {
leadID : xxx,
confirmed : true/false
}
}Update a Lead
PATCH https://api.patientsonboard.com/app/api/leads/:leadID
Query Parameters
leadID*
String
Request Body
firstName*
String
lastName
String
phone
String
Either a phone number or an email address is required.
String
Either a phone number or an email address is required.
Get All Leads
GET https://api.patientsonboard.com/app/api/leads
Query Parameters
search
String
Full Text Search could include names, phone or email addresses.
page
Number
default 1
limit
Number
default 25, possible values are 25, 50, 100
Get Single Lead
GET https://api.patientsonboard.com/app/api/leads/:leadID
Query Parameters
leadID*
String
Delete a Lead
DELETE https://api.patientsonboard.com/app/api/leads/:leadID
Query Parameters
leadID*
String
Last updated