Add level
POST {{baseUrl}}/api/v1/levels
This API adds a level to the user community.
OAuth Scope
Desk.settings.CREATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name (required) | <string> max chars : 200 | Name of the level |
description | <string> max chars : 200 | Description of the level |
badgeId | <long> | ID of the badge to associate with the level |
pointsToReach (required) | <double> | Minimum number of credits a user needs to reach the level |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"badge":{"name":"Best Contributor","id":"3000000000395","iconUrl":"https://www.zylker.com/badge1.jpg"},"pointsToReach":"200","name":"Level 1","description":"Beginner","id":"1"}