Namespace: /api/v1


FUNCTION: LIST

METHOD: GET

ENDPOINT: /LEADS

To retrieve a list of leads, pass the same parameters you would in the liquid tags. eg. {'tag': 'featured'}

FUNCTION: GET

METHOD: GET

ENDPOINT: /LEADS/:ID

To retrieve a single lead, accepts both the ID and UID fields for the ID parameter.

FUNCTION: CREATE

METHOD: POST

ENDPOINT: /LEADS

To create a single lead, minimum required fields are:
  1. Title
  2. Body
  3. User Email
  4. User Name

FUNCTION: UPDATE

METHOD: PATCH/PUT

ENDPOINT: /LEADS/:ID

To update a single lead.

FUNCTION: DELETE

METHOD: DELETE

ENDPOINT: /LEADS/:ID

To remove a single lead.