Skip to main content
A surface is a location in your application where treatments can appear. Surfaces define the “where” of treatment delivery — the specific screen, page, or touchpoint a user is on when they receive a treatment.

Surface Identification and API Usage

Immediately below is an example of how the surface field is used in a Get Treatments API request. Each surface is identified by a name written in SCREAMING_SNAKE_CASE (for example, HOME_SCREEN). Every Treatment Type defines the surfaces where it can be applied. When your app requests a treatment, it includes the surface identifier, which Auxia uses to determine which treatments are eligible.

Configuration

Surfaces are created and managed in Configuration > UI Layout > Surfaces. This requires admin permissions. Contact your admin to add new surfaces or modify existing ones.

Examples


  • Treatments — treatments are assigned to a surface
  • Treatment Types — treatment types define which surfaces they can appear on
  • Destinations — destinations handle delivery for out-of-product channels
How-to guides: Configuration