---
updatedAt: 2025-07-24T17:59:38.000Z
agentTools:
  projectIndex: https://docs.arena.im/llms.txt
---

# Retrieve All Stream Templates for a Site

Fetches a list of all stream templates associated with a specific site.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/sites/{siteId}/stream-templates": {
      "get": {
        "summary": "Retrieve All Stream Templates for a Site",
        "description": "Fetches a list of all stream templates associated with a specific site.",
        "operationId": "StreamTemplateController_findAll",
        "parameters": [
          {
            "name": "siteId",
            "required": true,
            "in": "path",
            "schema": {
              "type": "string"
            },
            "description": "The unique ID of the site to retrieve stream templates for"
          }
        ],
        "responses": {
          "200": {
            "description": "Successfully retrieved the list of stream templates",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/StreamTemplateResponseDto"
                  }
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized due to missing or expired authentication token"
          }
        },
        "tags": [
          "stream-templates"
        ],
        "security": [
          {
            "bearer": []
          }
        ]
      }
    }
  },
  "info": {
    "title": "Customer's API",
    "description": "API to manage customer resources",
    "version": "3.0",
    "contact": {}
  },
  "servers": [
    {
      "url": "https://api.arena.im/v3"
    }
  ],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "StreamTemplateResponseDto": {
        "type": "object",
        "properties": {
          "autoPublishAll": {
            "type": "boolean",
            "description": "Whether all the new content from stream will be auto published.",
            "default": false,
            "example": false
          },
          "autoPublishSchedule": {
            "type": "string",
            "description": "When will content auto publish start. For this to work, autoPublishAll must be set to true.* now: auto publish will start as soon as the stream is linked with an event \n* eventstart: auto publish will start at the same time set for the event, containing this stream, to start \n* 10: auto publish will start 10 minutes before the time set for the event to start \n* 30: auto publish will start 30 minutes before the time set for the event to start \n* 60: auto publish will start 60 minutes (1 hour) before the time set for the event to start \n* 120: auto publish will start 120 minutes (2 hours) before the time set for the event to start \n* 240: auto publish will start 240 minutes (4 hours) before the time set for the event to start \n* 1440: auto publish will start 1440 minutes (24 hours) before the time set for the event to start",
            "example": "60",
            "enum": [
              "now",
              "eventstart",
              "10",
              "30",
              "60",
              "120",
              "240",
              "1440"
            ]
          },
          "jsonUrls": {
            "description": "URLs pointing to a JSON from where the stream will pull new content",
            "example": [
              "https://example.com/posts.json",
              "https://example-2.com/posts.json"
            ],
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "name": {
            "type": "string",
            "description": "Name of the stream",
            "example": "My stream"
          },
          "id": {
            "type": "string",
            "description": "Id of the stream template",
            "example": "6582f9217e53135725d85281"
          }
        },
        "required": [
          "jsonUrls",
          "name",
          "id"
        ]
      }
    }
  }
}
```