Skip to main content
This document provides a guide and overview for the GetTreatment RPC, which allows you to retrieve a single treatment by its treatment ID directly via API.
Two endpoints — check which one your project usesAuxia serves the Get Treatment API from two different endpoints. Each project is provisioned against one of them, so you must use the endpoint assigned to your project — calls to the wrong endpoint will fail.To find your project’s endpoint, open the Auxia Console and go to Configurations → Experience Delivery → API Integrations.

API Definition

Use the endpoint that matches your project (see note above). All other request parameters, headers, and response fields are identical between the two.

Entities

TreatmentPb

GetTreatment

API to fetch the details of a single treatment by ID

Sample cURL Request

Sample Response