API Documentation

1 Font Converters

Convert font files to different formats.

Example request with curl

curl -X POST "https://convert.tigerra.com/fonts/ttf-to-otf" \
-H "Authorization: Bearer your-token" \
-F "file=@/path/file.ttf"
Valid url parameters
ttf-to-otf, ttf-to-eot, ttf-to-woff, ttf-to-woff2, woff-to-otf, woff-to-eot, woff-to-ttf, woff-to-woff2, woff2-to-otf, woff2-to-eot, woff2-to-ttf, woff2-to-woff, eot-to-otf, eot-to-ttf, eot-to-woff, eot-to-woff2, otf-to-ttf, otf-to-eot, otf-to-woff, otf-to-woff2

2 After the conversion request, you will receive a PID with which you can check the status of your request and delete the file.

{
    "status":"pending",
    "pid":"1:7a005b208e60445389c7930b376f91e4"
}

3 To check the status of the convertion, use the following request.

Example status check request

curl -X GET "https://convert.tigerra.com/get-status/1:7a005b208e60445389c7930b376f91e4" \
-H "Authorization: Bearer your-token"
Read more

4 If the conversion is successful, you will receive a status of 'completed' and a data attribute containing the download URL.

Example status check response

{
   "status": "completed",
   "data": "https://convert.tigerra.com/download/My9kZjkxZGZhMzNmMWE0NmZjODYwZDk4YmE3MDAxOTIwMi0xNzMwOTE0MjY1LTM6YmFlMmE3N2FkNjRiNGE0OTljYzZlYTkwYjA2ZWE3NmQvMS5tcDM"
}

5 Download the converted file. Receive the file as a stream or multiple files urls for download as a stream.

curl -X GET "https://convert.tigerra.com/download/My9kZjkxZGZhMzNmMWE0NmZjODYwZDk4YmE3MDAxOTIwMi0xNzMwOTE0MjY1LTM6YmFlMmE3N2FkNjRiNGE0OTljYzZlYTkwYjA2ZWE3NmQvMS5tcDM" \
-H "Authorization: Bearer your-token" \
--output downloaded_file.ext
Read more

6 Delete the file.

curl -X DELETE "https://convert.tigerra.com/delete-pid/1:7a005b208e60445389c7930b376f91e4" \
-H "Authorization: Bearer your-token"
Read more
<- API Endpoints