GETTING STARTED

Get started with Fullscript APIs

introduction

What is Fullscript?

Integration options

Sign up for API key

HOW TO GUIDES

How-to guides

oAuth

OAuth overview

using OAuth

Setup

Request an auth code

Request an access token

Refresh an access token

Revoke an access token

Events

Here are the events each feature triggers.

Platform

EventDescription
patient.selectedFired when a practitioner creates or selects a patient. The data returned identifies the selected patient. You can store the Fullscript patient id with your local patient data to avoid triggering a search next time a practitioner creates a treatment plan for this patient. Event details found below.
treatmentPlan.activatedFired when the practitioner or staff member finalizes the treatment plan. The data returned includes details about who created the plan, for which patient, and an array with the selected products and their details. Event details found below.

Event details for patient.selected

Here is a TypeScript definition for the patient.selected event data. For more information about possible values and formats, refer to the Fullscript Patient object in our REST API docs.

declare type PatientPayload = { patient: { id: string; firstName: string; lastName: string; email: string; dateOfBirth: string; biologicalSex: string; discount: number; totalDiscount: number; mobileNumber: string; textMessageNotification: boolean; }; };

Event details for treatmentPlan.activated

Here is a TypeScript definition for the treatmentPlan.activated event data. For more information about possible values and formats, refer to the Fullscript Treatment Plan object in our REST API docs.

declare type TreatmentPlanPayload = { treatmentPlan: { id: string; state: string; patient: { id: string; firstName: string; lastName: string; email: string; }; practitioner: { id: string; }; availableAt: string; recommendations: { variantId: string; refill: boolean; unitsToPurchase: number; dosage: { recommendedAmount: string; recommendedFrequency: string; recommendedDuration: string; format: string; additionalInfo: string; }; }[]; lab_recommendations: { id: string; name: string; requires_fasting: boolean; instructions: string; tests: { id: string; name: string; }[]; }[]; }; };
Error handlingSession grant endpoint

ON THIS PAGE

Platform