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

# Get a test result



## OpenAPI

````yaml /developers/openapi/admin.openapi.json get /api/v1/test-results/{test-result-id}
openapi: 3.1.0
info:
  title: admin-api
  version: '1.0'
  description: >-
    The Admin API gives you **full programmatic access** to your anny
    organization. It is built for **server-side integrations** — backend
    services, automation scripts, and custom tooling that act on behalf of your
    team.


    ---


    ## When to use the Admin API


    Use the Admin API when you need to **drive workflows from your own
    systems**:


    - **Sync membership data** — create or update customers, assign them to
    communities, reflect subscription status from an external CRM

    - **Create bookings programmatically** — build back-office tools or automate
    repeat reservations without going through the customer checkout

    - **Issue and forward invoices** — generate invoices, send them to
    customers, or push them to your accounting system

    - **React to real-time events** — pair the API with
    [Webhooks](/developers/guides/admin/webhooks) to trigger side effects
    whenever a booking is created, cancelled, or checked in

    - **Drive display panels** — push live occupancy and schedule data to
    digital signage or lobby displays


    Combined with [webhook subscriptions](/developers/guides/admin/webhooks),
    you can build fully automated, event-driven workflows without polling.


    ---


    ## Authentication


    Generate a long-lived API token directly in the admin dashboard under
    **Organization Settings → API**. All requests require it in the
    `Authorization` header:


    ```

    Authorization: Bearer {access_token}

    ```


    Every endpoint is **organization-scoped**. Pass your organization ID as a
    query parameter on every request:


    ```

    ?o={organization_id}

    ```


    See the [Authentication guide](/developers/guides/authentication) for token
    scopes and the full OAuth2 flow.


    ---


    ## Admin API vs Customer API


    | | Admin API | Customer API |

    |---|---|---|

    | **Use case** | Server-side automation, backend tooling | End-user apps,
    booking widgets |

    | **Auth** | Required — API token or OAuth2 | Optional — many endpoints work
    without a token |

    | **Identifiers** | Immutable UUIDs and integer IDs | Slugs, booking
    numbers, order numbers |

    | **Access** | Full read/write | Public and customer-owned data only |


    → [Go to the Customer API](/developers/api-reference/customer)


    ---


    ## Resource Identifiers


    The Admin API uses **immutable IDs** — UUIDs for most entities, integers for
    legacy ones. These are safe to store in external systems and never change,
    even if an organization renames a resource.


    ---


    ## Starting Points


    | Guide | What it covers |

    |---|---|

    | [Getting Started](/developers) | First steps and quickstart |

    | [JSON:API Conventions](/developers/guides/json-api-conventions) | Request
    and response format |

    | [Authentication](/developers/guides/authentication) | API tokens, OAuth2,
    scopes |

    | [Availability & Booking Search](/developers/guides/availability) | Search
    open slots and timeslots |

    | [Admin Booking Creation](/developers/guides/admin/booking-creation) |
    Create bookings from the back office |

    | [Admin Booking Lifecycle](/developers/guides/admin/booking-lifecycle) |
    Status changes, check-in, cancellations |

    | [Invoices](/developers/guides/admin/invoices) | Create, send, and manage
    invoices |

    | [Customer Management](/developers/guides/admin/customer-management) |
    Create and manage customer records |

    | [Booking Calendars](/developers/guides/admin/calendar-events) | Custom
    calendar events |

    | [Timeslot Management](/developers/guides/admin/timeslot-management) |
    Manage timeslot CRUD, recurrence, allocations, and rescheduling |

    | [Broadcast Campaigns](/developers/guides/admin/broadcasting) | Email and
    push campaigns |

    | [Exports](/developers/guides/admin/exports) | Export bookings and customer
    data |

    | [Webhooks & Events](/developers/guides/admin/webhooks) | Subscribe to
    real-time events |


    ---


    ## Base URLs


    | Environment | URL |

    |---|---|

    | Production | `https://b.anny.co` |

    | Gov-Cloud | `https://b.anny.eu` |
  contact:
    name: anny GmbH
    url: https://anny.co
    email: support@anny.co
servers:
  - url: https://b.anny.co
    description: Production
  - url: https://b.anny.eu
    description: Gov-Cloud
security:
  - Bearer: []
tags:
  - name: Add-On Groups
  - name: Add-Ons
  - name: Booking Add-Ons
  - name: Booking Bundles
  - name: Booking Passes
  - name: Booking Quota Grants
  - name: Booking Quotas
  - name: Booking Rules
  - name: Bookings
  - name: Broadcast Campaigns
  - name: Broadcasts
  - name: Calendars
  - name: Cancellation Policies
  - name: Communities
  - name: External Links
  - name: Community Invites
  - name: Custom Fields
  - name: Custom Forms
  - name: Customers
  - name: Businesses
  - name: Display Panels
  - name: Displays
  - name: Document Templates
  - name: Exports
  - name: External Calendars
  - name: Files
  - name: Images
  - name: Invoices
  - name: Items
  - name: Legal Document Links
  - name: Legal Documents
  - name: Model Identifiers
  - name: Orders
  - name: Organizations
  - name: Payment Setups
  - name: Payments
  - name: Plan Subscriptions
  - name: Price Modifiers
  - name: Properties
  - name: Queues
  - name: Resource Categories
  - name: Resource Groups
  - name: Resource Properties
  - name: Resources
  - name: Scans
  - name: Schedule Groups
  - name: Schedules
  - name: Service Add-Ons
  - name: Service Groups
  - name: Services
  - name: Sub-Resources
  - name: Test-Results
  - name: Test Results
  - name: Tests
  - name: Timeslot Allocations
  - name: Timeslot Series
  - name: Timeslots
  - name: User Invites
  - name: Users
  - name: Customer Balances
  - name: Vouchers
  - name: Webhooks
paths:
  /api/v1/test-results/{test-result-id}:
    parameters:
      - schema:
          type: string
        name: test-result-id
        in: path
        required: true
    get:
      tags:
        - Test-Results
      summary: Get a test result
      operationId: get-test-results-record
      parameters:
        - schema:
            type: string
          in: query
          name: o
          description: Organization ID
      responses:
        '200':
          description: OK
          content:
            application/vnd.api+json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/test-results.v1'
              examples:
                example-1:
                  value:
                    data:
                      type: test-results
                      id: b3a680ad-6001-4593-b192-4e52ee31cc66
                      attributes:
                        result: Negativ
                        batch_number: '123'
                        test_type: null
                        conducted_at: '2022-01-04T17:09:47+00:00'
                        created_at: '2022-01-04T13:29:35+00:00'
                        updated_at: '2022-01-04T17:09:47+00:00'
                        custom_entry_map:
                          68bd3189-cc94-452c-a007-e97f1fe7382d:
                            value: 10,5
                            formatted_value: 10,5
                            label: Ct-Wert
                      relationships:
                        test:
                          data:
                            type: tests
                            id: bbb2ffd6-bbec-4754-96b9-fc2d2825abb6
                        tester:
                          data:
                            type: users
                            id: '9'
                      links:
                        self: >-
                          https://b.staging.anny.co/api/v1/test-results/b3a680ad-6001-4593-b192-4e52ee31cc66
                      meta:
                        certificate_url: >-
                          https://b.staging.anny.co/downloads/test-certificate/b3a680ad-6001-4593-b192-4e52ee31cc66?locale=en&show_validity=0
                        has_secret: true
                        cwa_possible_covid_test_kits: []
                    included:
                      - type: tests
                        id: bbb2ffd6-bbec-4754-96b9-fc2d2825abb6
                        attributes:
                          name: SARS-CoV-2-RT-PCR-Test
                          result_options:
                            - Positiv
                            - Negativ
                          auto_result: null
                          auto_result_delay: 30
                          certificate_body: >-
                            <p><strong>Wichtige Hinweise bei positivem
                            Testergebnis:</strong></p><ul><li><p><u>Sie sind
                            verpflichtet, sich bei (positivem Testergebnis)
                            unverzüglich in häusliche Isolation zu begeben</u>
                            (»Absonderung«). Ebenso sollen die Mitglieder Ihres
                            Hausstandes sich unverzüglich absondern. Verlassen
                            Sie Ihre Wohnung oder Ihr Haus nur in medizinischen
                            oder sonstigen Notfällen.</p></li><li><p>Nehmen Sie
                            Kontakt zum zuständigen Gesundheitsamt auf. Das
                            Gesundheitsamt wird eine Isolierung mit einer Reihe
                            von Verhaltensregeln und Hygienemaßnahmen
                            anordnen.</p></li><li><p>Informieren Sie Ihren
                            Arbeitgeber, dass bei Ihnen ein positives
                            Testergebnis vorliegt.</p></li><li><p>Beachten Sie
                            die »Quarantäneregeln«! Halten Sie die wichtigsten
                            Verhaltens- und Hygieneregeln ein, um Ihre
                            Haushaltsangehörigen vor einer Ansteckung zu
                            schützen: Abstand (halten Sie sich, wenn möglich, in
                            einem separaten Zimmer auf), Hygiene, Tragen
                            geeigneter Schutzmasken, regelmäßiges
                            Lüften.</p></li><li><p>Informieren Sie Ihre
                            Kontaktpersonen der vergangenen 14 Tage über Ihre
                            mögliche Infektion. Schreiben Sie Ihre
                            Kontaktpersonen auf! Bei Auftreten von Beschwerden
                            lassen Sie sich umgehend ärztlich
                            beraten.</p></li><li><p>Die häusliche Isolierung
                            beendet ausschließlich das zuständige Gesundheitsamt
                            nach festgelegten Kriterien.</p></li></ul>
                          certificate_footer: >-
                            <p>Wer dieses Dokument fälscht oder einen nicht
                            erfolgten Test unrichtig bescheinigt, macht sich
                            nach § 267 StGB der Urkundenfälschung strafbar.
                            Jeder festgestellte Verstoß wird zur Anzeige
                            gebracht.</p>
                          issuing_authority: null
                          doctor_name: null
                          valid_period: 10080
                          test_type_options:
                            - § 2 TestV Kontaktperson, Corona-Warn-App (CWA)
                            - § 3 TestV Ausbruchsgeschehen
                            - § 4 Absatz 1 Nummer 1 und 2 TestV
                            - >-
                              § 4b Satz 1 TestV Bestätigungs-PCR (nach pos.
                              Schnelltest)
                            - § 4b Satz 2 TestV Varianten-PCR
                          default_test_type: null
                          display_tester: true
                          validate_download: true
                          display_resource: true
                          show_validation_code: true
                          send_customer_notification: true
                          print_confirmation_label: false
                          print_customer_label: false
                          result_notifications: null
                          created_at: '2022-01-03T10:12:20+00:00'
                      - type: users
                        id: '9'
                        attributes:
                          name: Lucian Holtwiesche
                          first_name: Lucian
                          given_name: Lucian
                          email: lucian.holtwiesche@anny.co
                          mobile: null
                          locale: de
                          timezone: Europe/Berlin
                          created_at: '2020-04-14T22:25:46+00:00'
                        relationships:
                          profile_image:
                            data: null
      security:
        - Bearer: []
components:
  schemas:
    test-results.v1:
      $schema: https://json-schema.org/draft/2020-12/schema
      x-version: 1.1.0
      title: Test Result
      type: object
      properties:
        id:
          type: string
        type:
          type: string
          default: test-results
          readOnly: true
        attributes:
          type: object
          properties:
            result:
              type:
                - string
                - 'null'
            batch-number:
              type:
                - string
                - 'null'
            test-type:
              type:
                - string
                - 'null'
            conducted_at:
              type:
                - string
                - 'null'
              format: date-time
            created_at:
              type:
                - string
                - 'null'
              format: date-time
            updated_at:
              type:
                - string
                - 'null'
              format: date-time
        meta:
          type: object
          properties:
            certificate_url:
              type: boolean
            has_secret:
              type: boolean
        relationships:
          type: object
          properties:
            test:
              $ref: '#/components/schemas/has-one-relationship'
            tester:
              $ref: '#/components/schemas/has-one-relationship'
            booking:
              $ref: '#/components/schemas/has-one-relationship'
        links:
          $ref: '#/components/schemas/links.v1'
    has-one-relationship:
      $schema: https://json-schema.org/draft/2020-12/schema
      x-version: 1.1.0
      title: has-one-relationship
      type: object
      properties:
        data:
          type:
            - object
            - 'null'
          properties:
            type:
              type: string
            id:
              type: string
    links.v1:
      $schema: https://json-schema.org/draft/2020-12/schema
      x-version: 1.1.0
      title: ResourceLinks
      x-tags:
        - Models
      type: object
      description: JSON:API self-link object
      properties:
        self:
          type: string
          format: uri
  securitySchemes:
    Bearer:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://auth.anny.co/oauth/authorize
          tokenUrl: https://auth.anny.co/oauth/token
          refreshUrl: https://auth.anny.co/oauth/token/refresh
          scopes: {}

````