# Get Tag (v2) Returns detailed information about a specific tag. Response uses JSON:API format where type: "tag" is the resource type name. Endpoint: GET /v2/companies/{company_id}/tags/{tag_id} Version: 1.0.1 Security: BearerPartnerUser ## Header parameters: - `Accept` (string, required) API version header - `Authorization` (string, required) Bearer {partner_token}, User {user_token} ## Path parameters: - `company_id` (integer, required) Company (location) ID - `tag_id` (integer, required) Tag ID ## Response 200 fields (application/json): - `data` (object) - `data.type` (string) Example: "tag" - `data.id` (string) Example: "241625" - `data.attributes` (object) Tag attributes (v2 API JSON:API format) - `data.attributes.company_id` (integer, required) Company (location) ID Example: 68570 - `data.attributes.title` (string, required) Tag name Example: "VIP client" - `data.attributes.color` (string, required) Tag background color in Example: "#ff2828" - `data.attributes.entity_type` (string, required) Entity type slug Enum: "common", "client", "record", "activity" - `data.attributes.is_deleted` (boolean, required) Whether the tag is deleted - `data.attributes.is_editable` (boolean, required) Whether the tag can be edited/deleted Example: true - `data.attributes.font_color` (string) Tag font color in Example: "#ffffff" - `data.attributes.icon` (string) Icon name Example: "star" - `data.attributes.salon_id` (integer) Deprecated: Use company_id instead Example: 68570 - `data.attributes.entity` (integer) Deprecated: Use entity_type instead. Numeric entity type (0-common, 1-client, 2-record, 3-activity) Example: 1 - `data.attributes.entity_slug` (string) Deprecated: Use entity_type instead Example: "client" - `data.attributes.deleted` (integer) Deprecated: Use is_deleted instead. (0 - not deleted, 1 - deleted) - `data.attributes.not_editable` (integer) Deprecated: Use is_editable instead. (0 - editable, 1 - not editable) - `meta` (array) ## Response 401 fields (application/json): - `success` (boolean) - `data` (null) - `meta` (object) - `meta.message` (string) ## Response 403 fields (application/json): - `success` (boolean) - `data` (null) - `meta` (object) - `meta.message` (string) ## Response 404 fields (application/json): - `success` (boolean) - `data` (null) - `meta` (object) - `meta.message` (string) Example: "Not found"