Lists supported input or output formats for file conversion.
Loading, Please Wait...
Lists supported input or output formats for file conversion.
Selects supported formats based on whether they are inputs or outputs.
The specific format that you want to get input or output formats of it. If the format also has a type, separate it with a hyphen.
POST https://api.vertopal.com/v1/convert/formats
Authorization: Bearer [APP_TOKEN]
data={
"app": "[APP_ID]",
"parameters": {
"sublist": "inputs"
}
}
curl -L -X POST 'https://api.vertopal.com/v1/convert/formats' \
-H 'Authorization: Bearer [APP_TOKEN]' \
-F 'data={
"app": "[APP_ID]",
"parameters": {
"sublist": "inputs"
}
}'
vertopal api -v 1 convert/formats \
--app "[APP_ID]" \
--token "[APP_TOKEN]" \
-F data='{
"app": "%app-id%",
"parameters": {
"sublist": "inputs"
}
}'
The supported input or output formats. If the format parameter key has been sent, the supported input or output formats of that.
Read the Get Format to know what keys each format contains.
The task has been executed successfully without any errors.
The [FORMAT] format is not found in the valid formats.
The format has the wrong structure.
{
"result": {
"output": {
"formats": [
{
"format": "aai",
"extension": "aai",
"type": null,
"name": "AAI Dune Image",
"title": "AAI",
"categories": [
"picture"
]
},
// ...
// other input formats
// ...
{
"format": "bib",
"extension": "bib",
"type": "biblatex",
"name": "Bibliography Document",
"title": "BIB",
"categories": [
"document",
"markup"
]
},
{
"format": "db",
"extension": "db",
"type": "docbook",
"name": "DocBook Markup Language",
"title": "DB",
"categories": [
"document",
"markup"
]
}
]
},
"error": {},
"warning": {}
}
}