{
  "opencollection": "1.0.0",
  "info": {
    "name": "Spruce Health API \u2014 Organization",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Organization",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List information about the organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sprucehealth.com/v1/organization",
            "params": [
              {
                "name": "Authorization",
                "value": "Bearer {{bearerToken}}",
                "type": "header"
              }
            ]
          },
          "operationId": "Organization",
          "docs": "This returns your organization's information. Most importantly, it returns your organization's `id` which will often be used as the owner or a member of other objects."
        },
        {
          "info": {
            "name": "List all members of the organization",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sprucehealth.com/v1/organization/members",
            "params": [
              {
                "name": "pageSize",
                "value": "",
                "type": "query"
              },
              {
                "name": "paginationToken",
                "value": "",
                "type": "query"
              },
              {
                "name": "Authorization",
                "value": "Bearer {{bearerToken}}",
                "type": "header"
              }
            ]
          },
          "operationId": "OrganizationMembers",
          "docs": "This returns a list of all members of the organization. This includes all teammates and all teams, as well as a reference to the organization itself."
        },
        {
          "info": {
            "name": "Get a member of the organization by id",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.sprucehealth.com/v1/organization/members/{memberId}",
            "params": [
              {
                "name": "memberId",
                "value": "",
                "type": "path"
              },
              {
                "name": "Authorization",
                "value": "Bearer {{bearerToken}}",
                "type": "header"
              }
            ]
          },
          "operationId": "OrganizationMember",
          "docs": "This operation retrieves a specific organization member (organization, team, or teammate), by id."
        }
      ]
    }
  ]
}