Skip to main content
Docktix

Tags

Create tags and attach them to records, documents and drive resources.

Host: editor_api_domain (from the token response) · 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. Use the same access token as for all other routes.

RouteScopePurpose
tags/listDocktixFirm.tags.READList tags of a type
tags/createDocktixFirm.tags.CREATECreate a tag
tags/assignDocktixFirm.tags.UPDATEAttach a tag to items
tags/unassignDocktixFirm.tags.UPDATERemove a tag from items
tags/deleteDocktixFirm.tags.DELETEDelete a tag

Tag_Type is one of Record, Document or Resource (case-insensitive). Every Tag_Id and every item id must belong to your firm: an unknown or foreign tag answers 404 Tag not found., an unknown or foreign item answers 404 naming the id. When several ids are sent, all are checked first, so a refused id changes nothing.

List tags

POST{editor_api_domain}/docktix/api/v1/tags/list
Scope DocktixFirm.tags.READHost editor_api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Tag_TypestringRequiredRecord, Document or Resource

Details is your active tags of that type.

Create a tag

POST{editor_api_domain}/docktix/api/v1/tags/create
Scope DocktixFirm.tags.CREATEHost editor_api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Tag_LabelstringRequired
Tag_TypestringRequiredRecord, Document or Resource
Tag_ColorstringOptional

Details is the new tag's id. Labels are not checked for duplicates.

Assign / unassign a tag

POST{editor_api_domain}/docktix/api/v1/tags/assign
Scope DocktixFirm.tags.UPDATEHost editor_api_domainContent-Type application/json
POST{editor_api_domain}/docktix/api/v1/tags/unassign
Scope DocktixFirm.tags.UPDATEHost editor_api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Tag_IdstringRequiredThe tag
Tag_TypestringRequiredThe kind of the items
Selected_Idsarray of stringsRequired1 to 100 item ids of that kind (duplicates are removed)

assign skips items that already carry the tag.

Delete a tag

POST{editor_api_domain}/docktix/api/v1/tags/delete
Scope DocktixFirm.tags.DELETEHost editor_api_domainContent-Type application/json
Destructive. One tag per call.
Parameters
ParameterTypeRequiredDescription
Tag_IdstringRequired
ConfirmbooleanRequiredMust be true; otherwise 400 and nothing is changed