Optum Document Reference API

The DocumentReference API from Optum — 1 operation(s) for documentreference.

Operations 1

GET /oihub/fhirpriorauth/v1/fhirpa/R4/{payerId}/{lob}/document-reference #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/optum-documentreference-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

optum-documentreference-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Real Prior Authorization Document Reference API
  description: FHIR Prior Authorization APIs (CDS, DTR, PAS)
  version: 1.0.0
servers:
- url: https://sandbox-apigw.optum.com
tags:
- name: DocumentReference
paths:
  /oihub/fhirpriorauth/v1/fhirpa/R4/{payerId}/{lob}/document-reference:
    get:
      operationId: getDocumentReference
      tags:
      - DocumentReference
      security:
      - oAuth:
        - read_healthcheck
      parameters:
      - name: payerId
        in: path
        required: true
        schema:
          type: string
          example: '87726'
      - name: lob
        in: path
        required: true
        schema:
          type: string
          example: ph
      - name: queryContext
        in: query
        schema:
          type: string
          example: 5a6rra55-e00a-45y8-5tya-123454037c7c
      - name: _query
        in: query
        schema:
          type: string
          example: notes
      - name: noteType
        in: query
        schema:
          type: string
          example: COMMENT_NOTE
      - name: reference
        in: query
        schema:
          type: string
          example: '5'
      - name: questionnaire
        in: query
        schema:
          type: string
          example: '12345'
      - name: x-optum-consumer-correlation-id
        in: header
        schema:
          type: string
          example: uuid-123
      - name: environment
        in: header
        schema:
          type: string
          example: sandbox
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentReferenceResponse'
              example:
                resourceType: Bundle
                id: 35c45r6y-123e-4fgh-b1c3-b949rt46r67y
                meta:
                  lastUpdated: '2025-11-12T02:18:46.123-06:00'
                type: searchset
                total: 1
                entry:
                - resource:
                    resourceType: DocumentReference
                    id: '1'
                    status: current
                    category:
                    - coding:
                      - code: QUESTION_NOTE
                        display: QuestionNote
                    content:
                    - attachment:
                        contentType: text/html
                        data: Base64encodedstring
                        title: QuestionNote
        '400':
          description: Bad Request
          content:
            application/json:
              example:
                message: Bad Request
                statusCode: 400
        '401':
          description: UnAuthorized
          content:
            application/json:
              example:
                message: UnAuthorized
                statusCode: 401
        '406':
          description: Not Acceptable
          content:
            application/json:
              example:
                message: Not Acceptable
                statusCode: 406
        '500':
          description: Internal Server Error
          content:
            application/json:
              example:
                message: Internal server error
                statusCode: 500
components:
  schemas:
    Content:
      type: object
      properties:
        attachment:
          $ref: '#/components/schemas/Attachment'
    DocumentEntry:
      type: object
      description: Bundle entry containing DocumentReference
      properties:
        resource:
          $ref: '#/components/schemas/DocumentReference'
    Attachment:
      type: object
      description: Attachment content details
      properties:
        contentType:
          type: string
          example: application/pdf
        creation:
          type: string
          example: '2025-11-05T10:25:00-05:00'
        data:
          type: string
          example: PHN0c
        url:
          type: string
          example: attachment_url
        title:
          type: string
          example: History and Physical data
    DocumentReferenceResponse:
      type: object
      description: FHIR Bundle containing DocumentReference search results
      properties:
        resourceType:
          type: string
          example: Bundle
        id:
          type: string
          example: 35c45r6y-123e-4fgh-b1c3-b949rt46r67y
        meta:
          $ref: '#/components/schemas/Meta'
        type:
          type: string
          example: searchset
        total:
          type: integer
          example: 1
        entry:
          type: array
          items:
            $ref: '#/components/schemas/DocumentEntry'
    Meta:
      type: object
      description: FHIR metadata
      properties:
        profile:
          type: array
          description: FHIR profile URLs
          items:
            type: string
            example: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaireresponse-adapt
    DocumentReference:
      type: object
      description: FHIR DocumentReference used inside attachment
      properties:
        resourceType:
          type: string
          example: DocumentReference
        id:
          type: string
          example: docref-hp-002
        status:
          type: string
          example: current
        date:
          type: string
          example: '2025-11-05T10:30:00-05:00'
        content:
          type: array
          items:
            $ref: '#/components/schemas/Content'
  securitySchemes:
    oAuth:
      type: oauth2
      description: This API uses OAuth 2 with the client_credentials grant flow.
      flows:
        clientCredentials:
          tokenUrl: /apip/auth/v2/token
          scopes:
            read_txn: read transactions
            create_txn: submit a new transaction request
            read_coveragediscovery: read coverage discovery tasks
            create_coveragediscovery: submit a new coverage discovery task
            read_healthcheck: check the status of the system
x-readme:
  explorer-enabled: true
  proxy-enabled: true