Skip to main content
Docktix

Modules

Modules are the data types of your workspace (for example Contacts or Matters). These routes list, inspect, create, change and delete modules and list their fields.

Host: api_domain · Path prefix: /docktix/api/v1/ · Method: POST (parameter-less reads are GET) · every POST body also carries Firm_Id and Email · see Authentication for headers and errors.

RouteScopePurpose
modules/listDocktixCRM.modules.READList your modules
modules/detailsDocktixCRM.modules.READGet one module
modules/fields/listDocktixCRM.modules.READList a module's fields
modules/createDocktixCRM.modules.CREATECreate a module
modules/updateDocktixCRM.modules.UPDATERename or relabel a module
modules/deleteDocktixCRM.modules.DELETEDelete a module

Identifying a module

Send Module_Id or Module_Api (the module's API name). If you send both, they must refer to the same module. A missing identifier answers 400; a module that does not exist in your firm answers 404 Module not found.

List modules

GET{api_domain}/docktix/api/v1/modules/list
Scope DocktixCRM.modules.READHost api_domainContent-Type application/json

No body. Details is an array of your modules.

Get module details

POST{api_domain}/docktix/api/v1/modules/details
Scope DocktixCRM.modules.READHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Module_Id or Module_ApistringRequired(either one)The module

List a module's fields

POST{api_domain}/docktix/api/v1/modules/fields/list
Scope DocktixCRM.modules.READHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Module_Id or Module_ApistringRequired(either one)The module

Details is an array of the module's fields. Use the field keys in the Data object of the Records routes.

Create a module

POST{api_domain}/docktix/api/v1/modules/create
Scope DocktixCRM.modules.CREATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Module_NamestringRequiredName
Module_LabelstringRequiredDisplay label
Module_ApistringRequiredUnique API name in your firm
Module_TypestringOptionalType
Module_IconstringOptionalIcon
Module_StatusstringOptionalStatus

Details is the new module id. 409 if a module with this Module_Api already exists. Creating modules depends on your plan.

Update a module

POST{api_domain}/docktix/api/v1/modules/update
Scope DocktixCRM.modules.UPDATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Module_Id or Module_ApistringRequired(either one)The module (Module_Api cannot be renamed)
Module_Name, Module_Label, Module_IconstringConditionalat least one is requiredNew values

Delete a module

POST{api_domain}/docktix/api/v1/modules/delete
Scope DocktixCRM.modules.DELETEHost api_domainContent-Type application/json
Destructive. Removes the module and its structure. One module per call.
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Module_Id or Module_ApistringRequired(either one)The module
ConfirmbooleanRequiredMust be true; the call is refused without it