URL: v3/api/tag/ Method: POST Query Parameters Parameter Type Possible Values Required/Optional Description visible_to array all_users, agents, logged_in_users logged_in_users_and_agents Required This field provides access, who can see the tags. Multiple user visibility can be selected from drop down. Response : { “success”: true, “message”: “Tag saved successfully” } URL: v3/api/tag/update/7 Method: PATCH Query Parameters Parameter Type Possible Values […]
Category: Tag
Tag List
NOTE: User must be logged in as admin to access this API URL : api/tags-list Method : GET Query Parameters : Parameter Type Possible Values Required/Optional Description sort-field String name Optional Field name to sort sort-order String asc, desc Optional Sorting order either ascending or descending search-query String tag name Optional Keyword to be searched in Tag […]
Get Tag Details
NOTE: User must be logged in as admin to access this API URL:api/tag/{tag} Method: GET Description : Get Tag Details. Parameters: Parameter Type Optional/Required Description tag integer Required tag id of the tag to be fetched. Response: { “success”: true, “data”: { “tag”: { “id”: 1, “name”: “new tag”, “description”: “This is new tag” } } […]
Delete Tag
NOTE: User must be logged in as admin to access this API URL: api/tag-delete/{tag} Method: DELETE Description : Delete a Tag. Parameters: Parameter Type Optional/Required Description tag integer Required tag id of the tag to be deleted. Response: { “success”: true, “message”: “Tag Deleted Successfully” }
Create Tag
NOTE: User must be logged in as admin or as agent to access this API URL : api/tag Method : POST Query Parameters : Parameter Type Possible Values Required/Optional Description name String new tag Required Tag Name description Text this is new tag Optional Tag Description Response: { “success”: true, “message”:”Tag saved Successfully” }
Update Tag
NOTE: User must be logged in as admin to access this API URL : api/tag/update/{tag} Method : PATCH Query Parameters : Parameter Type Possible Values Required/Optional Description name String tag Name Required Tag Name description Text Tag Desciption Optional Tag Description Response: { “success”: true, “message”:”Tag updated Successfully” }