Using and Creating Output Presets

Presets can be defined within the management UI. When you save a format, you can use the name of that format in subsequent API calls and the same format information will be applied.

Keep in mind that you'll still need to supply authentication, source, and destination information in each API request, the preset merely repeats the same previous choices on the parameters for encoding and translations.

<?xml version="1.0"?>
    <userid><<id>></userid> <!-- required-->
    <userkey><<key>></userkey> <!-- required-->
    <format> <!-- REQUIRED -->
        <output_preset>[output]</output_preset> <!-- REQUIRED -->
        <!-- Format fields -->
    "query": {
        "userid": "<<id>>",
        "userkey": "<<key>>",
        "action": "addMedia",
        "format": {
            "output_preset": "[output]"