POST
/
medical
/
v1
/
organization
Create Organization
curl --request POST \
  --url https://api.sandbox.metriport.com/medical/v1/organization
import { Metriport, OrgType, USState } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const org = await metriport.createOrganization({
  type: OrgType.postAcuteCare,
  name: "Metriport Inc.",
  location: {
    addressLine1: "2261 Market Street",
    addressLine2: "#4818",
    city: "San Francisco",
    state: USState.CA,
    zip: "94114",
    country: "USA",
  }
});

Body

Response

import { Metriport, OrgType, USState } from "@metriport/api-sdk";

const metriport = new MetriportMedicalApi("YOUR_API_KEY");

const org = await metriport.createOrganization({
  type: OrgType.postAcuteCare,
  name: "Metriport Inc.",
  location: {
    addressLine1: "2261 Market Street",
    addressLine2: "#4818",
    city: "San Francisco",
    state: USState.CA,
    zip: "94114",
    country: "USA",
  }
});