Skip to main content
This content applies to Device version: 1.1.0.0

Examples for integration

This section provides a test example to facilitate the integration of Legit.Health AI models via the JSON API. The example includes an image and its corresponding base64 encoding to help you test the complete workflow, from authentication to receiving diagnostic support and severity assessments.

Basic integration example

To help you get started with the API integration, we will provide a simple example image of Hidradenitis Suppurativa. This single example allows you to:

  1. Test the complete integration workflow:

    • Authenticate with the API
    • Send an image for analysis
    • Receive diagnosis support
    • Get severity assessment results
  2. Understand the request and response formats for each endpoint:

    • How to properly format image data
    • What responses to expect
    • How to handle the API tokens

Once this basic integration is working correctly, we can proceed with additional test examples for more complex scenarios.

Thumbnail of the Hidradenitis suppurativa example image
Hidradenitis suppurativa example
Example image for testing the full integration workflow