Add creditworthy activity

POST {{baseUrl}}/api/v1/credits

This API adds a creditworthy activity to the user community.

OAuth Scope

  • Desk.settings.CREATE

Attributes

Attribute NameData TypeDescription
name (required)<string>
max chars : 200
Name of the creditworthy activity
description<string>
max chars : 200
Description of the creditworthy activity
points (required)<double>
Number of credits associated with the activity

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;isEnabled&quot;:&quot;true&quot;,&quot;name&quot;:&quot;Custom Credit&quot;,&quot;isCustom&quot;:&quot;true&quot;,&quot;description&quot;:&quot;This is given to the people who have attended Webinar&quot;,&quot;id&quot;:&quot;3000000000343&quot;,&quot;points&quot;:&quot;100&quot;}