Skip to content

List formats

GET /v1/formats

List supported formats.

No key needed.

Request

Terminal window
curl "https://api.formatjet.com/v1/formats"

Responses

200 OK

Supported formats

FieldTypeDescription
dataobject[]
data[].idstring
data[].labelstring
data[].namestring
data[].familystring
data[].extensionsstring[]
data[].mime_typesstring[]
data[].descriptionstring
Example
{
"data": [
{
"id": "pdf",
"label": "PDF",
"name": "PDF document",
"family": "pdf",
"extensions": [
"pdf"
],
"mime_types": [
"application/pdf"
],
"description": "PDF is the standard format for documents that should look the same everywhere. It can hold text, images and vector graphics across many pages."
},
{
"id": "docx",
"label": "DOCX",
"name": "Word document",
"family": "document",
"extensions": [
"docx"
],
"mime_types": [
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
],
"description": "DOCX is the document format of Microsoft Word since 2007. It keeps text, styles, tables and images, but how a page looks depends on the app and fonts that open it."
}
]
}