Create field

Create a custom field to be associated with rewards. Custom fields can be used for reporting and analytics purposes.

Body Params

Field details

string
required

A human-readable name for the field. Can contain letters, numbers, spaces, and underscores.
The field's label (a reference name used in API requests) will be automatically derived from this value.

string
enum
required

Type of the values of the field

TypeDescription
CheckboxA boolean value (true/false)
CurrencyA monetary value
DateA date value
DropdownA single selection from predefined options (see data.options)
EmailAn email address
ListMultiple selections from predefined options (see data.options)
NumberA numeric value
PhoneA phone number
TextA single-line text value
TextAreaA multi-line text value
data
object

Additional configuration for the field. Required for Dropdown and List data types.

boolean
Defaults to false

Is this field required (true) or optional (false). Defaults to false.

string

A description of the field's purpose

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json