> ## Documentation Index
> Fetch the complete documentation index at: https://slidesgpt.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# List Templates

Retrieve all custom templates you've uploaded.

## Response

Returns an array of template objects.

<ResponseField name="id" type="string">
  Unique identifier for the template
</ResponseField>

<ResponseField name="createdAt" type="string">
  ISO 8601 timestamp of when uploaded
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.slidesgpt.com/v1/templates \
    -H "Authorization: Bearer YOUR_API_KEY"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch("https://api.slidesgpt.com/v1/templates", {
    headers: { Authorization: "Bearer YOUR_API_KEY" },
  });

  const templates = await response.json();
  ```

  ```python Python theme={null}
  import requests

  headers = {'Authorization': 'Bearer YOUR_API_KEY'}
  response = requests.get(
      'https://api.slidesgpt.com/v1/templates',
      headers=headers
  )

  templates = response.json()
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  [
    {
      "id": "4a8ec7b3-c043-4d15-88e3-7d63803878f4",
      "createdAt": "2025-11-18T18:08:25.000Z"
    },
    {
      "id": "7b2cd9e1-f234-4a56-b789-c123d456e789",
      "createdAt": "2025-11-17T14:22:10.000Z"
    }
  ]
  ```
</ResponseExample>
