v1

latestOpenAPI 3.1.02026-07-24318141.2 MB

Create Quest

post/quests/

Request body

client_idstring required
namestring required
descriptionstring
started_atstring date
stopped_atstring date
timeoutstring

ISO8601

leaderboard_idsstring[]

Optional list of leaderboard UUIDs that should be updated when a user receives a reward for completing a quest. This field only takes effect if the leaderboard override flag is enabled for your application. To enable this flag, please contact Livelike. By default, if the flag is disabled, all leaderboards linked to the awarded reward item will be updated automatically.

Response

201

idstring
client_idstring
namestring
descriptionstring
created_atstring

Example response

{
  "id": "0276241f-959a-4062-a28c-e1a9c13b0c81",
  "client_id": "FVQI5U57tfCyDV99YjhF3ExdlpiObg5JASvy81Mu",
  "name": "Bens Quest",
  "description": "My first Quest",
  "created_at": "2022-06-10T02:20:03.570870Z",
  "attributes": [
    {
      "key": "k1",
      "value": "one"
    }
  ]
}