# /smartlists/{smartListId}/options/{optionId}

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Formstack API v2025.0",
    "version": "0.0.4"
  },
  "servers": [
    {
      "url": "https://www.formstack.com/api/v2025",
      "description": "Production server"
    },
    {
      "url": "https://staging-formstack.com/api/v2025",
      "description": "Staging server"
    },
    {
      "url": "https://dev-formstack.com/api/v2025",
      "description": "Development server"
    }
  ],
  "paths": {
    "/smartlists/{smartListId}/options/{optionId}": {
      "get": {
        "tags": [
          "Smart List Options"
        ],
        "operationId": "getSmartListOption",
        "parameters": [
          {
            "name": "smartListId",
            "in": "path",
            "description": "ID of the smart list",
            "required": true,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "optionId",
            "in": "path",
            "description": "ID of the option to retrieve",
            "required": true,
            "schema": {
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "SmartList option details",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SmartListOptionDetailedApiDto"
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "SmartList or option not found"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "SmartListOptionDetailedApiDto": {
        "title": "Smart List Option Details",
        "description": "Smart List option details response",
        "properties": {
          "id": {
            "description": "The ID of the smart list option",
            "type": "integer",
            "nullable": false
          },
          "label": {
            "description": "Display label of the smart list option",
            "type": "string",
            "nullable": false
          },
          "value": {
            "description": "Value of the smart list option (used when separate values are enabled)",
            "type": "string",
            "nullable": false
          },
          "imageUrl": {
            "description": "URL of the option image if available",
            "type": "string",
            "nullable": true
          },
          "sort": {
            "description": "Sort order of the option",
            "type": "integer",
            "nullable": false
          },
          "created": {
            "description": "Date when the option was created (ISO 8601 format)",
            "type": "string",
            "format": "date-time",
            "example": "2023-12-01T10:30:00Z",
            "nullable": false
          },
          "updated": {
            "description": "Date when the option was last updated (ISO 8601 format)",
            "type": "string",
            "format": "date-time",
            "example": "2023-12-01T15:45:00Z",
            "nullable": false
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    {
      "name": "Smart List Options",
      "description": "Smart List Options are the individual entries that make up a Smart List. Use these endpoints to list a smart list's options, add, retrieve, update, and delete an option, clear all of a list's options, bulk-add a set of options to a list, and upload or remove an option's image."
    }
  ]
}
```