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.
| Route | Scope | Who may call (besides the scope) |
|---|---|---|
firm/details | DocktixFirm.firms.READ | any firm member |
firm/update | DocktixFirm.firms.UPDATE | Owner or Administrator |
users/list | DocktixFirm.users.READ | any firm member |
users/details | DocktixFirm.users.READ | any firm member |
users/create | DocktixFirm.users.CREATE | user needs the Users → Create permission |
users/update | DocktixFirm.users.UPDATE | user needs Users → Edit (without it, only editing yourself is allowed) |
profiles/list | DocktixFirm.profiles.READ | any firm member |
profiles/create | DocktixFirm.profiles.CREATE | Profiles → Create permission |
profiles/update | DocktixFirm.profiles.UPDATE | Profiles → Edit permission |
profiles/delete | DocktixFirm.profiles.DELETE | Profiles → Edit or Delete permission |
audits/list | DocktixFirm.audits.READ | Owner or Administrator |
audits/logins/list | DocktixFirm.audits.READ | Owner 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
{api_domain}/docktix/api/v1/firm/detailsno body
Update the firm
{api_domain}/docktix/api/v1/firm/updateAll parameters are optional, but at least one is required. Omitted fields stay unchanged.
| Parameter | Type | Required | Description |
|---|---|---|---|
Firm_Id | string | Required | Your firm id; must match the token |
Email | string | Required | The user the token acts as; must match the token |
Firm_Name | string | Optional | Firm name |
Firm_Email | string | Optional | Firm e-mail |
Firm_Term_Condition | string | Optional | Terms and conditions |
Attorney_Fee_Percent | number | Optional | Attorney fee percentage |
Social_Phone, Social_Mobile, Social_Fax, Social_Website | string | Optional | Contact details |
Address_Steet, Address_City, Address_State, Address_ZipCode, Address_Country, Address_Complete | string | Optional | Address |
Address_Steet is spelled exactly like this in the API. The firm image cannot be changed through the API.
Users
List users
{api_domain}/docktix/api/v1/users/listbody: none. Every member of your firm with profile, role and status. No paging.
Get a user
{api_domain}/docktix/api/v1/users/details| Parameter | Type | Required | Description |
|---|---|---|---|
Firm_Id | string | Required | Your firm id; must match the token |
Email | string | Required | The user the token acts as; must match the token |
User_Email | string | Required | A member of your firm (404 otherwise) |
Add a user
{api_domain}/docktix/api/v1/users/create| Parameter | Type | Required | Description |
|---|---|---|---|
Assignee_Email | string | Required | E-mail of the user to add |
First_Name, Last_Name, Phone | string | Optional | |
Role | string | Optional | |
Profile_Id | string | Optional | A profile of your firm |
The user receives the usual "added to firm" notification. The number of users depends on your plan.
Update a user
{api_domain}/docktix/api/v1/users/update| Parameter | Type | Required | Description |
|---|---|---|---|
User_Email | string | Required | The user to change |
First_Name, Last_Name, DOB, Alias, Role, Profile_Id, Previous_Profile_Id, Social_*, Address_* | Optional | Omitted = unchanged |
Profiles
List profiles
{api_domain}/docktix/api/v1/profiles/listbody: none.
Create a profile
{api_domain}/docktix/api/v1/profiles/create| Parameter | Type | Required | Description |
|---|---|---|---|
Firm_Id | string | Required | Your firm id; must match the token |
Email | string | Required | The user the token acts as; must match the token |
Profile_Name | string | Required | |
Profile_Description | string | Optional |
Update a profile
{api_domain}/docktix/api/v1/profiles/update| Parameter | Type | Required | Description |
|---|---|---|---|
Profile_Id | string | Required | |
Profile_Name | string | Required | Send the current value to keep it |
Profile_Description | string | Required | Send the current value to keep it |
Delete a profile
{api_domain}/docktix/api/v1/profiles/delete| Parameter | Type | Required | Description |
|---|---|---|---|
Profile_Id | string | Required | |
Confirm | boolean | Required | Must be true; otherwise 400 and nothing is changed |
Audits
Audit log
{api_domain}/docktix/api/v1/audits/list| Parameter | Type | Required | Description |
|---|---|---|---|
Firm_Id | string | Required | Your firm id; must match the token |
Email | string | Required | The user the token acts as; must match the token |
Page | integer | Optional | Default 1 |
Per_Page | integer | Optional | Default 25, maximum 100 |
Login history
{api_domain}/docktix/api/v1/audits/logins/list| Parameter | Type | Required | Description |
|---|---|---|---|
Page, Per_Page | integer | Optional | As above |
User_Email | string | Optional | Only this member; omitted = the whole firm |
Rows include device and IP information, which is why this route is limited to Owners and Administrators.