List Layouts

GET {{baseUrl}}/api/v1/layouts?module=<String>

This API lists all the layouts configured for a module.

OAuth Scope

  • Desk.basic.READ

Request Params

KeyDatatypeRequiredDescription
modulestringName of the module whose layouts must be fetched. Values allowed are tickets, contacts, accounts , calls , events, tasks, timeEntry, products, and contracts.
departmentIdstringID of the department in which the layouts are configured
statusstringStatus of the layout Values allowed are active
fromstringfrom index
limitstringno of layouts to be fetched
layoutNamestringName of the layout used as the keyword for the search

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{&quot;data&quot;:[{&quot;modifiedTime&quot;:&quot;2019-05-09T06:24:10.000Z&quot;,&quot;departmentId&quot;:&quot;4000000012710&quot;,&quot;module&quot;:&quot;Cases&quot;,&quot;layoutDisplayName&quot;:&quot;New Layout For Tickets&quot;,&quot;layoutDesc&quot;:&quot;DESC&quot;,&quot;isDefaultLayout&quot;:true,&quot;layoutName&quot;:&quot;New Layout For Tickets&quot;,&quot;skipDeptAccessValidation&quot;:false,&quot;layoutProfiles&quot;:[{&quot;profileName&quot;:&quot;Support Administrator&quot;,&quot;isDefault&quot;:true,&quot;id&quot;:&quot;4000000015183&quot;,&quot;type&quot;:&quot;ADMIN&quot;},{&quot;profileName&quot;:&quot;Agent&quot;,&quot;isDefault&quot;:true,&quot;id&quot;:&quot;4000000015186&quot;,&quot;type&quot;:&quot;STANDARD&quot;},{&quot;profileName&quot;:&quot;Help Center&quot;,&quot;isDefault&quot;:true,&quot;id&quot;:&quot;4000000015189&quot;,&quot;type&quot;:&quot;PORTAL&quot;}],&quot;createdBy&quot;:&quot;4000000015894&quot;,&quot;createdTime&quot;:&quot;2019-05-03T06:36:33.000Z&quot;,&quot;modifiedBy&quot;:&quot;4000000015894&quot;,&quot;id&quot;:&quot;4000000013464&quot;,&quot;status&quot;:&quot;active&quot;},{&quot;modifiedTime&quot;:&quot;2019-05-06T01:45:58.000Z&quot;,&quot;departmentId&quot;:&quot;4000000012710&quot;,&quot;module&quot;:&quot;Cases&quot;,&quot;layoutDisplayName&quot;:&quot;cloneLayout&quot;,&quot;layoutDesc&quot;:&quot;DESC&quot;,&quot;isDefaultLayout&quot;:false,&quot;layoutName&quot;:&quot;cloneLayout&quot;,&quot;skipDeptAccessValidation&quot;:false,&quot;layoutProfiles&quot;:[{&quot;profileName&quot;:&quot;Support Administrator&quot;,&quot;isDefault&quot;:true,&quot;id&quot;:&quot;4000000015183&quot;,&quot;type&quot;:&quot;ADMIN&quot;},{&quot;profileName&quot;:&quot;Agent&quot;,&quot;isDefault&quot;:true,&quot;id&quot;:&quot;4000000015186&quot;,&quot;type&quot;:&quot;STANDARD&quot;},{&quot;profileName&quot;:&quot;Help Center&quot;,&quot;isDefault&quot;:true,&quot;id&quot;:&quot;4000000015189&quot;,&quot;type&quot;:&quot;PORTAL&quot;},{&quot;profileName&quot;:&quot;Supervisor&quot;,&quot;isDefault&quot;:false,&quot;id&quot;:&quot;4000000015192&quot;,&quot;type&quot;:&quot;CUSTOM&quot;},{&quot;profileName&quot;:&quot;Support Manager&quot;,&quot;isDefault&quot;:false,&quot;id&quot;:&quot;4000000015195&quot;,&quot;type&quot;:&quot;CUSTOM&quot;},{&quot;profileName&quot;:&quot;Newbie Agent&quot;,&quot;isDefault&quot;:false,&quot;id&quot;:&quot;4000000015198&quot;,&quot;type&quot;:&quot;CUSTOM&quot;},{&quot;profileName&quot;:&quot;Light Agent&quot;,&quot;isDefault&quot;:true,&quot;id&quot;:&quot;4000000015201&quot;,&quot;type&quot;:&quot;LIGHT&quot;}],&quot;createdBy&quot;:&quot;4000000015894&quot;,&quot;createdTime&quot;:&quot;2019-05-06T01:45:58.000Z&quot;,&quot;modifiedBy&quot;:&quot;4000000015894&quot;,&quot;id&quot;:&quot;4000000017001&quot;,&quot;status&quot;:&quot;active&quot;}]}