Add To Content Bank#
Adds assets to the Content Bank for reuse in other workflows and studio operations.
- Workflow ID:
add-to-content-bank
Example Request#
{
"workflows": ["add-to-content-bank"],
"mediaUrls": [
"https://cdn.example.com/media/cb-asset-001.mp4"
],
"metadata": {
"https://cdn.example.com/media/cb-asset-001.mp4": {
"Title": "Studio B-Roll (City A)",
"AssetType": "Vertical",
"ExternalId": "cb-ext-001"
}
}
}
Metadata#
| Key | Type | Required | Remarks |
|---|---|---|---|
Title |
string | Yes | Per-media. Title for the content bank asset. |
AssetType |
string | Yes | Per-media. One of: Vertical, Portrait, ThreeFour, Print, Square, Landscape, Wide. |
ExternalId |
string | No | Per-media. External identifier for the asset. |
cURL Example#
curl -X POST "https://integrations.usestoryteller.com/api/workflows/execute" \
-H "x-storyteller-api-key: $ST_API_KEY" \
-H "Content-Type: application/json" \
-d @- <<'JSON'
{
"workflows": ["add-to-content-bank"],
"mediaUrls": ["https://cdn.example.com/media/cb-asset-001.mp4"],
"metadata": {
"https://cdn.example.com/media/cb-asset-001.mp4": {
"Title": "Studio B-Roll (City A)",
"AssetType": "Vertical"
}
}
}
JSON