Filezigzag API version 1.0

The RESTful API has been developed in order to allow developers integrate our online file converter with their apps or webpages with a direct access to our conversion services. It provides easy access to all conversion functionalities available at FileZigZag.

Our API is available for all users for free. Users will be able to create a personal API token once they register and signup inside My Account Page.

A professional service shall be granted in the future for paid users which give the developers bigger size and priority conversion on our servers.

Please contact us for more details and help, we will be glad to get any questions, comments or requests for new features.


Introduction



To access Endpoint API use, http://api.filezigzag.com

The API uses a REST full architecture for interaction. That means that every single URI represents a different object in the API and the actions requested through the HTTP methods.

The current methods allowed to interact with the API are:

  • GET: Gathers information of the object. It will not, by any means, modify data on the server.
  • POST: Creates new elements in the API. Used to create the different objects in the API.
  • PATCH: Modifies an existing element in the API.
  • DELETE: Removes existing elements via API.

To know our API you can use Postman, Test and execute API calls manually, It is just a convenient tool for testing and debugging API calls easily and developer not needed when access our API.


Convert File Methods and Examples



URL request: http://api.filezigzag.com/fzz.svc/convertfile

Request Header:

POST /jobs HTTP/1.1
Host: http://api.filezigzag.com/fzz.svc/
token: <your API token here>
Content-Type: application/json

Method: POST

Input Json request example convert mp4 to avi [video to vedio]

{               "target":"avi"
                "category":"video",
                "source":"https://www.filezigzag.com/119915/a9234dfe-02b9-4a0f-8664-bcd6fb218ba9/Components_GIF_gif.MP4",
                "backurl":"",
                "options": [{"width":"",
                           "height":"200",
                           "bitrate""200",
                           "audioquality":"8",
                           "framrate""20",
                           "start":"00:00:00",
                           "end":"00:10:00",
                           "rotate":"0",
                           "flip":"horizontally"
                       "watermarkimageurl":"",

                       "changeaudiourl":""
 
                }]
                }

Parameters required: target, category, source
Backurl not activate yet.
Audioquality values 8 - 320

Output response Json with status 200 OK

{
  "Convertfile": {
    "id""a68f5430-3235-4e2d-894f-652df8257cda"
  }
}

Get File


URL Request: http://api.filezigzag.com/fzz.svc/Getfile

Method: POST

Input Json request

{
"id":"9162555c-5faf-4bdc-a075-18a13684fb0a"
}

Output response Json

{
  "Getfile": {
    "Description""Converted file avaliable",
    "FileURL""https://filezigzag.s3.amazonaws.com/2/d3480506-dced-45c4-8aec-2f0e7f72cfb4/Components_GIF_gif_MP4_mp4.avi?AWSAccessKeyId=AKIAJP4TWG7FXXCF5XAQ&Expires=1480517001&Signature=y0dj0DxDIM3Oxr5hxg50CrQBgKQ%3D",
    "Status""7"
  }
}

Status 1: File Received , 2 Queue, 3 Processing, 4 Fail, 5 Lock, 6 Deleted, 7 Success, 8 Unknown Error


Example convert jpg to png [image to image]

"target":"png"
"category":"image",
"source":"https://www.filezigzag.com/2/ea6bc5d3-03ca-44d4-b524-afd374ef7636/avi_to_mp4.jpg",
"backurl":"",
"options": [{
        "width":"400",
        "height":"300",
         "effects":"negative",
         "flip":"horizontally",
         "rotate":"90",
         "enhance":"equalize"  
}]
}

effects: "negative, Gray, monochrome, sketch
flip: horizontally, vertically
rotate: 90,180,270
enhance: equalize, sharpe, normalize, despeckle, noise, blur


Example convert wav to mp3 [audio to audio]

"target":"mp3"
"category":"audio",
"source":"https://www.filezigzag.com/2/ea6bc5d3-03ca-44d4-b524-afd374ef7636/xx.wav",
"backurl":"",

"options": [{
        "samplerate":"1000",
        "audiochannels":"memo",
         "audiobitrate":"6",
         "start":"00:00:10",
         "end":"00:00:20"
       
         
}]
}

Example convert doc to pdf [document to document]

"target":"pdf"
"category":"document",
"source":"https://www.filezigzag.com/2/c1f922b5-79c2-42d3-a73a-6a1c3d85ad3b/cv_.doc",
"backurl":""
}

Example convert pdf to doc [document to document]

"target":"doc"
"category":"document",
"source":"https://www.filezigzag.com/2/f0da7d53-28a2-4228-8b2b-2b5b89dc14db/__________.pdf",
"backurl":""
}

Example convert pdf to png [document to images]

"target":"png"
"category":"archive",
"source":"https://www.filezigzag.com/2/0aecf23c-c569-41cd-be15-43bd6b697057/__________.pdf",
"backurl":"",

"options": [{
        "width":"400",
        "height":"300",
         "effects":"negative",
         "flip":"horizontally",
         "rotate":"90",
         "enhance":"equalize"  
}]
}

Example convert any file to zip [any to archive]

"target":"zip"
"category":"archive",
"source":"https://www.filezigzag.com/2/f0da7d53-28a2-4228-8b2b-2b5b89dc14db/__________.pdf",
"backurl":""
}

Example convert zip to 7z [archive to archive]

"target":"7z"
"category":"archive",
"source":"https://filezigzag.s3.amazonaws.com/2/2a0b07bf-005a-43c6-9a0d-3980262c0711/___________pdf.zip?AWSAccessKeyId=AKIAJP4TWG7FXXCF5XAQ&Expires=1485199808&Signature=%2BirkGUWVeDalcADtOEERbzBQjqE%3D",
"backurl":""
}

FileZigZag supports different conversions -

Online Video Converter

,

Online Audio Converter

,

Online Image Converter

,

Online Documents Converter

,

Online Archive Converter

and many formats.
FileZigZag is a free online file conversion, Supports a wide variety of different file formats, videos, audio, images, documents, archives and file sharing without download any software.
© 2017 FileZigZag