Skip to main content
Docktix

Firm, users and audits

Read and manage your firm's details, its users and profiles, and read audit logs.

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.

RouteScopeWho may call (besides the scope)
firm/detailsDocktixFirm.firms.READany firm member
firm/updateDocktixFirm.firms.UPDATEOwner or Administrator
users/listDocktixFirm.users.READany firm member
users/detailsDocktixFirm.users.READany firm member
users/createDocktixFirm.users.CREATEuser needs the Users → Create permission
users/updateDocktixFirm.users.UPDATEuser needs Users → Edit (without it, only editing yourself is allowed)
profiles/listDocktixFirm.profiles.READany firm member
profiles/createDocktixFirm.profiles.CREATEProfiles → Create permission
profiles/updateDocktixFirm.profiles.UPDATEProfiles → Edit permission
profiles/deleteDocktixFirm.profiles.DELETEProfiles → Edit or Delete permission
audits/listDocktixFirm.audits.READOwner or Administrator
audits/logins/listDocktixFirm.audits.READOwner or Administrator

The token's scope is not enough on its own: the user the token acts as must also hold the Docktix permission shown above (Owners and Administrators always do). Otherwise the call answers 403 You don't have permission to perform this action. Only an Owner can grant or change the Owner role. Profile ids must belong to your firm.

Firm

Get firm details

GET{api_domain}/docktix/api/v1/firm/details
Scope DocktixFirm.firms.READHost api_domainContent-Type application/json

no body

Update the firm

POST{api_domain}/docktix/api/v1/firm/update
Scope DocktixFirm.firms.UPDATEHost api_domainContent-Type application/json

All parameters are optional, but at least one is required. Omitted fields stay unchanged.

Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Firm_NamestringOptionalFirm name
Firm_EmailstringOptionalFirm e-mail
Firm_Term_ConditionstringOptionalTerms and conditions
Attorney_Fee_PercentnumberOptionalAttorney fee percentage
Social_Phone, Social_Mobile, Social_Fax, Social_WebsitestringOptionalContact details
Address_Steet, Address_City, Address_State, Address_ZipCode, Address_Country, Address_CompletestringOptionalAddress

Address_Steet is spelled exactly like this in the API. The firm image cannot be changed through the API.

Users

List users

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

body: none. Every member of your firm with profile, role and status. No paging.

Get a user

POST{api_domain}/docktix/api/v1/users/details
Scope DocktixFirm.users.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
User_EmailstringRequiredA member of your firm (404 otherwise)

Add a user

POST{api_domain}/docktix/api/v1/users/create
Scope DocktixFirm.users.CREATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Assignee_EmailstringRequiredE-mail of the user to add
First_Name, Last_Name, PhonestringOptional
RolestringOptional
Profile_IdstringOptionalA profile of your firm

The user receives the usual "added to firm" notification. The number of users depends on your plan.

Update a user

POST{api_domain}/docktix/api/v1/users/update
Scope DocktixFirm.users.UPDATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
User_EmailstringRequiredThe user to change
First_Name, Last_Name, DOB, Alias, Role, Profile_Id, Previous_Profile_Id, Social_*, Address_*OptionalOmitted = unchanged

Profiles

List profiles

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

body: none.

Create a profile

POST{api_domain}/docktix/api/v1/profiles/create
Scope DocktixFirm.profiles.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
Profile_NamestringRequired
Profile_DescriptionstringOptional

Update a profile

POST{api_domain}/docktix/api/v1/profiles/update
Scope DocktixFirm.profiles.UPDATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Profile_IdstringRequired
Profile_NamestringRequiredSend the current value to keep it
Profile_DescriptionstringRequiredSend the current value to keep it

Delete a profile

POST{api_domain}/docktix/api/v1/profiles/delete
Scope DocktixFirm.profiles.DELETEHost api_domainContent-Type application/json
Destructive.
Parameters
ParameterTypeRequiredDescription
Profile_IdstringRequired
ConfirmbooleanRequiredMust be true; otherwise 400 and nothing is changed

Audits

Audit log

POST{api_domain}/docktix/api/v1/audits/list
Scope DocktixFirm.audits.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
PageintegerOptionalDefault 1
Per_PageintegerOptionalDefault 25, maximum 100

Login history

POST{api_domain}/docktix/api/v1/audits/logins/list
Scope DocktixFirm.audits.READHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Page, Per_PageintegerOptionalAs above
User_EmailstringOptionalOnly this member; omitted = the whole firm

Rows include device and IP information, which is why this route is limited to Owners and Administrators.