Skip to content

Getting Started

Before you can call the Eirly API you need a Eirly account, a verified practitioner profile, an organisation, and API credentials. This guide walks through that setup end-to-end.

Go to the app for the environment you’re setting up — staging (https://app.staging.eirly.health) or production (https://app.eirly.health) — and sign up. You can register with an email and password, or via Google sign-in.

Repeat every step below in each environment you plan to use; the resulting credentials are environment-specific.

After signing up, finish creating your profile and complete verification.

You won’t be able to create an organisation until your profile is verified.

Once your profile is verified, create an organisation. Your organisation is the entity that owns your products, referrals, results, billing, and API credentials — all API access is scoped to it.

Inside your organisation, go to Settings → API Keys and follow the steps to enable API access. When it’s enabled you’ll receive your client_id and client_secret — the credentials used to authenticate (see Authentication).

With your credentials in hand:

  1. Exchange them for an access token using the Client Credentials flow.

  2. Call an endpoint, including the token in the Authorization header:

    GET https://api.staging.eirly.health/v1/tests
    Authorization: Bearer YOUR_ACCESS_TOKEN

We recommend building and testing against staging (https://api.staging.eirly.health) before moving to production. For the big-picture flow of how ordering and results delivery work together, see the Workflow overview, then the REST API reference for the full list of endpoints.

  • Authentication — exchange your credentials for tokens
  • Workflow — end-to-end flow of ordering and results delivery
  • REST API — referrals, results, tests, and bundles
  • Webhooks — real-time result notifications

Need a hand? Contact the Eirly API team.