{"info":{"_postman_id":"43c189c0-f7f8-4cda-ad89-961133a23dbb","name":"cdn-zenvy","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"4309045","collectionId":"43c189c0-f7f8-4cda-ad89-961133a23dbb","publishedId":"2sB3WqvLWF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-11-26T21:08:20.000Z"},"item":[{"name":"Authorize Account","event":[{"listen":"test","script":{"id":"f557b727-7305-4885-a512-ef47912da309","exec":["var json = pm.response.json();","","if (json.accountId !== undefined) {","    pm.globals.set(\"accountId\", json.accountId);","}","if (json.accountId !== undefined) {","    pm.globals.set(\"authToken\", json.authorizationToken);","}","","if (json.apiInfo && json.apiInfo.storageApi) {","    if (json.apiInfo.storageApi.apiUrl !== undefined) {","        pm.globals.set(\"apiUrl\", json.apiInfo.storageApi.apiUrl);","    }","    if (json.apiInfo.storageApi.bucketId !== undefined) {","        pm.globals.set(\"bucketId\", json.apiInfo.storageApi.bucketId);","    }","    if (json.apiInfo.storageApi.bucketName !== undefined) {","        pm.globals.set(\"bucketName\", json.apiInfo.storageApi.bucketName);","    }","}"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"prerequest","script":{"id":"96517284-d9f8-4983-97c6-660243ae3d6a","exec":[""],"type":"text/javascript","packages":{},"requests":{}}}],"id":"0ea9ce8d-04c1-4e53-87f9-d2411879c2d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{apiUrl}}/b2api/v3/b2_authorize_account","auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{authUser}}"},{"key":"password","value":"{{authPass}}"}]},"isInherited":true,"source":{"_postman_id":"43c189c0-f7f8-4cda-ad89-961133a23dbb","id":"43c189c0-f7f8-4cda-ad89-961133a23dbb","name":"cdn-zenvy","type":"collection"}},"urlObject":{"path":["b2api","v3","b2_authorize_account"],"host":["{{apiUrl}}"],"query":[],"variable":[]}},"response":[{"id":"ce21c274-77bc-4aed-87d0-efc8c581fb43","name":"Authorize Account","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{apiUrl}}/b2api/v3/b2_authorize_account"},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 26 Nov 2025 21:02:24 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"1087"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Strict-Transport-Security","value":"max-age=63072000"}],"cookie":[],"responseTime":null,"body":"{\n    \"accountId\": \"05b707ce0ad5\",\n    \"apiInfo\": {\n        \"storageApi\": {\n            \"absoluteMinimumPartSize\": 5000000,\n            \"apiUrl\": \"https://api004.backblazeb2.com\",\n            \"bucketId\": \"c0052b4780375cbe90aa0d15\",\n            \"bucketName\": \"sftp-zenvy\",\n            \"capabilities\": [\n                \"listBuckets\",\n                \"writeBuckets\",\n                \"readBuckets\",\n                \"listFiles\",\n                \"readFiles\",\n                \"shareFiles\",\n                \"writeFiles\",\n                \"deleteFiles\",\n                \"readBucketEncryption\",\n                \"writeBucketEncryption\",\n                \"readBucketLogging\",\n                \"writeBucketLogging\",\n                \"readBucketReplications\",\n                \"writeBucketReplications\",\n                \"readBucketNotifications\",\n                \"writeBucketNotifications\"\n            ],\n            \"downloadUrl\": \"https://f004.backblazeb2.com\",\n            \"infoType\": \"storageApi\",\n            \"namePrefix\": null,\n            \"recommendedPartSize\": 100000000,\n            \"s3ApiUrl\": \"https://s3.us-west-004.backblazeb2.com\"\n        }\n    },\n    \"applicationKeyExpirationTimestamp\": null,\n    \"authorizationToken\": \"4_00405b707ce0ad50000000006_01c0adce_54fbd5_acct_4HOx3BXruwoiMEv2iYVWZasiUiI=\"\n}"}],"_postman_id":"0ea9ce8d-04c1-4e53-87f9-d2411879c2d4"},{"name":"List Files","event":[{"listen":"test","script":{"id":"8ea78eb1-3a26-4861-b45b-c8f2cf9ee16e","exec":["var json = pm.response.json();","","if (json.files && json.files.length > 0) {","    const file = json.files[0];","","    pm.environment.set(\"fileName\", file.fileName);","    pm.environment.set(\"fileId\", file.fileId);","","    console.log(\"Saved fileName →\", file.fileName);","    console.log(\"Saved fileId    →\", file.fileId);","};"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"64712c5d-5983-4d68-aa68-59af6aeb0658","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{authToken}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{apiUrl}}/b2api/v4/b2_list_file_names?bucketId={{bucketId}}&prefix={{filePrefix}}","urlObject":{"path":["b2api","v4","b2_list_file_names"],"host":["{{apiUrl}}"],"query":[{"key":"bucketId","value":"{{bucketId}}"},{"key":"prefix","value":"{{filePrefix}}"}],"variable":[]}},"response":[{"id":"8ed26a3a-fd7d-4e9b-afbb-789689af4ae5","name":"List Files","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{authToken}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":{"raw":"{{apiUrl}}/b2api/v4/b2_list_file_names?bucketId={{bucketId}}&prefix={{filePrefix}}","host":["{{apiUrl}}"],"path":["b2api","v4","b2_list_file_names"],"query":[{"key":"bucketId","value":"{{bucketId}}"},{"key":"prefix","value":"{{filePrefix}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Wed, 26 Nov 2025 21:02:31 GMT"},{"key":"Content-Type","value":"application/json;charset=UTF-8"},{"key":"Content-Length","value":"932"},{"key":"Connection","value":"keep-alive"},{"key":"Cache-Control","value":"max-age=0, no-cache, no-store"},{"key":"Strict-Transport-Security","value":"max-age=63072000"}],"cookie":[],"responseTime":null,"body":"{\n    \"files\": [\n        {\n            \"accountId\": \"05b707ce0ad5\",\n            \"action\": \"upload\",\n            \"bucketId\": \"c0052b4780375cbe90aa0d15\",\n            \"contentLength\": 8120,\n            \"contentMd5\": \"cf45a4dbe6b33fca8b4f7c0d8d2bd7e8\",\n            \"contentSha1\": \"unverified:d2d7923a22ff1a68bbe9808156304f5c53199fb7\",\n            \"contentType\": \"audio/x-wav\",\n            \"fileId\": \"4_zc0052b4780375cbe90aa0d15_f10317a02065b5a13_d20251106_m235813_c004_v0402018_t0012_u01762473493762\",\n            \"fileInfo\": {},\n            \"fileName\": \"rec/19389-11948-8303561547-by-gwilliams@zenvyfinancial.com-@-11_6_2025-12_38_13 PM.wav\",\n            \"fileRetention\": {\n                \"isClientAuthorizedToRead\": false,\n                \"value\": null\n            },\n            \"legalHold\": {\n                \"isClientAuthorizedToRead\": false,\n                \"value\": null\n            },\n            \"serverSideEncryption\": {\n                \"algorithm\": null,\n                \"mode\": null\n            },\n            \"uploadTimestamp\": 1762473493762\n        }\n    ],\n    \"nextFileName\": null\n}"}],"_postman_id":"64712c5d-5983-4d68-aa68-59af6aeb0658"},{"name":"Download File","id":"3c2d0292-079f-404c-a37f-8ec97900cc23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"{{authToken}}","type":"text"}],"body":{"mode":"raw","raw":""},"url":"{{baseUrl}}/file/{{bucketName}}/{{fileName}}","urlObject":{"path":["file","{{bucketName}}","{{fileName}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c2d0292-079f-404c-a37f-8ec97900cc23"}],"auth":{"type":"basic","basic":{"basicConfig":[{"key":"username","value":"{{authUser}}"},{"key":"password","value":"{{authPass}}"}]}},"event":[{"listen":"prerequest","script":{"id":"39db903f-f4f3-4129-9a3f-665351aac620","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"d3b7de34-e83c-4989-9da6-543cfd6977a2","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}]}