> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.sofer.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sofer.ai/_mcp/server.

# Create Batch Manifest From RSS

POST https://api.sofer.ai/v1/transcriptions/batch-files/from-rss
Content-Type: application/json

Create a standard-mode batch manifest from a podcast RSS feed.

The feed is fetched and parsed for podcast episode audio enclosures. Each episode with an audio enclosure becomes one manifest item with `audio_url`, title, and a stable `client_item_id`. The returned `batch_file_id` can be used in [Create Batch Transcription](/api-reference/batch-transcribe/create-batch-transcription) with `processing_mode: "standard"`.

By default, this imports up to the standard batch manifest limit. Use `limit` to import fewer episodes. If the feed has more episodes than one manifest can hold, call this endpoint again with the previous response's `next_offset`.

Need to find the RSS URL for a podcast? Try the [RSS.com Podcast RSS Feed Finder](https://rss.com/tools/find-my-feed/) and use the feed URL it returns.

Reference: https://docs.sofer.ai/api-reference/batch-transcribe/create-batch-file-from-rss

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Body (application/json)

This endpoint expects a BatchFileCreateFromRssRequest.

- `rss_url` (string, required) — Public RSS feed URL to fetch and parse for podcast episode audio enclosures.
- `limit` (integer, optional) — Optional maximum number of episodes to import. Defaults to the standard batch manifest limit.
- `offset` (integer, optional) — Number of podcast episode audio enclosures to skip before importing. Use `next_offset` from the previous response to fetch the next page.
- `metadata` (BatchFileMetadata, optional) — Optional title and description for this manifest. If omitted, the podcast title from the feed is used when available.

## Response

### 200

- `batch_file_id` (UUID, required) — Use this ID when calling [Create Batch Transcription](/api-reference/batch-transcribe/create-batch-transcription) with standard mode
- `item_count` (integer, required) — Number of audio sources imported into this manifest
- `size_bytes` (integer, required) — Size of the manifest in bytes
- `created_at` (datetime, required) — Upload timestamp
- `status` (enum, required) — Validation status. Wait for `VALID` before starting a batch.
  - Allowed values: `PENDING_VALIDATION`, `VALID`, `INVALID`
- `offset` (integer, required) — Number of audio enclosures skipped before this import started
- `limit` (integer, required) — Maximum number of audio enclosures requested for this import
- `has_more` (boolean, required) — Whether the feed contains more audio enclosures after this page
- `checksum` (string, optional) — SHA256 checksum of the manifest
- `validation_errors` (list of string, optional) — If status is `INVALID`, lists what's wrong with the manifest
- `next_offset` (integer, optional) — Offset to pass to import the next page. Omitted when `has_more` is false.

## Errors

### 401 Authentication Error

Authentication error

### 429 Rate Limit Error

Rate limit exceeded, or you have used up your quota

## Types

### BatchFileMetadata

Optional metadata for organizing batch files.

- `title` (string, optional) — Name for this batch manifest
- `description` (string, optional) — Notes or description

## Examples

Create a batch manifest from podcast episode enclosures

**Request**

```json
{
  "rss_url": "https://example.com/podcast/feed.xml",
  "limit": 100,
  "offset": 0,
  "metadata": {
    "title": "Weekly Parsha Podcast",
    "description": "Imported from RSS"
  }
}
```

**Response**

```json
{
  "batch_file_id": "c3d4e5f6-a789-4012-bcde-f12345678901",
  "item_count": 100,
  "size_bytes": 8192,
  "created_at": "2024-01-15T09:30:00Z",
  "status": "VALID",
  "offset": 0,
  "limit": 100,
  "has_more": true,
  "next_offset": 100
}
```

**SDK Code**

```python podcast_rss
import requests

url = "https://api.sofer.ai/v1/transcriptions/batch-files/from-rss"

payload = {
    "rss_url": "https://example.com/podcast/feed.xml",
    "limit": 100,
    "offset": 0,
    "metadata": {
        "title": "Weekly Parsha Podcast",
        "description": "Imported from RSS"
    }
}
headers = {
    "Authorization": "Bearer <apiKey>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript podcast_rss
const url = 'https://api.sofer.ai/v1/transcriptions/batch-files/from-rss';
const options = {
  method: 'POST',
  headers: {Authorization: 'Bearer <apiKey>', 'Content-Type': 'application/json'},
  body: '{"rss_url":"https://example.com/podcast/feed.xml","limit":100,"offset":0,"metadata":{"title":"Weekly Parsha Podcast","description":"Imported from RSS"}}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go podcast_rss
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.sofer.ai/v1/transcriptions/batch-files/from-rss"

	payload := strings.NewReader("{\n  \"rss_url\": \"https://example.com/podcast/feed.xml\",\n  \"limit\": 100,\n  \"offset\": 0,\n  \"metadata\": {\n    \"title\": \"Weekly Parsha Podcast\",\n    \"description\": \"Imported from RSS\"\n  }\n}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Authorization", "Bearer <apiKey>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby podcast_rss
require 'uri'
require 'net/http'

url = URI("https://api.sofer.ai/v1/transcriptions/batch-files/from-rss")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"rss_url\": \"https://example.com/podcast/feed.xml\",\n  \"limit\": 100,\n  \"offset\": 0,\n  \"metadata\": {\n    \"title\": \"Weekly Parsha Podcast\",\n    \"description\": \"Imported from RSS\"\n  }\n}"

response = http.request(request)
puts response.read_body
```

```java podcast_rss
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.sofer.ai/v1/transcriptions/batch-files/from-rss")
  .header("Authorization", "Bearer <apiKey>")
  .header("Content-Type", "application/json")
  .body("{\n  \"rss_url\": \"https://example.com/podcast/feed.xml\",\n  \"limit\": 100,\n  \"offset\": 0,\n  \"metadata\": {\n    \"title\": \"Weekly Parsha Podcast\",\n    \"description\": \"Imported from RSS\"\n  }\n}")
  .asString();
```

```php podcast_rss
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.sofer.ai/v1/transcriptions/batch-files/from-rss', [
  'body' => '{
  "rss_url": "https://example.com/podcast/feed.xml",
  "limit": 100,
  "offset": 0,
  "metadata": {
    "title": "Weekly Parsha Podcast",
    "description": "Imported from RSS"
  }
}',
  'headers' => [
    'Authorization' => 'Bearer <apiKey>',
    'Content-Type' => 'application/json',
  ],
]);

echo $response->getBody();
```

```csharp podcast_rss
using RestSharp;

var client = new RestClient("https://api.sofer.ai/v1/transcriptions/batch-files/from-rss");
var request = new RestRequest(Method.POST);
request.AddHeader("Authorization", "Bearer <apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"rss_url\": \"https://example.com/podcast/feed.xml\",\n  \"limit\": 100,\n  \"offset\": 0,\n  \"metadata\": {\n    \"title\": \"Weekly Parsha Podcast\",\n    \"description\": \"Imported from RSS\"\n  }\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift podcast_rss
import Foundation

let headers = [
  "Authorization": "Bearer <apiKey>",
  "Content-Type": "application/json"
]
let parameters = [
  "rss_url": "https://example.com/podcast/feed.xml",
  "limit": 100,
  "offset": 0,
  "metadata": [
    "title": "Weekly Parsha Podcast",
    "description": "Imported from RSS"
  ]
] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.sofer.ai/v1/transcriptions/batch-files/from-rss")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```