Publishing
Listing Publishing Destinations
import { ShortGenius } from 'shortgenius'
const client = new ShortGenius({
bearerAuth: 'YOUR_API_TOKEN'
})
const connections = await client.getConnections()
console.log(`Found ${connections.length} connections:`)
for (const connection of connections) {
console.log(`- ${connection.name} (${connection.type}): ${connection.id}`)
}from shortgenius import Shortgenius
client = Shortgenius(api_key="YOUR_API_TOKEN")
connections = client.connections.list()
print(f"Found {len(connections)} connections:")
for connection in connections:
print(f"- {connection.name} ({connection.type}): {connection.id}")[
{
"id": "95c87129-3e78-49ee-8305-d7bd5201263a",
"type": "TikTok",
"name": "My TikTok Account"
},
{
"id": "00d10d95-b58c-4a60-9cae-578490ab5201",
"type": "YouTube",
"name": "My YouTube Channel"
},
{
"id": "9830b2d9-76f7-4471-b5f6-a33041555c75",
"type": "X",
"name": "My Twitter/X Profile"
}
]Response Fields
Field
Description
Using Connections in Video Creation
Scheduling Videos
Using Connections in Series
Publishing State
Troubleshooting Publishing
Next Steps
Last updated