{"info":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","description":"<html><head></head><body><h1 id=\"zil-distribution-api\">Zil Distribution API</h1>\n<p><strong>Quick start</strong></p>\n<ol>\n<li>Import the collection and the environment.</li>\n<li>Fill in <code>email</code> and <code>password</code> in the environment.</li>\n<li>Run <strong>Authentication → Login</strong>.</li>\n</ol>\n<p>Every request sends <code>Authorization: Bearer &lt;token&gt;</code>.</p>\n<p>Some endpoints belong to a label (<em>Requires a label session</em>). Use <strong>Login as user</strong> or log in with that user; otherwise they return <code>403</code>.</p>\n<p>To act as one of your users, run <strong>Login as user</strong>. When you are done, run <strong>Logout user</strong> to restore your own token.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Zil Distribution API","slug":"zil-distribution-api"}],"owner":"27644216","collectionId":"c7d522d6-aa78-4abb-b861-965198275f19","publishedId":"2sBYHNWNMV","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-10-01T15:06:14.000Z"},"item":[{"name":"Authentication","item":[{"name":"Login","event":[{"listen":"test","script":{"type":"text/javascript","exec":["const store = pm.environment.has('token') ? pm.environment : (pm.globals.has('token') ? pm.globals : pm.collectionVariables);","const json = pm.response.json();","if (pm.response.code === 200 && json.token) {","  store.set('token', json.token);","  store.unset('wl-token');","}"],"id":"8d61d2c6-35b0-466a-9cb2-8cf5afa91a68"}}],"id":"dfbf070a-b481-41ca-aea8-8383c4e11f5c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{email}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/login","description":"<p>Signs in with email and password. The token (valid for 90 days) is saved automatically in <code>{{token}}</code>.</p>\n<p><strong>Body:</strong> <code>email</code>, <code>password</code></p>\n<p><strong>Response:</strong> <code>{ token, user }</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["login"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dfbf070a-b481-41ca-aea8-8383c4e11f5c"},{"name":"Login as user","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const store = pm.environment.has('token') ? pm.environment : (pm.globals.has('token') ? pm.globals : pm.collectionVariables);","// If you are already logged in as a user, go back to your own token first.","const wl = store.get('wl-token');","if (wl) { store.set('token', wl); store.unset('wl-token'); }"],"id":"64a96e82-08fb-43ce-9355-fc0ae259fc05"}},{"listen":"test","script":{"type":"text/javascript","exec":["const store = pm.environment.has('token') ? pm.environment : (pm.globals.has('token') ? pm.globals : pm.collectionVariables);","const json = pm.response.json();","if (pm.response.code === 200 && json.token) {","  // Keep your own token in wl-token while you act as the user.","  store.set('wl-token', store.get('token'));","  store.set('token', json.token);","}"],"id":"03ce2424-cdbf-4e24-9997-f8ce85d8348b"}}],"id":"cd877e39-5b82-443f-b944-086016d94310","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{user-email}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/me/loginAdmin","description":"<p>Acts as one of your users (label or artist), like in the portal. Your own token is kept in <code>wl-token</code> and every following request runs as that user. Running it again switches to another user. Use <em>Logout user</em> to go back.</p>\n<p><strong>Body:</strong> <code>email</code> of the user (see <em>Users → List users</em>)</p>\n<p><strong>Response:</strong> <code>{ token, user }</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me","loginAdmin"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd877e39-5b82-443f-b944-086016d94310"},{"name":"Logout user","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":["const store = pm.environment.has('token') ? pm.environment : (pm.globals.has('token') ? pm.globals : pm.collectionVariables);","// Drop the user token and put your own token back.","const wl = store.get('wl-token');","if (wl) { store.set('token', wl); store.unset('wl-token'); }"],"id":"e5a5a0c3-3e87-4146-80b7-36f3afcc3890"}}],"id":"5314449e-5f96-4986-b84e-9bead96724b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/me","description":"<p>Ends the <em>Login as user</em> session: drops the user token and puts your own token back. Does nothing if you are not logged in as a user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"5314449e-5f96-4986-b84e-9bead96724b1"}],"id":"a3f683c3-39d5-46f9-a111-e222a76b4892","description":"<p>Get a token to use the API. Every request sends <code>Authorization: Bearer &lt;token&gt;</code>.</p>\n","_postman_id":"a3f683c3-39d5-46f9-a111-e222a76b4892","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Password","item":[{"name":"Change password","id":"53f4745a-02d2-45c3-a8eb-2b04c28a8403","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"oldPassword\": \"mfxVbp_NzmZ9ZlJ\",\n    \"newPassword\": \"KVax2GtvNhg31BS\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/me/changePassword","description":"<p>Changes the password of the authenticated user.</p>\n<p><strong>Body:</strong> current and new password</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me","changePassword"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"53f4745a-02d2-45c3-a8eb-2b04c28a8403"},{"name":"Recover · 1. Request code","id":"3b771020-bc4d-4a4d-b7f6-294b1955526d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{registered-user-email}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/auth/restore","description":"<p>Sends a recovery code to the email.</p>\n<p><strong>Body:</strong> <code>email</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["auth","restore"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3b771020-bc4d-4a4d-b7f6-294b1955526d"},{"name":"Recover · 2. Validate code","id":"e10bf58f-e630-4c50-9eba-7f1e183aa448","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"364202\",\n    \"email\": \"{{registered-user-email}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/auth/restore/validate","description":"<p>Checks that the received code is valid.</p>\n<p><strong>Body:</strong> <code>email</code>, <code>code</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["auth","restore","validate"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e10bf58f-e630-4c50-9eba-7f1e183aa448"},{"name":"Recover · 3. New password","id":"495a9c00-17ad-4ac1-9c33-3e0be87aeb58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"code\": \"364202\",\n    \"email\": \"{{registered-user-email}}\",\n    \"password\": \"{{new-password}}\",\n    \"confirmPassword\": \"{{new-password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/auth/restore/password","description":"<p>Sets the new password using the validated code.</p>\n<p><strong>Body:</strong> <code>email</code>, <code>code</code>, <code>password</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["auth","restore","password"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"495a9c00-17ad-4ac1-9c33-3e0be87aeb58"}],"id":"1729e89d-702f-4a16-8a36-975934f7c504","description":"<p>Change or recover a password. Recovery does not need a token.</p>\n","_postman_id":"1729e89d-702f-4a16-8a36-975934f7c504","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Profile","item":[{"name":"Get profile","id":"1000dcbf-ac15-469a-9d6b-f3258c577065","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/me","description":"<p>Returns the authenticated user: name, email, role and settings.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"1000dcbf-ac15-469a-9d6b-f3258c577065"},{"name":"Update profile","id":"acf3a54f-4e2f-4d7a-81fb-8ca1c12676cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Logan\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/me","description":"<p>Updates the authenticated user. Send only the fields that change.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"acf3a54f-4e2f-4d7a-81fb-8ca1c12676cd"}],"id":"9be09aca-6df4-4eca-9389-61a7aab92ab5","description":"<p>The authenticated user.</p>\n","_postman_id":"9be09aca-6df4-4eca-9389-61a7aab92ab5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Users","item":[{"name":"List users","id":"2fab7f06-6ff9-41ad-b41a-545d9dc99412","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/users","description":"<p>Lists the users of your account.</p>\n<p><strong>Query:</strong> <code>role</code> (optional): <code>LABEL</code>, <code>ARTIST</code>, <code>LABELMANAGER</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["users"],"host":["{{api-url}}"],"query":[{"disabled":true,"key":"role","value":"YOUTUBE"}],"variable":[]}},"response":[],"_postman_id":"2fab7f06-6ff9-41ad-b41a-545d9dc99412"},{"name":"Get user","id":"9e4ad322-147b-4522-a8d4-56d4d1ab9119","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/users/:userId","description":"<p>User detail: profile, balance, total paid and taxes.</p>\n<p><strong>Path:</strong> <code>userId</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["users",":userId"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"8c2d6a5b-cd42-46b5-96d3-81caed4c4569","type":"any","value":"","key":"userId"}]}},"response":[],"_postman_id":"9e4ad322-147b-4522-a8d4-56d4d1ab9119"}],"id":"3015c9b9-caf7-4b47-8c6f-6086bf7ca469","description":"<p>Labels and artists that belong to your account.</p>\n","_postman_id":"3015c9b9-caf7-4b47-8c6f-6086bf7ca469","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Invites","item":[{"name":"List invites","id":"f57b5183-e668-4fb4-9bd7-2d79325f3099","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/invites","description":"<p>Sent invites and their status.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["invites"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f57b5183-e668-4fb4-9bd7-2d79325f3099"},{"name":"Create invite","id":"7e1fcf56-c28a-4d47-9d01-17f2b4f94544","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Elmer\",\n    \"fullName\": \"Valentine Lesch\",\n    \"email\": \"Trent_Windler23@example.net\",\n    \"role\": \"LABEL\",\n    \"rateUser\": 0.5\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/invites","description":"<p>Invites a new user.</p>\n<p><strong>Body:</strong> <code>email</code>, <code>name</code>, <code>fullName</code>, <code>role</code> (<code>LABEL</code> or <code>LABELMANAGER</code>), <code>labelNames</code> (optional, up to 5)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["invites"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7e1fcf56-c28a-4d47-9d01-17f2b4f94544"},{"name":"Update invite","id":"6c1f1e92-9284-41e7-aa42-d016c97c9c02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"role\": \"YOUTUBE\",\n    \"name\": \"Emily Sauer\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/invites/:id","description":"<p>Edits a pending invite.</p>\n<p><strong>Path:</strong> <code>id</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["invites",":id"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"bba4b8b1-086f-406f-9b52-7ffafa3eb624","description":{"content":"<p>Invite ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"6c1f1e92-9284-41e7-aa42-d016c97c9c02"},{"name":"Resend invite","id":"9a427d8f-7ad9-4e67-bc1a-eaac65124fa8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{api-url}}/invites/resend/:userId","description":"<p>Sends the invite email again.</p>\n<p><strong>Path:</strong> <code>userId</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["invites","resend",":userId"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"e95fc667-3316-406b-ad77-7faca6702592","type":"any","value":"","key":"userId"}]}},"response":[],"_postman_id":"9a427d8f-7ad9-4e67-bc1a-eaac65124fa8"},{"name":"Delete invite","id":"cda535b3-f91c-40d4-8942-d042900ce273","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{api-url}}/invites/:id","description":"<p>Cancels a pending invite.</p>\n<p><strong>Path:</strong> <code>id</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["invites",":id"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"8b2179e0-7543-4972-8733-058c82522835","description":{"content":"<p>Invite ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"cda535b3-f91c-40d4-8942-d042900ce273"}],"id":"76fa0bb0-8942-43dd-b140-2dfb0c1b5419","description":"<p>Invite new labels. The invitee gets an email to activate the account.</p>\n","_postman_id":"76fa0bb0-8942-43dd-b140-2dfb0c1b5419","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Notifications","item":[{"name":"List notifications","id":"45165906-e18f-4d7d-ab9a-1e2b299c1620","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/notifications","description":"<p>Notifications of the user, newest first.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["notifications"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"45165906-e18f-4d7d-ab9a-1e2b299c1620"},{"name":"Mark as seen","id":"9f9cc585-6c18-4444-8e08-2d8965e6b0fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"[\r\n    {\r\n        \"notificationId\": \"{{random-notification-id}}\",\r\n        \"seen\": true\r\n    },\r\n    {\r\n        \"notificationId\": \"{{random-notification-id-2}}\",\r\n        \"seen\": true\r\n    }\r\n]","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/notifications/","description":"<p>Marks notifications as read.</p>\n<p><strong>Body:</strong> <code>seen: true</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["notifications",""],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9f9cc585-6c18-4444-8e08-2d8965e6b0fe"}],"id":"a8f1a4c8-f142-4feb-8c92-2e35dd583db3","description":"<p>System notices for the authenticated user.</p>\n","_postman_id":"a8f1a4c8-f142-4feb-8c92-2e35dd583db3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Legals","item":[{"name":"Get current terms","id":"092a3d2f-0e0b-4c75-bb32-5e383b146328","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/legals","description":"<p>Returns the current terms and conditions.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["legals"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"092a3d2f-0e0b-4c75-bb32-5e383b146328"},{"name":"Get acceptance status","id":"303992ed-b9fc-42c2-abcf-96df8cda0c4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/legals/check","description":"<p>Tells whether the user accepted the current terms.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["legals","check"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"303992ed-b9fc-42c2-abcf-96df8cda0c4d"}],"id":"ca847a73-2393-4056-a956-41fca526a94d","description":"<p>Terms and conditions and their acceptance status.</p>\n","_postman_id":"ca847a73-2393-4056-a956-41fca526a94d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Taxes","item":[{"name":"List taxes","id":"e864f887-865f-4849-880f-6cb858d720c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/taxes/","description":"<p>Tax forms uploaded by the user.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["taxes",""],"host":["{{api-url}}"],"query":[{"disabled":true,"key":"status","value":"reviewed"},{"disabled":true,"key":"status","value":"underReview"},{"disabled":true,"key":"status","value":"voided"},{"disabled":true,"key":"status","value":"rejected"}],"variable":[]}},"response":[],"_postman_id":"e864f887-865f-4849-880f-6cb858d720c7"},{"name":"Create tax","id":"eca24172-f03e-44c0-8d0c-f13a80af52d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rate\": 0.8,\r\n    \"type\": \"W-8\", // W-8 | W-9\r\n    \"countryCode\": \"PT\",\r\n    \"url\": \"https://example.com/tax.pdf\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/taxes","description":"<p>Uploads a tax form.</p>\n<p><strong>Body:</strong> <code>type</code>, <code>url</code> (file), <code>countryCode</code>, <code>rate</code> (optional)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["taxes"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eca24172-f03e-44c0-8d0c-f13a80af52d3"},{"name":"Update tax","id":"f759a94d-a3b6-41e3-bf8a-c9e764b54280","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"rate\": 0.6\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/taxes/:taxId","description":"<p>Updates a tax form.</p>\n<p><strong>Path:</strong> <code>taxId</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["taxes",":taxId"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"3dedead8-f1d0-45f0-9429-fd4380042802","description":{"content":"<p>Tax ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"taxId"}]}},"response":[],"_postman_id":"f759a94d-a3b6-41e3-bf8a-c9e764b54280"}],"id":"fc60147d-cdcb-4fc3-9028-808fafbfcae7","description":"<p>Tax forms of the user (W-8, W-9, etc.).</p>\n","_postman_id":"fc60147d-cdcb-4fc3-9028-808fafbfcae7","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Finance","item":[{"name":"Bank Accounts","item":[{"name":"List bank accounts","id":"76158f58-d5cc-42d1-9424-366b31bcb205","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/me/bankAccounts","description":"<p>Registered bank accounts.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me","bankAccounts"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"76158f58-d5cc-42d1-9424-366b31bcb205"},{"name":"Get main account","id":"41d0de44-4a38-419b-a7cb-b58b1b589430","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/me/bankAccounts/main","description":"<p>The account that receives withdrawals. Returns <code>404</code> if none was chosen yet.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me","bankAccounts","main"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"41d0de44-4a38-419b-a7cb-b58b1b589430"},{"name":"Add bank account","id":"47832aa4-f7ec-4952-a88b-c207c664e169","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"beneficiary\": {\r\n        \"address\": {\r\n            \"city\": \"Yeseniaburgh\",\r\n            \"country_code\": \"IO\",\r\n            \"postcode\": \"239\",\r\n            \"state\": \"Oakland\",\r\n            \"street_address\": \"862 Marcos Glens\"\r\n        },\r\n        \"bank_details\": {\r\n            \"account_currency\": \"AMD\",\r\n            \"account_name\": \"TESTDaniel - Runte\",\r\n            \"account_number\": \"62566545\",\r\n            \"bank_country_code\": \"{{random-country-code}}\",\r\n            \"bank_name\": \"Robel, Sporer and Swaniawski\",\r\n            \"swift_code\": \"5lij9611807\"\r\n        },\r\n        \"company_name\": \"TEST-Gerlach and Sons\",\r\n        \"entity_type\": \"COMPANY\"\r\n    },\r\n    \"payment_methods\": [\r\n        \"SWIFT\"\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/me/bankAccounts","description":"<p>Registers a bank account. Fields depend on country and currency.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me","bankAccounts"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"47832aa4-f7ec-4952-a88b-c207c664e169"},{"name":"Set main account","id":"081b9bf1-b57f-4ba8-bc64-c54dd3b0d778","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"beneficiary\": \"{{beneficiary-id}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/me/bankAccounts/setFavorite","description":"<p>Chooses the account that receives withdrawals.</p>\n<p><strong>Body:</strong> account id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["me","bankAccounts","setFavorite"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"081b9bf1-b57f-4ba8-bc64-c54dd3b0d778"}],"id":"52c6bd41-a970-4a91-ba49-4c3e40db0474","description":"<p>Accounts that receive withdrawals.</p>\n","_postman_id":"52c6bd41-a970-4a91-ba49-4c3e40db0474","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Get balance","id":"de7985cd-5397-4db4-9d06-f66ac4d9a59e","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/balance","description":"<p>Balance available to withdraw and user totals.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["balance"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"de7985cd-5397-4db4-9d06-f66ac4d9a59e"},{"name":"Get balance by concept","id":"2209397a-837f-4d9b-a27a-19a5861a0d3f","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/balance/:concept","description":"<p>Balance detail for one concept (for example royalties or advances).</p>\n<p><strong>Path:</strong> <code>concept</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["balance",":concept"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"b6337c2f-7707-4cdf-88fd-f58375286225","type":"any","value":"","key":"concept"}]}},"response":[],"_postman_id":"2209397a-837f-4d9b-a27a-19a5861a0d3f"},{"name":"List transactions","id":"f76aafe7-3564-4eeb-a96d-140e46be4630","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/transactions","description":"<p>Transaction history: credited royalties, withdrawals and adjustments.</p>\n<p><strong>Query:</strong> <code>period</code> or <code>year</code> (optional)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["transactions"],"host":["{{api-url}}"],"query":[{"disabled":true,"key":"year","value":"2022"}],"variable":[]}},"response":[],"_postman_id":"f76aafe7-3564-4eeb-a96d-140e46be4630"},{"name":"Request withdrawal","id":"e58b9dad-fd29-4741-a95e-8bdee96b82f3","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"concept\": \"withdrawal\",\r\n    \"credit\": 1000,\r\n    \"debit\": 0,\r\n    \"reference\": \"Transaction Test\",\r\n    \"user\": \"{{current-user-id}}\",\r\n    \"beneficiary\": \"{{beneficiary-id}}\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/transactions","description":"<p>Requests a transfer of the available balance to the main bank account.</p>\n<p><strong>Body:</strong> <code>concept</code>, <code>debit</code> (amount)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["transactions"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e58b9dad-fd29-4741-a95e-8bdee96b82f3"}],"id":"a9210852-4fcd-4d9e-8142-8327f5301c8e","description":"<p>Available balance, transaction history and withdrawals.</p>\n","_postman_id":"a9210852-4fcd-4d9e-8142-8327f5301c8e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Catalog","item":[{"name":"Releases","item":[{"name":"List releases","id":"3ab2a1e7-c18e-4a57-8097-effebfe93a82","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/albums?status=pendingApproval","description":"<p>Releases visible to the user. With your account you see all your labels' releases; with a label session, only that label's.</p>\n<p><strong>Query (optional):</strong> <code>status</code>, one or more comma separated: <code>draft</code>, <code>pendingApproval</code>, <code>pendingModification</code>, <code>confirmed</code>, <code>confirmedPartially</code>, <code>delivered</code>, <code>takenDown</code>, <code>rejected</code> · <code>showDeleted=1</code></p>\n<p>For large catalogs, filter by <code>status</code> for faster responses.</p>\n<p><strong>Response:</strong> <code>{ albums: [...] }</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["albums"],"host":["{{api-url}}"],"query":[{"description":{"content":"<p>One or more, comma separated</p>\n","type":"text/plain"},"key":"status","value":"pendingApproval"},{"disabled":true,"key":"showDeleted","value":"1"}],"variable":[]}},"response":[],"_postman_id":"3ab2a1e7-c18e-4a57-8097-effebfe93a82"},{"name":"Create release","id":"71db3b9c-3e9a-4c22-8d56-756e05fbd365","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"fantasyName\": \"Avery Hollow Sawayn\",\n    \"releaseDate\": \"2021-09-22\",\n    \"saleStartDate\": \"2021-09-22\",\n    \"rightsEndDate\": \"2021-09-22\",\n    \"preorderReleaseDate\": \"2021-09-22\",\n    \"albumTerritories\": [\n        \"US\"\n    ],\n    \"excludeTerritories\": [],\n    \"dsps\": [\n        \"amazon\",\n        \"youtube\",\n        \"spotify\"\n    ],\n    \"coverUrl\": \"http://placeimg.com/640/480\",\n    \"coverUrlThumbnail\": \"http://placeimg.com/640/480/nature\",\n    \"artists\": [\n        {\n            \"artist\": \"\",\n            \"roles\": [\n                \"primary\",\n                \"composer\"\n            ]\n        },\n        {\n            \"artist\": \"\",\n            \"roles\": [\n                \"featuring\"\n            ]\n        }\n    ],\n    \"labelName\": \"Conroy and Sons LLC\",\n    \"variousArtists\": false,\n    \"pLineText\": \"Schuppe, Abshire and Walter, LLC\",\n    \"cLineText\": \"Farrell, Smitham and Bayer, LLC\",\n    \"pLineYear\": 2020,\n    \"cLineYear\": 2021,\n    \"genre\": \"rap_west\",\n    \"price\": \"9.99\",\n    \"trackPrice\": \"1.29\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/projects/:projectId/albums","description":"<p>Creates a draft release inside a project.</p>\n<p><strong>Path:</strong> <code>projectId</code></p>\n<p><strong>Body:</strong> title, type, dates, genres, artists and artwork (see example)</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects",":projectId","albums"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"d5ec4ee8-322a-4825-98e5-68c5efad3cd4","type":"any","value":"","key":"projectId"}]}},"response":[],"_postman_id":"71db3b9c-3e9a-4c22-8d56-756e05fbd365"},{"name":"Update release","id":"5743f15f-cde0-4ea4-bd07-ee53d37ad8a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"fantasyName\": \"Schimmel Branch Volkman\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/projects/:projectId/albums/:albumId","description":"<p>Updates a release. Send only the fields that change.</p>\n<p><strong>Path:</strong> <code>projectId</code>, <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects",":projectId","albums",":albumId"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"1ccbb56e-eb2d-41de-9728-c8c7dd3778a5","description":{"content":"<p>Project ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"projectId"},{"id":"2d9bf1b8-7245-4cd2-b482-2e8b2be55d82","description":{"content":"<p>Album ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"5743f15f-cde0-4ea4-bd07-ee53d37ad8a7"},{"name":"Submit for distribution","id":"c23999da-3762-423e-9f77-9cb77be5fd76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{api-url}}/projects/:projectId/albums/:albumId/publish","description":"<p>Sends the release to review for delivery to stores. Tracks and splits must be complete.</p>\n<p><strong>Path:</strong> <code>projectId</code>, <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects",":projectId","albums",":albumId","publish"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"b4b11e74-81db-4cdd-b600-4b0f8f637cdd","description":{"content":"<p>Project ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"projectId"},{"id":"a736951a-0cc5-4057-bc1b-bfcb4677218a","description":{"content":"<p>Album ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"c23999da-3762-423e-9f77-9cb77be5fd76"},{"name":"Take down","id":"81f71891-6c6a-476c-a5c3-570a45903bae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"artist_id\":\"86589989483310944\",\r\n    \"role\": \"primary\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/albums/:albumId/takeDown","description":"<p>Requests removal of the release from all stores.</p>\n<p><strong>Path:</strong> <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["albums",":albumId","takeDown"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"c411e526-500b-4252-8925-620322df6422","type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"81f71891-6c6a-476c-a5c3-570a45903bae"},{"name":"Delete release","id":"95afbfc7-5b2b-49f0-858f-0acd6d45a51b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"{{api-url}}/projects/albums/:albumId","description":"<p>Deletes a release that was not distributed yet.</p>\n<p><strong>Path:</strong> <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects","albums",":albumId"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"3d3d10b8-51e9-4bb4-a9d8-53d4a42498ca","type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"95afbfc7-5b2b-49f0-858f-0acd6d45a51b"},{"name":"Get distribution status","id":"80851915-9203-4a09-9fa4-fb2a68e922cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/albums/:albumId/distributionStatus","description":"<p>Status of the release in each store (DSP).</p>\n<p><strong>Path:</strong> <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["albums",":albumId","distributionStatus"],"host":["{{api-url}}"],"query":[{"disabled":true,"key":"q","value":"a"}],"variable":[{"id":"800d9fe1-9027-40d2-a127-96ca42efa898","description":{"content":"<p>Album ID </p>\n","type":"text/plain"},"type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"80851915-9203-4a09-9fa4-fb2a68e922cd"},{"name":"Regenerate smart link","id":"c28ad27c-5a6e-46d6-9f49-f6a27d8576a4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"artist_id\":\"946783889386528129\",\r\n    \"role\": \"primary\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/albums/:albumId/smartLink","description":"<p>Generates again the single link with all the stores of the release.</p>\n<p><strong>Path:</strong> <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["albums",":albumId","smartLink"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"b5f3967a-f7b8-4738-ac41-aebf956cc6c8","description":{"content":"<p>Album ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"c28ad27c-5a6e-46d6-9f49-f6a27d8576a4"},{"name":"Get revenue","id":"7021fb8e-7405-4a8c-812a-fdd10258cb98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/albums/:albumsIds/revenue","description":"<p>Revenue of one or more releases by period.</p>\n<p><strong>Path:</strong> <code>albumsIds</code> (comma separated)</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["albums",":albumsIds","revenue"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"093fd6a5-3181-4812-a74b-e1f905308bc1","type":"any","value":"","key":"albumsIds"}]}},"response":[],"_postman_id":"7021fb8e-7405-4a8c-812a-fdd10258cb98"},{"name":"Get analytics","id":"593b136a-ec1e-4eaf-8629-ee638d46e5bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/albums/:albumsIds/analytics/:filter?from=2025-01-01&to=2025-12-31","description":"<p>Metrics of one or more releases.</p>\n<p><strong>Path:</strong> <code>albumsIds</code> (comma separated), <code>filter</code>: <code>streams</code>, <code>revenue</code> or <code>audioUses</code></p>\n<p><strong>Query:</strong> <code>from</code>, <code>to</code> (<code>YYYY-MM-DD</code> dates)</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["albums",":albumsIds","analytics",":filter"],"host":["{{api-url}}"],"query":[{"key":"from","value":"2025-01-01"},{"key":"to","value":"2025-12-31"}],"variable":[{"id":"c7f087b1-767d-4492-85c2-3e49b53f5ffb","type":"any","value":"","key":"albumsIds"},{"id":"1f6d2b79-293d-49e7-9959-b5d1d680f534","description":{"content":"<p>\"revenue\"</p>\n","type":"text/plain"},"type":"any","value":"","key":"filter"}]}},"response":[],"_postman_id":"593b136a-ec1e-4eaf-8629-ee638d46e5bc"},{"name":"Check UPC","id":"d81256af-a249-46ac-aa8a-1481e9d2887d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/upc/:upc","description":"<p>Tells whether a UPC code is already in use.</p>\n<p><strong>Path:</strong> <code>upc</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["upc",":upc"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"0443f269-b453-4c4b-800f-b4173999d430","type":"any","value":"","key":"upc"}]}},"response":[],"_postman_id":"d81256af-a249-46ac-aa8a-1481e9d2887d"}],"id":"817ec48f-9258-454f-ba51-3f44d7e1fdb2","description":"<p>A release (album, EP or single) belongs to a project.</p>\n","_postman_id":"817ec48f-9258-454f-ba51-3f44d7e1fdb2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Projects","item":[{"name":"List projects","id":"d7292d78-268e-44a8-a3b8-e4a359350b42","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/projects","description":"<p>Projects of the label with their releases.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects"],"host":["{{api-url}}"],"query":[{"disabled":true,"key":"limit","value":"20"},{"disabled":true,"key":"orderByDirection","value":"descending"},{"disabled":true,"key":"orderByField","value":"modifiedDate"},{"disabled":true,"key":"status","value":"draft"}],"variable":[]}},"response":[],"_postman_id":"d7292d78-268e-44a8-a3b8-e4a359350b42"},{"name":"Get project","id":"64c8fe95-1334-458d-8bc2-b469054acd78","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/projects/:projectId/","description":"<p>Project detail.</p>\n<p><strong>Path:</strong> <code>projectId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects",":projectId",""],"host":["{{api-url}}"],"query":[],"variable":[{"id":"635ce6dd-a452-470b-9f9b-904f5ff63c6d","description":{"content":"<p>Project ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"projectId"}]}},"response":[],"_postman_id":"64c8fe95-1334-458d-8bc2-b469054acd78"},{"name":"Create project","id":"240cecd1-eecf-4f2d-bd68-f02c3a39aafa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Test Macejkovic - Torphy\",\n    \"album\": {\n        \"coverUrl\": \"http://placeimg.com/640/480\",\n        \"coverUrlThumbnail\": \"http://placeimg.com/640/480\",\n        \"artists\": [\n            {\n                \"artist\": \"{{random-artist-id}}\",\n                \"roles\": [\n                    \"composer\",\n                    \"remixer\"\n                ]\n            },\n            {\n                \"artist\": \"{{random-artist-id}}\",\n                \"roles\": [\n                    \"composer\"\n                ]\n            }\n        ],\n        \"labelName\": \"Buckridge - Roberts LLC\",\n        \"variousArtists\": false,\n        \"pLineText\": \"Beahan Inc 2024\",\n        \"cLineText\": \"Oberbrunner, Simonis and Crooks 2024\",\n        \"pLineYear\": 2024,\n        \"cLineYear\": 2024,\n        \"genre\": \"pop\",\n        \"price\": \"9.99\",\n        \"trackPrice\": \"1.29\",\n        \"fantasyName\": \"Gleichner - Lubowitz\",\n        \"releaseDate\": \"2025-01-01\",\n        \"saleStartDate\": \"2025-01-01\",\n        \"rightsEndDate\": \"2027-01-01\",\n        \"preorderReleaseDate\": \"2024-12-01\",\n        \"albumTerritories\": [\n            \"US\"\n        ],\n        \"status\": \"draft\",\n        \"excludeTerritories\": [],\n        \"dsps\": [\n            \"spotify\"\n        ]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/projects","description":"<p>Creates a project for an artist.</p>\n<p><strong>Body:</strong> name and artist (see example)</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"240cecd1-eecf-4f2d-bd68-f02c3a39aafa"},{"name":"Delete project","id":"c98c5487-e58c-4d18-a902-0caff2da4017","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":""},"url":"{{api-url}}/projects/:id","description":"<p>Deletes a project with no distributed releases.</p>\n<p><strong>Path:</strong> <code>projectId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects",":id"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"7f597090-7458-4dec-8e7e-2f70b32fecb6","description":{"content":"<p>Project ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"id"}]}},"response":[],"_postman_id":"c98c5487-e58c-4d18-a902-0caff2da4017"}],"id":"2aa25d79-8b8b-4618-a3e4-41ff1c91f056","description":"<p>Group the releases of an artist.</p>\n","_postman_id":"2aa25d79-8b8b-4618-a3e4-41ff1c91f056","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Tracks","item":[{"name":"Create track","id":"20f0a0c6-e7c6-4450-9413-ec1aabd5256e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"position\": 1,\n        \"title\": \"Track Title\",\n        \"isrc\": \"AR-EZZ-20-00006\",\n        \"trackUrl\": \"{{fileUrl}}\",\n        \"trackLanguage\": \"Spanish\",\n        \"version\": \"Clean\",\n        \"lyrics\": \"Letra...\",\n        \"price\": \"0.69\",\n        \"explicit\": true,\n        \"cover\": false,\n        \"downloadRights\": true,\n        \"artists\": [\n            {\n                \"artist\": \"{{artist-id}}\",\n                \"roles\": [\"primary\",\"composer\"]\n            }\n        ]\n    }\n]","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/projects/:projectId/albums/:albumId/tracks","description":"<p>Adds a track to the release.</p>\n<p><strong>Path:</strong> <code>projectId</code>, <code>albumId</code></p>\n<p><strong>Body:</strong> title, ISRC (optional), audio, artists and credits (see example)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects",":projectId","albums",":albumId","tracks"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"a1969782-8c23-4a14-9b1a-17a518270332","type":"any","value":"","key":"projectId"},{"id":"ee724d07-3c46-4bb0-ab79-9495766d6e16","type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"20f0a0c6-e7c6-4450-9413-ec1aabd5256e"},{"name":"Update track","id":"bb21c61b-0ff2-40a2-b369-49ee1eaf0d0a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"title\": \"Title Example\"\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/projects/:projectId/albums/:albumId/tracks/:trackId","description":"<p>Updates a track.</p>\n<p><strong>Path:</strong> <code>projectId</code>, <code>albumId</code>, <code>trackId</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects",":projectId","albums",":albumId","tracks",":trackId"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"12ea1eab-aafc-4e63-99e5-4a6fbd0fba2d","type":"any","value":"","key":"projectId"},{"id":"17215141-b27f-41bc-8baf-61efc64ef83d","type":"any","value":"","key":"albumId"},{"id":"91d2e4c2-360d-4622-bdc5-572c59bd3f3f","type":"any","value":"","key":"trackId"}]}},"response":[],"_postman_id":"bb21c61b-0ff2-40a2-b369-49ee1eaf0d0a"},{"name":"Delete tracks","id":"6cf4720f-3874-4c00-8f30-8c3204ef1d24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{api-url}}/projects/:projectId/albums/:albumId/tracks","description":"<p>Removes one or more tracks from the release.</p>\n<p><strong>Path:</strong> <code>projectId</code>, <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["projects",":projectId","albums",":albumId","tracks"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"b5edd541-09f1-41c4-af9c-2f9cfd107308","description":{"content":"<p>Project ID</p>\n","type":"text/plain"},"type":"any","value":"","key":"projectId"},{"id":"29279ef0-2e13-410b-bff9-09d4faea2553","description":{"content":"<p>Album ID inside the Project</p>\n","type":"text/plain"},"type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"6cf4720f-3874-4c00-8f30-8c3204ef1d24"},{"name":"Find by ISRC","id":"75be8f99-dc31-41cf-b4bc-25f4e21d1b81","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/isrc/:isrc","description":"<p>Finds a track by its ISRC code.</p>\n<p><strong>Path:</strong> <code>isrc</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["isrc",":isrc"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"57a7ce05-3ca0-43fe-aad7-38fe24be2cb4","type":"any","value":"","key":"isrc"}]}},"response":[],"_postman_id":"75be8f99-dc31-41cf-b4bc-25f4e21d1b81"}],"id":"45af95fc-ef52-4e36-99a0-8c677dfdc837","description":"<p>Songs of a release.</p>\n","_postman_id":"45af95fc-ef52-4e36-99a0-8c677dfdc837","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Splits","item":[{"name":"Create splits","id":"f403b7ed-ed66-4579-b069-7ef80914f32e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"isByTrack\": true,\n    \"splits\": [\n        {\n            \"advancedPayment\": 0,\n            \"shareArtist\": 80,\n            \"admin\": true,\n            \"note\": \"Yep, that’s me!\",\n            \"user\": \"{{userId}}\",\n            \"track\": \"{{trackId}}\"\n        },\n        {\n            \"artist\": \"{{artistId}}\",\n            \"shareArtist\": 5,\n            \"advancedPayment\": 0,\n            \"note\": \"Composers\",\n            \"admin\": false,\n            \"track\": \"{{trackId}}\"\n        },\n        {\n            \"artist\": \"{{artistId}}\",\n            \"shareArtist\": 5,\n            \"advancedPayment\": 0,\n            \"note\": \"Producers\",\n            \"admin\": false,\n            \"track\": \"{{trackId}}\"\n        },\n        {\n            \"artist\": \"{{artistId}}\",\n            \"shareArtist\": 5,\n            \"advancedPayment\": 10,\n            \"note\": \"Remixers\",\n            \"admin\": false,\n            \"track\": \"{{trackId}}\"\n        },\n        {\n            \"advancedPayment\": 10,\n            \"shareArtist\": 5,\n            \"admin\": true,\n            \"note\": \"Yep, that’s me!\",\n            \"artist\": \"{{artistId}}\",\n            \"track\": \"{{trackId}}\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/splits/:albumId","description":"<p>Defines how royalties of each track are shared. Percentages of each track must add up to 100.</p>\n<p><strong>Path:</strong> <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["splits",":albumId"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"46595cff-79dc-4c71-9572-ea7da8722d82","type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"f403b7ed-ed66-4579-b069-7ef80914f32e"},{"name":"Update splits","id":"7f5fdffb-4b4a-4a60-b0c1-7d1a3fc6d2c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"isByTrack\": true,\n    \"splits\": [\n        {\n            \"shareArtist\": 30,\n            \"advancedPayment\": 0,\n            \"note\": \"Producers\",\n            \"admin\": false,\n            \"user\": \"{{userId}}\",\n            \"track\": \"{{trackId}}\"\n        },\n        {\n            \"shareArtist\": 20,\n            \"advancedPayment\": 0,\n            \"note\": \"Remixers\",\n            \"admin\": false,\n            \"artist\": \"{{artistId}}\",\n            \"track\": \"{{trackId}}\"\n        },\n        {\n            \"advancedPayment\": 0,\n            \"shareArtist\": 50,\n            \"admin\": true,\n            \"note\": \"Yep, that’s me!\",\n            \"artist\": \"{{artistId}}\",\n            \"track\": \"{{trackId}}\"\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/splits/:albumId","description":"<p>Changes the royalty shares.</p>\n<p><strong>Path:</strong> <code>albumId</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["splits",":albumId"],"host":["{{api-url}}"],"query":[{"disabled":true,"key":"providerId","value":"{{id}}"}],"variable":[{"id":"2c282a0d-a17d-4e28-859e-49b1621d84bc","type":"any","value":"","key":"albumId"}]}},"response":[],"_postman_id":"7f5fdffb-4b4a-4a60-b0c1-7d1a3fc6d2c6"}],"id":"1a27a5de-54c1-4cd2-8b04-4cc900621536","description":"<p>How the royalties of a release are shared between collaborators.</p>\n","_postman_id":"1a27a5de-54c1-4cd2-8b04-4cc900621536","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Artists","item":[{"name":"Create artist","id":"ac20442f-8a39-4eaf-bd9c-0b2485d0d9f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"artisticName\": \"TEST Johanna Stracke\",\n    \"email\": \"Robert_Lind2@hotmail.com\",\n    \"fullName\": \"TEST Example Corrine Fay\",\n    \"appleId\": \"954335372725645378\",\n    \"newSpotifyUri\": true\n}\n","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/artists","description":"<p>Creates a main artist for the label.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["artists"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac20442f-8a39-4eaf-bd9c-0b2485d0d9f1"},{"name":"List guest artists","id":"313003f0-1690-44bc-98f0-9d8220e40a18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/guestArtists","description":"<p>Guest (featuring) artists of the label.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["guestArtists"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"313003f0-1690-44bc-98f0-9d8220e40a18"},{"name":"Create guest artist","id":"f78b9205-fdd4-4de0-9985-3c1ecde11266","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"artisticName\": \"Elisabeth\",\n    \"isGuest\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/guestArtists","description":"<p>Adds a guest artist to use in releases.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["guestArtists"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"f78b9205-fdd4-4de0-9985-3c1ecde11266"}],"id":"9bfd7508-dc6e-42ab-b745-ff1dd2d24a6c","description":"<p>Main and guest (featuring) artists.</p>\n","_postman_id":"9bfd7508-dc6e-42ab-b745-ff1dd2d24a6c","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Bulk catalog import","id":"ba4d65a4-dde1-4c7e-948e-a646b1a9e38b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{api-url}}/catalog?distribution=&artists=&stores=&countries=","description":"<p>Imports an existing catalog applying the distribution settings.</p>\n<p><strong>Query:</strong> <code>distribution</code>, <code>artists</code>, <code>stores</code>, <code>countries</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["catalog"],"host":["{{api-url}}"],"query":[{"description":{"content":"<p>Google Sheets File URL - Distribution Page</p>\n","type":"text/plain"},"key":"distribution","value":""},{"description":{"content":"<p>Google Sheets File URL - Artists Page</p>\n","type":"text/plain"},"key":"artists","value":""},{"description":{"content":"<p>Google Sheets File URL - Stores Page</p>\n","type":"text/plain"},"key":"stores","value":""},{"description":{"content":"<p>Google Sheets File URL - Countries Page</p>\n","type":"text/plain"},"key":"countries","value":""}],"variable":[]}},"response":[],"_postman_id":"ba4d65a4-dde1-4c7e-948e-a646b1a9e38b"},{"name":"List stores (DSPs)","id":"cec173f6-11e3-4f78-a61b-e72bdeb2f020","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/dsps","description":"<p>Stores and platforms available for distribution (Spotify, Apple Music, etc.).</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["dsps"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"cec173f6-11e3-4f78-a61b-e72bdeb2f020"},{"name":"List genres","id":"432dcb58-41df-49a1-b666-ef3132c9396e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/genres","description":"<p>Valid genres for releases and tracks.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["genres"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"432dcb58-41df-49a1-b666-ef3132c9396e"}],"id":"8da85b10-419c-4d91-aa8c-16df1161b4a9","description":"<p>Releases, tracks, splits and artists. Write operations require a label session.</p>\n","_postman_id":"8da85b10-419c-4d91-aa8c-16df1161b4a9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Reports","item":[{"name":"Earnings by period","id":"249b57ac-851d-4fff-8fc1-c3c6146a3088","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/statements/:period","description":"<p>Royalties of the period, broken down by release, store and country.</p>\n<p><strong>Path:</strong> <code>period</code> (<code>YYYY-MM</code>)</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["statements",":period"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"2924eedc-aad1-4960-b454-83624479302e","type":"any","value":"","key":"period"}]}},"response":[],"_postman_id":"249b57ac-851d-4fff-8fc1-c3c6146a3088"},{"name":"Earnings by period (CSV)","id":"2ee75429-4dee-4db6-8e11-4fa90e5df744","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/statements/:period/download","description":"<p>Same report as CSV. Returns <code>404</code> if there are no royalties in that period.</p>\n<p><strong>Path:</strong> <code>period</code> (<code>YYYY-MM</code>)</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["statements",":period","download"],"host":["{{api-url}}"],"query":[{"disabled":true,"key":"providers","value":"{{id}},{{id}}"}],"variable":[{"id":"f11b4cd9-7b49-4a61-8e5a-6655a0e5dd20","type":"any","value":"","key":"period"}]}},"response":[],"_postman_id":"2ee75429-4dee-4db6-8e11-4fa90e5df744"},{"name":"Yearly transactions","id":"14385c4d-b538-4bc7-9ac5-3c09966a12cd","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/statements/transactions/yearly","description":"<p>Transactions summary grouped by year.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["statements","transactions","yearly"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"14385c4d-b538-4bc7-9ac5-3c09966a12cd"},{"name":"Transactions of a year (PDF)","id":"1f60d8ea-20b7-4d3a-8e78-0fcd76f67ef7","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/statements/transactions/yearly/:year","description":"<p>Yearly account statement as PDF.</p>\n<p><strong>Path:</strong> <code>year</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["statements","transactions","yearly",":year"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"145c8717-d22b-4bad-8c85-226e6c3b17c4","type":"any","value":"","key":"year"}]}},"response":[],"_postman_id":"1f60d8ea-20b7-4d3a-8e78-0fcd76f67ef7"},{"name":"Release accountability","id":"9ca7c493-f4e4-4b02-a9f3-1517798c5432","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/statements/generalAccountability/yearly/","description":"<p>Revenue and deductions per release, grouped by year.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["statements","generalAccountability","yearly",""],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"9ca7c493-f4e4-4b02-a9f3-1517798c5432"},{"name":"Release accountability (CSV)","id":"882363d5-8e95-45bc-a683-43beaebfcbf2","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/statements/generalAccountability/yearly/:year/?format=csv","description":"<p>Accountability of a year as CSV or PDF.</p>\n<p><strong>Path:</strong> <code>year</code> · <strong>Query:</strong> <code>format</code> (<code>csv</code> or <code>pdf</code>)</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["statements","generalAccountability","yearly",":year",""],"host":["{{api-url}}"],"query":[{"key":"format","value":"csv"}],"variable":[{"id":"63682d6f-059f-44af-90eb-9c68d7036353","type":"any","value":"","key":"year"}]}},"response":[],"_postman_id":"882363d5-8e95-45bc-a683-43beaebfcbf2"},{"name":"Artist investments","id":"79544068-c00b-4307-8c24-a569e8acaa23","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/statements/artistInvestments/list","description":"<p>Advances and recoupment per artist.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["statements","artistInvestments","list"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"79544068-c00b-4307-8c24-a569e8acaa23"},{"name":"Artist investments (PDF)","id":"6eb7c56a-49af-4a63-ae93-fc380e679b08","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{}},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/statements/artistInvestments/list/:artistId/:name","description":"<p>Investments detail of one artist as PDF.</p>\n<p><strong>Path:</strong> <code>artistId</code>, <code>name</code></p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["statements","artistInvestments","list",":artistId",":name"],"host":["{{api-url}}"],"query":[],"variable":[{"id":"8aa99152-5f88-4c13-a7e0-75bf2fb4722e","type":"any","value":"","key":"artistId"},{"id":"bb588f61-5c03-41f1-8a1f-90cacd4d2cbb","type":"any","value":"","key":"name"}]}},"response":[],"_postman_id":"6eb7c56a-49af-4a63-ae93-fc380e679b08"}],"id":"2260bd08-ac87-4b11-b5b1-b7f9f7c741c5","description":"<p>Royalties and transactions. Periods use the <code>YYYY-MM</code> format.</p>\n","_postman_id":"2260bd08-ac87-4b11-b5b1-b7f9f7c741c5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}},{"name":"Account Managers","item":[{"name":"List account managers","id":"a04dc802-111b-4f17-b2f1-248a71538acf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{api-url}}/accountmanagers","description":"<p>Users with access to the label account.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["accountmanagers"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a04dc802-111b-4f17-b2f1-248a71538acf"},{"name":"Create account manager","id":"16137eb0-9fbf-40b5-ac86-0e964e0d0182","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"Corine\",\r\n    \"fullName\": \"Jared Boyer\",\r\n    \"email\": \"Reynold74@hotmail.com\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{api-url}}/accountmanagers","description":"<p>Gives another person access to the label account.</p>\n<p><em>Requires a label session.</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}},"urlObject":{"path":["accountmanagers"],"host":["{{api-url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"16137eb0-9fbf-40b5-ac86-0e964e0d0182"}],"id":"0c0ca2a5-1053-4a46-b7ae-1d8c469e47bf","description":"<p>Users with access to the label account.</p>\n","_postman_id":"0c0ca2a5-1053-4a46-b7ae-1d8c469e47bf","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":true,"source":{"_postman_id":"c7d522d6-aa78-4abb-b861-965198275f19","id":"c7d522d6-aa78-4abb-b861-965198275f19","name":"Zil Distribution API","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]}}}