Mail API reference

Mail API · Templates

get/v1/workspaces/{workspace_id}/templates/tagsAuth

Distinct tag list across all templates in this workspace (for autocomplete)

Path parameters

workspace_id*string · uuid

Id of the workspace.

Response · 200

data*array

Every tag used by a template in the workspace.

Example

Request

GET https://api.mail.productcraft.co/v1/workspaces/{workspace_id}/templates/tags
Authorization: Bearer YOUR_TOKEN

Response

{
  "data": [
    "string"
  ]
}