Elation Health Delegate Permissions API

The Delegate Permissions API from Elation Health — 4 operation(s) for delegate permissions.

Business capability
Identity & Access Management BC-620.20

Operations 9

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /delegate_permissions/{id} Get a delegate permission (legacy) · Get Delegate Permissions #
Ask an LLM
“How do I see what a delegate is allowed to do for a physician, on the older endpoint?”
“Which legacy call returns one delegate permission by ID?”
Tell an agent
Get legacy delegate permission {id}.
Show the physician and permission type on older delegate grant {id}.
PUT /delegate_permissions/{id} Update a delegate permission (legacy) · Update Delegate Permissions #
Ask an LLM
“Can I change the permission type a delegate holds for a physician?”
“How do I reassign a delegate grant to another user on the older route?”
Tell an agent
Change legacy delegate permission {id} to permission type {permission_type}.
Reassign older delegate grant {id} to user {delegate_user} for physician {physician}.
POST /delegate_permissions/ Grant a delegate permission (legacy) · Create Delegate Permissions #
Ask an LLM
“How do I let a staff member act on a physician's behalf through the unversioned route?”
“What does a legacy delegate grant need to specify?”
Tell an agent
Grant user {delegate_user} permission {permission_type} for physician {physician} using the legacy route.
Create an older-style delegate grant in practice {practice}.
DELETE /delegate_permissions/ Revoke a delegate permission (legacy) · Delete a Delegate Permission #
Ask an LLM
“How do I revoke a delegate's access using the older delete call?”
“Which unversioned endpoint removes a delegate permission?”
Tell an agent destructive · confirm first
Revoke legacy delegate permission {id}.
Remove old delegate grant {id} via the unversioned route.
GET /delegate_permissions/ Find delegate permissions (legacy) · Find Delegate Permissions #
Ask an LLM
“Who has been granted delegate access to act for physicians, per the older endpoint?”
“Which legacy call lists every delegate permission?”
Tell an agent
Find all delegate permissions via the legacy route.
List older delegate access grants for my practice.
GET /api/2.0/delegate_permissions/ List delegate permissions with paging · List Delegate Permissions #
Ask an LLM
“How do I page through delegate permissions in the v2.0 API?”
“Can I sort the /api/2.0 delegate permission list?”
Tell an agent
List v2.0 delegate permissions, {limit} per page.
Page through /api/2.0 delegate grants from offset {offset} ordered by {order_by}.
POST /api/2.0/delegate_permissions/ Grant a delegate permission in the v2.0 API · Create Delegate Permission #
Ask an LLM
“What does /api/2.0 require to give a user delegate rights for a physician?”
“How do I authorize an assistant to act for a doctor in the v2.0 API?”
Tell an agent
Grant v2.0 delegate rights {permission_type} to user {delegate_user} for physician {physician} in practice {practice}.
Authorize assistant {delegate_user} to act for doctor {physician} through /api/2.0.
DELETE /api/2.0/delegate_permissions/{id}/ Revoke a delegate permission in the v2.0 API · Delete Delegate Permission #
Ask an LLM
“How do I revoke delegate access through /api/2.0?”
“Can I remove a v2.0 delegate grant when an assistant leaves?”
Tell an agent destructive · confirm first
Delete v2.0 delegate permission {id}.
Revoke /api/2.0 delegate grant {id}.
GET /api/2.0/delegate_permissions/{id}/ Retrieve a delegate permission from v2.0 · Retrieve Delegate Permission #
Ask an LLM
“How do I fetch one delegate permission by ID from /api/2.0?”
“Which user and physician does a v2.0 delegate grant cover?”
Tell an agent
Retrieve v2.0 delegate permission {id}.
Show who /api/2.0 delegate grant {id} covers.

Documentation

Specifications

Schemas & Data

Other Resources

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/elation-health:elation-health-delegate-permissions-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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

OpenAPI Specification

elation-health-delegate-permissions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Elation Health Delegate Permissions API
  version: '1.0'
  description: 'Operations tagged Delegate Permissions across 2 of this provider''s published API definitions: elation-api-settings.json, elation-health-api-full-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://sandbox.elationemr.com/api/2.0
- description: Sandbox Server
  url: https://sandbox.elationemr.com
- description: Production Server
  url: https://api.app.elationemr.com
tags:
- name: Delegate Permissions
paths:
  /delegate_permissions/{id}:
    get:
      summary: Get Delegate Permissions
      description: ''
      operationId: get-delegate-permissions
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      - name: id
        in: path
        schema:
          type: integer
          format: int64
        required: true
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": 83792571234,\n  // See Object Definition\n}"
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: python
          code: "import requests\nimport json\n\naccess_token = \"VFroUHsmrErlVI6nJ08Alwhri5RGCW\"\nauth_header = \"Bearer %s\" % (access_token)\n\nresp = requests.get(\"https://sandbox.elationemr.com/api/2.0/delegate_permissions/140754688737550\",\n                    headers={'Authorization': auth_header})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)"
        - language: curl
          code: 'curl https://sandbox.elationemr.com/api/2.0/app/published_events/ \

            > -H "Authorization: Bearer SftJozdkIuEObwOvI6WpSN6jndCHad"'
          name: cURL
        samples-languages:
        - python
        - curl
      tags:
      - Delegate Permissions
      security:
      - sec0: []
    put:
      summary: Update Delegate Permissions
      description: ''
      operationId: update-delegate-permissions
      parameters:
      - name: id
        in: path
        schema:
          type: integer
          format: int64
        required: true
      - name: Authorization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  format: int64
                practice:
                  type: integer
                  format: int64
                physician:
                  type: integer
                  format: int64
                delegate_user:
                  type: integer
                  format: int64
                permission_type:
                  type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": 140754688737550,\n  // See Object Definition\n}"
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: python
          code: "import requests\nimport json\n\naccess_token = \"VFroUHsmrErlVI6nJ08Alwhri5RGCW\"\nauth_header = \"Bearer %s\" % (access_token)\n\ndata = {\n       'id': 140754688737550,         \n       'practice': 140754683822084, \n       'physician': 140754687361026, \n       'delegate_user': 211, \n       'permission_type': 'rxs'\n}\nresp = requests.put(\"https://sandbox.elationemr.com/api/2.0/delegate_permissions/140754688737550\",\n                    data=json.dumps(data),\n                    headers={'Authorization': auth_header})\n\nprint(resp.status_code)\nprint(json.dumps(json.loads(resp.content), indent=2))"
        samples-languages:
        - python
      tags:
      - Delegate Permissions
      security:
      - sec0: []
    servers:
    - url: https://sandbox.elationemr.com/api/2.0
  /delegate_permissions/:
    post:
      summary: Create Delegate Permissions
      description: ''
      operationId: create-delegate-permissions
      parameters:
      - name: Authorization
        in: header
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                practice:
                  type: integer
                  format: int64
                physician:
                  type: integer
                  format: int64
                delegate_user:
                  type: integer
                  format: int64
                permission_type:
                  type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "{\n  \"id\": 140754688737550,\n  // See Object Definition\n}"
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: python
          code: "import requests\nimport json\n\naccess_token = \"TyEPKw8fVGRKpCBa81ygwjCLXDNIAm\"\nauth_header = \"Bearer %s\" % (access_token)\n\ndata = {   \n       'practice': 140754683822084, \n       'physician': 140754687361026, \n       'delegate_user': 211, \n       'permission_type': 'rxs'\n}\nresp = requests.post(\"https://sandbox.elationemr.com/api/2.0/delegate_permissions/\",\n                     data=json.dumps(data),\n                     headers={'Authorization': auth_header,\n                              'Content-type': 'application/json'})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)"
        samples-languages:
        - python
      tags:
      - Delegate Permissions
      security:
      - sec0: []
    delete:
      summary: Delete a Delegate Permission
      description: ''
      operationId: delete-a-delegate-permission
      parameters:
      - name: id
        in: path
        schema:
          type: integer
          format: int64
        required: true
      responses:
        '204':
          description: '204'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: python
          code: "import requests\nimport json\n\naccess_token = \"TyEPKw8fVGRKpCBa81ygwjCLXDNIAm\"\nauth_header = \"Bearer %s\" % (access_token)\n\nresp = requests.delete(\"https://sandbox.elationemr.com/api/2.0/delegate_permissions/140754688737550\",\n                       headers={'Authorization': auth_header})\n\nprint resp.status_code"
        samples-languages:
        - python
      tags:
      - Delegate Permissions
      security:
      - sec0: []
    get:
      summary: Find Delegate Permissions
      description: ''
      operationId: find-delegate-permissions
      parameters:
      - name: Authorization
        in: header
        required: true
        schema:
          type: string
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value: "[\n \t{\n  \t\"id\": 83792571234,\n  \t// See Object Definition\n\t},\n]"
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: '{}'
              schema:
                type: object
                properties: {}
      deprecated: false
      x-readme:
        code-samples:
        - language: python
          code: "import requests\nimport json\n\naccess_token = \"VFroUHsmrErlVI6nJ08Alwhri5RGCW\"\nauth_header = \"Bearer %s\" % (access_token)\n\nresp = requests.get(\"https://sandbox.elationemr.com/api/2.0/delegate_permissions/\",\n                    headers={'Authorization': auth_header})\n\nprint resp.status_code\nprint json.dumps(json.loads(resp.content), indent=2)"
        samples-languages:
        - python
      tags:
      - Delegate Permissions
      security:
      - sec0: []
    servers:
    - url: https://sandbox.elationemr.com/api/2.0
  /api/2.0/delegate_permissions/:
    get:
      operationId: delegate_permissions_list
      parameters:
      - description: Number of results to return per page.
        in: query
        name: limit
        required: false
        schema:
          type: integer
      - description: The initial index from which to return the results.
        in: query
        name: offset
        required: false
        schema:
          type: integer
      - description: Which field to use when ordering the results.
        in: query
        name: order_by
        required: false
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedDelegatePermissionList'
          description: ''
      security:
      - oauth2: []
      summary: List Delegate Permissions
      tags:
      - Delegate Permissions
      x-el8-docs-category: Practice API
      x-el8-docs-versions:
      - '2.1'
      - '2.0'
    post:
      description: Create a new delegate permission.
      operationId: delegate_permissions_create
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DelegatePermission'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DelegatePermission'
          description: ''
      security:
      - oauth2: []
      summary: Create Delegate Permission
      tags:
      - Delegate Permissions
      x-el8-docs-category: Practice API
      x-el8-docs-versions:
      - '2.1'
      - '2.0'
    servers:
    - description: Sandbox Server
      url: https://sandbox.elationemr.com
    - description: Production Server
      url: https://api.app.elationemr.com
  /api/2.0/delegate_permissions/{id}/:
    delete:
      description: Delete an existing delegate permission.
      operationId: delegate_permissions_destroy
      parameters:
      - in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      responses:
        '204':
          description: No response body
      security:
      - oauth2: []
      summary: Delete Delegate Permission
      tags:
      - Delegate Permissions
      x-el8-docs-category: Practice API
      x-el8-docs-versions:
      - '2.1'
      - '2.0'
    get:
      operationId: delegate_permissions_retrieve
      parameters:
      - in: path
        name: id
        required: true
        schema:
          format: int64
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DelegatePermission'
          description: ''
      security:
      - oauth2: []
      summary: Retrieve Delegate Permission
      tags:
      - Delegate Permissions
      x-el8-docs-category: Practice API
      x-el8-docs-versions:
      - '2.1'
      - '2.0'
    servers:
    - description: Sandbox Server
      url: https://sandbox.elationemr.com
    - description: Production Server
      url: https://api.app.elationemr.com
components:
  schemas:
    PermissionTypeEnum:
      enum:
      - bills
      - messages
      - orders
      - referrals
      - rxs
      type: string
    DelegatePermission:
      properties:
        created_date:
          format: date-time
          readOnly: true
          type:
          - string
          - 'null'
        delegate_user:
          type: integer
        id:
          readOnly: true
          type: integer
        permission_type:
          $ref: '#/components/schemas/PermissionTypeEnum'
        physician:
          format: int64
          type: integer
        practice:
          format: int64
          type: integer
      required:
      - delegate_user
      - permission_type
      - physician
      - practice
      type: object
    PaginatedDelegatePermissionList:
      properties:
        count:
          example: 123
          type: integer
        next:
          example: http://api.example.org/accounts/?offset=400&limit=100
          format: uri
          nullable: true
          type: string
        previous:
          example: http://api.example.org/accounts/?offset=200&limit=100
          format: uri
          nullable: true
          type: string
        results:
          items:
            $ref: '#/components/schemas/DelegatePermission'
          type: array
      required:
      - results
      type: object
  securitySchemes:
    sec0:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://example.com/oauth2/token
          scopes: {}
    oauth2:
      flows:
        clientCredentials:
          scopes:
            act_as_user: Impersonate a provider via X-On-Behalf-Of (combinable with apiv2 or system scopes)
            apiv2: Full access to the API
            system/{resource_name}.read: Read access to a specific resource
            system/{resource_name}.write: Write access to a specific resource
          tokenUrl: /api/2.0/oauth2/token/
      type: oauth2
x-refined-from:
- elation-api-settings.json
- elation-health-api-full-openapi.yaml
x-readme:
  headers: []
x-readme-fauxas: true