These APIs allow you to manage assets (files, zip uploads, and folders) within an account. You can get assets, upload files, check upload status, or delete assets/folders from the asset library.
For information on Generating API key, see "Generating API Key" in https://docs.jivox.com/jivox-documentation/generate-api-key
Method Name | Method Type | Description |
---|---|---|
Get Assets | GET | Retrieves a list of files and folders in the account's asset library. |
Upload File/Zip to Asset Library | POST | Uploads a file or zip to the asset library. |
Get Upload Detailed Status | GET | Retrieves detailed status of an asset upload queue. |
Get Upload Status | GET | Retrieves summary status of an upload queue. |
Delete Assets/Asset Folders | DELETE | Deletes a file or folder in the asset library. |
Get assets for a given user account.
End Point
xxxxxxxxxx
GET <api-url>/v2/accounts/:accountId/asset-library
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | Integer | Mandatory | path | ID of the advertiser account created on the platform. |
nextKey | String | Optional | query | Pagination key for results |
limit | Integer | Optional | query | Number of items per page |
prefix | String | Optional | query | List assets under given prefix/path |
Path and filename validations apply |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/accounts/1234/asset-library?nextKey=asdvaava&limit=3&prefix=abc/def
Sample Response
xxxxxxxxxx
{
"files": [
{
"cdnUrl": "https://cdn.jivox.com/files/1234/abc/def/test1.png",
"date": "2025-08-04T09:28:14Z",
"name": "test1.png",
"size": "2.25 KB"
},
{
"cdnUrl": "https://cdn.jivox.com/files/1234/abc/def/test2.png",
"date": "2025-08-04T09:28:14Z",
"name": "test2.png",
"size": "2.25 KB"
}
],
"folders": [
"testfolder1"
],
"nextKey": "abxyzzlead",
"path": "abc/def"
}
If there is no next page, |
Upload files or zip to Asset Library.
End Point
xxxxxxxxxx
POST <api-url>/v2/accounts/:accountId/asset-library
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | String | Mandatory | path | ID of the advertiser account created on the platform. |
Sample Request
xxxxxxxxxx
POST http://demo.stub.api.jivox.com/v2/accounts/1234/asset-library
Request Body (Multipart Form)
Name | Data Type | Requirement | Example | Description |
---|---|---|---|---|
file | File | Mandatory | test.png, assets.zip | File or zip to upload |
path | String | Optional | test/uploads/ | Folder path where file should go |
Upload Constraints
Allowed File Types
Category | Extensions |
---|---|
Images | jpg, jpeg, png, gif, webp, svg, bmp, tiff, ico |
Documents | pdf, doc, docx, xls, xlsx, ppt, pptx, txt, rtf, csv |
Media | mp4, avi, mov, wmv, flv, webm, mkv, mp3, wav, ogg, m4a |
Web Files | html, htm, css, js, json, xml |
Fonts | ttf, otf, woff, woff2 |
Archives | zip (will be extracted) |
Sample Response
xxxxxxxxxx
{
"queueId": "eb828253bf284460ba2a0abdd5a589e3"
}
End Point
xxxxxxxxxx
GET <api-url>/v2/queues/:queueId/status
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
queueId | String | Mandatory | path | Queue id received from upload request. |
Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/queues/1be2a28728d147af8b9f4a3358/status
Sample Response
xxxxxxxxxx
{
"id": "1be2a28728d147af8b9f4a3358",
"message": "Number of assets uploaded: 1",
"status": "Completed",
"totalItems": 1,
"totalProcessed": 1
}
End Point
xxxxxxxxxx
GET <api-url>/v2/queues/:queueId
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
queueId | String | Mandatory | path | Queue id received from upload request. |
Example/Sample Request
xxxxxxxxxx
GET http://demo.stub.api.jivox.com/v2/queues/1be2a28728d147af8b9f4a3358
Sample Response
xxxxxxxxxx
{
"message": "Number of assets uploaded: 1",
"status": "Completed"
}
End Point
xxxxxxxxxx
DELETE <api-url>/v2/accounts/:accountId/asset-library
Parameters
Name | Data Type | Requirement | Parameter Type | Description |
---|---|---|---|---|
accountId | Integer | Mandatory | path | ID of the advertiser account created on the platform. |
path | String | Mandatory(optional for file delete) | query | Path of folder or file to delete |
command | String | Mandatory | query | Command specifying deletion action
|
file | String | Mandatory(optional for folder delete) | query | File name if deleting a specific file |
Example/Sample Request
Delete File
Optional : path
Mandatory:
command=deleteFile
file=<filename>
command=deleteFile&file=testfile.png
OR
xxxxxxxxxx
command=deleteFile
file=<filename>
path=<filepath>
command=deleteFile&path=abc/def&file=testfile.png
xxxxxxxxxx
DELETE http://demo.stub.api.jivox.com/v2/accounts/1234/asset-library?command=deleteFile&path=abc/def&file=testfile.png
Delete Folder
Mandatory:
xxxxxxxxxx
path=<filepath>
command=deleteFolder
command=deleteFolder&path=abc/def
xxxxxxxxxx
DELETE http://demo.stub.api.jivox.com/v2/accounts/1234/asset-library?command=deleteFolder&path=abc/def
Sample Response
xxxxxxxxxx
{
"msg": "Deleted successfully"
}
|
\\u0000
) and ASCII control chars (0x00–0x1F
) not allowed\\u007F
), NEL (\\u0085
), Latin-1 Supplement (U+00A0–U+00FF
)".."
or "./"
/
(no absolute paths)"//"
/
Path contains a null byte (\\u0000).
Path exceeds max length of 512 characters.
Path contains illegal sequence ".." (directory traversal).
File extension 'exe' is not allowed. Allowed: jpg, png, pdf, ...