Skip to main content

CompetitionLabs Academy

Step 1: Achievement settings

Step 1: Achievement settings

Step 1: Settings - the Settings Section provides basic information on the state, visual display icon, name, description, status of an achievement, some other fields like metadata, dynamic data fields etc. Some fields are mandatory, others are optional. The tutorial provides all the information needed to fill out all Achievement creation fields based on the category of the achievement selected.

You can check more about the achievements model in our API documentation Achievements.

SETTINGS fields

EXAMPLES

» Status Enum: Draft, Live

Mandatory

The status of the Achievement.
  • Draft – not shown to the public and can be edited
  • Live – public and cannot be edited.

An achievement in Live state cannot be edited.

» Icon String

Mandatory

An icon to visually display the Achievement

Icons need to be pre-uploaded. Documentation on how to pre-upload icons can be found here.

» Name String

Mandatory

The name of the Achievement that a player sees when it is received.
» Description String

Optional

The Achievement description visible to players previewing an achievement.
» Initial state Enum: 1, 0

Mandatory

The state of the achievement:
  • Revealed
  • Hidden (the user is not shown how to get the Achievement)

This feature for front-end implementation indicates to your developers if an Achievement will be displayed or not.

» Type Enum

Mandatory

Select the type of Achievement you want to create. Achievement types are grouped into categories because some Academy pages reference specific types. The Achievements Advance page does not apply type filters, so you can preview all available types there. Note: Dynamic data fields change according to the selected type and are configured under Settings → Data Fields.
» Order Nr Integer

Mandatory

Sets the order number used to sort Achievements.
» Category Array[Strings]

Optional

Assign one or more categories to organise Achievements using your own categorisation structure.
» Metadata Object

Optional

Add custom metadata to extend the Achievement with information required by your implementation or promotional logic.

APP Example:

StatusDraft
IconStep 1: Achievement settings
NameWelcome back
DescriptionDaily login
Initial stateRevealed

API Example:

{
    "jsonClass": "Achievement",
    ...
    "achievementLiveStatus": "Draft",
    "icon": "07PbzGUBOmEkXOJnaWOs",
    "name": "Welcome back",
    "description": "Daily login",
    "initialState": 0,
    ...
}

The API example provides only a simplified version of the POST body. A full example of POST Achievement can be found in the Achievements APP API documentation here.

CONTINUE – Click Next and continue to the next step.

Cookie Settings

We use cookies to keep the site working, understand usage, and improve relevance. Read our Cookie Policy and Privacy Policy.