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

Name
Type
Description

firstName*

String

lastName

String

phone

String

Either a phone number or an email address is required.

email

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

Name
Type
Description

leadID*

String

Request Body

Name
Type
Description

firstName*

String

lastName

String

phone

String

Either a phone number or an email address is required.

email

String

Either a phone number or an email address is required.

Get All Leads

GET https://api.patientsonboard.com/app/api/leads

Query Parameters

Name
Type
Description

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

Name
Type
Description

leadID*

String

Delete a Lead

DELETE https://api.patientsonboard.com/app/api/leads/:leadID

Query Parameters

Name
Type
Description

leadID*

String

Last updated