VideoToDoc
API Documentation

YouTube to Blog Post Converter API

Automate your youtube to blog-post workflow with our powerful REST API. Process content programmatically with enterprise-grade reliability.

View UI Version

API Features

Fast & Reliable

Process content in minutes with 99.9% uptime SLA. Async processing with webhook notifications.

Secure & Compliant

Enterprise-grade security with API key authentication. SOC 2 compliant data handling.

Developer Friendly

RESTful API with official SDKs for JavaScript, Python. Comprehensive documentation and examples.

Quick Start Guide

Process YouTube Video

Create a workflow execution to convert YouTube video to blog post

// Create workflow execution from YouTube URL
const response = await fetch(
  'https://api.videotopage.com/api/workflows/{workflowId}/execution/new/url',
  {
    method: 'POST',
    headers: {
      'Authorization': 'Bearer YOUR_JWT_TOKEN',
      'Content-Type': 'application/json'
    },
    body: JSON.stringify({
      url: 'https://youtube.com/watch?v=dQw4w9WgXcQ',
      webhookUrl: 'https://yourapp.com/webhook' // Optional
    })
  }
);

const { executionId, status } = await response.json();

Get Execution Results

Retrieve the generated blog post URL and content

// Poll for completion or wait for webhook
const response = await fetch(
  'https://api.videotopage.com/api/workflows/{workflowId}/executions/{executionId}',
  {
    headers: { 'Authorization': 'Bearer YOUR_JWT_TOKEN' }
  }
);

const execution = await response.json();

// When completed, get the project URL
if (execution.status === 'COMPLETED') {
  const projectStep = execution.steps.find(s => s.type === 'project');
  console.log('Blog post URL:', projectStep.url);
}

Getting Started

1. Get Your API Token

Generate a JWT token from your VideoToPage account settings.

2. Create a Workflow

Set up a workflow in the VideoToPage UI that defines how your content should be processed.

Create Workflow

3. Get Your Workflow ID

Find your workflow ID in the workflows list or use the API to list all workflows.

GET /api/workflows

4. Make API Requests

Use your JWT token to authenticate all API requests.

Authorization: Bearer YOUR_JWT_TOKEN

API Reference

Base URL

https://api.videotopage.com

Full API Documentation

For complete API documentation including all endpoints, request/response schemas, and interactive testing, visit our Swagger documentation:

Open Interactive API Docs

Explore More Tools

VideoToDoc

Ready to Transform Your Videos?

Join thousands of content creators who've automated their content workflow with VideoToPage. Start free today—no credit card required.


© 2024 VideoToPage.com made with ❤️ by KLINZINGER SOFTWARE GmbH. All rights reserved.