Create a Request
In this article, we'll show you how to create a request for exporting all project images in the following dimensions (width & height):
800x800
1080x1920
To filter the combination of width and height, the object filter option is used.
To create a request, set up the API APP, and review the information about creating JSON, ZIP and TSV requests.
Here’s what your request should look like:
POST https://hub.celtra.io/api/export
Authorization: Basic <your API App ID> <your API App Secret>
Content-Type: application/json; charset=utf-8
{
"filters": {
"designFile": {
"id": ["mockedDesignFileId"],
},
"output": {
"assets": {
"image": [
"object": {
"width": 800,
"height": 800
},
"object": {
"width": 1080,
"height": 1920
}
]
}
}
}
}