---
updatedAt: 2026-09-01T20:42:06.000Z
---

# Retrieve a segment category

Fetches details of a specific segment category by its ID.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Reference Resources",
    "version": "2.0.0",
    "description": "Buzz API v2"
  },
  "paths": {
    "/segment-categories/{id}": {
      "get": {
        "operationId": "segment_categories_retrieve",
        "description": "Fetches details of a specific segment category by its ID.",
        "summary": "Retrieve a segment category",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "schema": {
              "type": "integer",
              "description": "Unique ID of the segment category"
            },
            "required": true
          }
        ],
        "tags": [
          "Segments"
        ],
        "security": [
          {
            "nestSessionAuth": []
          },
          {
            "nestBasicAuth": []
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegmentCategory"
                }
              }
            },
            "description": "Segment category retrieved successfully."
          },
          "401": {
            "description": "Authentication credentials were not provided."
          },
          "403": {
            "description": "Permission denied."
          },
          "404": {
            "description": "Segment category not found."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "SegmentCategory": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "readOnly": true,
            "description": "Unique ID of the segment category"
          },
          "account_id": {
            "type": "integer",
            "description": "Defaults to the account in the active session"
          },
          "advertiser_id": {
            "type": "integer",
            "nullable": true,
            "description": "The advertiser that owns the segment category. Pass null for none."
          },
          "key": {
            "type": "string",
            "readOnly": true,
            "nullable": true,
            "description": "Alphanumeric key for the segment or category, in the format {Data Provider}-{Segment / Category ID}."
          },
          "parent_key": {
            "type": "string",
            "nullable": true,
            "description": "Alphanumeric key for the parent node in the tree. Pass null for a top-level category."
          },
          "name": {
            "type": "string",
            "description": "The descriptive name of the segments. This field cannot be blank.",
            "maxLength": 191
          },
          "active": {
            "type": "boolean",
            "default": true,
            "description": "Whether the segment category is active."
          },
          "create_date": {
            "type": "string",
            "readOnly": true,
            "nullable": true,
            "description": "The date and time the object was first created",
            "pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
            "example": "2025-09-29 00:00:00"
          },
          "update_date": {
            "type": "string",
            "readOnly": true,
            "nullable": true,
            "description": "The date and time the object was last updated",
            "pattern": "^\\d{4}-\\d{2}-\\d{2} \\d{2}:\\d{2}:\\d{2}$",
            "example": "2025-09-29 00:00:00"
          },
          "alternative_id": {
            "type": "string",
            "nullable": true,
            "description": "An ID that may be used for any reporting or administrative purpose. Limited to 191 characters.",
            "maxLength": 200
          },
          "notes": {
            "type": "string",
            "nullable": true,
            "description": "Free-form notes of up to 255 characters.",
            "maxLength": 255
          }
        },
        "required": [
          "account_id",
          "advertiser_id",
          "create_date",
          "id",
          "key",
          "name",
          "parent_key",
          "update_date"
        ]
      }
    },
    "securitySchemes": {
      "nestBasicAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Form-based Basic Authentication"
      },
      "nestSessionAuth": {
        "type": "http",
        "scheme": "basic",
        "description": "Form-based Basic Authentication"
      }
    }
  },
  "x-explorer-enabled": false,
  "x-samples-languages": [
    "curl",
    "node",
    "ruby",
    "javascript",
    "python",
    "php",
    "java"
  ],
  "servers": [
    {
      "url": "https://{buzz_key}.api.beeswax.com/rest/v2",
      "variables": {
        "buzz_key": {
          "default": "stingersbx",
          "description": "Unique customer ID assigned by the Beeswax"
        }
      }
    }
  ],
  "x-readme": {
    "apply-endpoint-order": true,
    "apply-tag-changes": true
  }
}
```