> ## Documentation Index
> Fetch the complete documentation index at: https://docs.parchmenthealth.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Introduction

> Parchment e-prescriptions API endpoints

<div className="pm-envs">
  <div className="pm-envs-title">API Base URLs</div>

  <div className="pm-envs-grid">
    <div className="pm-env pm-env-sandbox">
      <span className="pm-env-tag">Sandbox</span>

      ```
      https://api.sandbox.parchmenthealth.io/external
      ```
    </div>

    <div className="pm-env pm-env-prod">
      <span className="pm-env-tag">Production</span>

      ```
      https://api.parchmenthealth.io/external
      ```
    </div>
  </div>
</div>

## Overview

The Parchment Health API is a RESTful API that allows you to manage your Patient information in Parchment. Our API follows industry standards including RFC 7807 for error responses and provides consistent, predictable response formats across all endpoints.

<Warning>
  **Server-to-server only.** The Parchment API does not support browser or other client-side calls. CORS is not enabled, and `x-organization-secret` (along with the bearer token derived from it) is a long-lived shared credential that must never be exposed in frontend code. All requests must originate from your backend — proxy any client-facing data through your own server.
</Warning>

## Getting Started

Once you've received your sandbox credentials from Parchment, follow these steps to start using the API.

<Steps>
  <Step title="Sign up to the Parchment sandbox" icon="user-plus">
    Create your partner account in the [Parchment sandbox environment](https://portal.sandbox.parchment.health).
  </Step>

  <Step title="Generate API credentials" icon="code">
    Generate your API client credentials from the Parchment sandbox portal.
  </Step>

  <Step title="Connect each organization" icon="plug">
    Call the `/validate` endpoint for **each organization** you need to connect so that the organization is linked to your integration. See [Partner Token Creation](/authentication/partner/token-creation) for details.
  </Step>

  <Step title="Implement the relevant APIs" icon="laptop-code">
    Implement the Parchment APIs that are relevant to your business workflows (patients, users, prescriptions, SSO, iFrame etc.).
  </Step>

  <Step title="Test your implementation" icon="vial">
    Validate end-to-end behaviour against the sandbox environment to ensure your integration works as expected.
  </Step>

  <Step title="Request the conformance form" icon="file-signature">
    Request the conformance form from Parchment once your sandbox implementation is complete.
  </Step>
</Steps>

## Response Structure

All API responses follow a standardized format. See the [Response Standards](/api-reference/response-standards) section for detailed information about success and error response formats.
