Happy Scribe - Transcription & Subtitles

Automation

Improve Your Transcription Work: HappyScribe API Docs

HappyScribe is a transcription platform that allows users to generate accurate transcripts from audio and video files. With the HappyScribe API, developers can create custom integrations and enhance their transcription work. This public API offers programmable access to HappyScribe services, allowing developers to create advanced applications that use transcription functionality.

Getting Started with the HappyScribe API

To get started with the HappyScribe API, you will need to create an account and sign in to the HappyScribe website. You can then access the documentation that covers all API endpoints and their relative parameters. Here are some examples of API code in JavaScript:

Example 1 - Uploading and Transcribing a File

var request = require('request');
var fs = require('fs');

var options = {
  method: 'POST',
  url: 'https://api.happyscribe.co/api/v1/transcriptions',
  headers: {
    Authorization: 'Bearer YOUR_API_TOKEN'
  },
  formData: {
    file: {
      value: fs.createReadStream('/path/to/your/file.mp3'),
      options: {
        filename: 'file.mp3',
        contentType: null
      }
    },
    language: 'en'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);
  console.log(body);
});

Example 2 - Checking Transcription Status

var request = require('request');

var options = {
  method: 'GET',
  url: 'https://api.happyscribe.co/api/v1/transcriptions/12345678-1234-1234-1234-1234567890ab',
  headers: {
    Authorization: 'Bearer YOUR_API_TOKEN'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);
  console.log(body);
});

Example 3 - Retrieving Transcription Results

var request = require('request');

var options = {
  method: 'GET',
  url: 'https://api.happyscribe.co/api/v1/transcriptions/12345678-1234-1234-1234-1234567890ab/output',
  headers: {
    Authorization: 'Bearer YOUR_API_TOKEN'
  }
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);
  console.log(body);
});

Conclusion

The HappyScribe API provides developers with a powerful toolset to integrate transcription functionality into their applications. Whether you want to automate your transcription tasks or improve your workflow, the HappyScribe API has the features you need to get the job done quickly and efficiently. Sign up for an account today and start coding!

Related APIs in Automation