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 inSCREAMING_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
Related Concepts
- 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