Skip to main content

Initialization

To start using the Altibbi SDK, you must initialize it using the initService method from the AltibbiService class.

Configuration Parameters

  • baseUrl: Your unique partner endpoint (provided by Altibbi).
  • token: The authentication token retrieved from your backend.
  • language: The preferred language for API responses. Supported values: "ar" (Arabic, default) or "en" (English).

Swift Example

import AltibbiTelehealth

AltibbiService.initService(token: "YOUR_TOKEN", baseUrl: "YOUR_BASE_URL", language: "ar")

Once initialized, you can access all features through the ApiService and other included utilities.