Create role

POST {{baseUrl}}/api/v1/roles

This API creates a role in your help desk.

OAuth Scope

  • Desk.settings.CREATE
  • Desk.basic.CREATE

Attributes

Attribute NameData TypeDescription
name (required)<string>
max chars : 50
Name of the role
description<string>
max chars : 3200
A short description of the role
shareDataWithPeers (required)<boolean>
Key that denotes if the role shares data with its peer roles
reportsTo<long>
ID of the role to which the current role reports

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;isDefault&quot;:false,&quot;shareDataWithPeers&quot;:true,&quot;immediateSubRoles&quot;:[],&quot;name&quot;:&quot;Customer Care Associate&quot;,&quot;description&quot;:&quot;Can work on own tickets and can not re-assign tickets.&quot;,&quot;reportsTo&quot;:5000000008807,&quot;id&quot;:&quot;5000000002973&quot;,&quot;isVisible&quot;:true}