{"info":{"_postman_id":"864c0932-6f6d-4c8c-9695-041eebb2934f","name":"freelanceflow","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"24740089","collectionId":"864c0932-6f6d-4c8c-9695-041eebb2934f","publishedId":"2sBXitDo3R","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2026-04-13T10:16:38.000Z"},"item":[{"name":"auth","item":[{"name":"register","id":"3fc835a9-d45c-420a-9924-d16b69d8db31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"john3@example.com\",\n    \"password\": \"john\",\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"address_line1\": \"1 rue de la Paix\",\n    \"address_line2\": \"Appartement 4B\",\n    \"zip_code\": \"75001\",\n    \"city\": \"Paris\",\n    \"country\": \"France\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/auth/register","urlObject":{"protocol":"http","port":"3000","path":["api","auth","register"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3fc835a9-d45c-420a-9924-d16b69d8db31"},{"name":"login","id":"b9fd9260-2a47-411f-a29f-bcd0a89e64aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\": \"thomas@example.com\",\n    \"password\": \"test1234\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/auth/login","urlObject":{"protocol":"http","port":"3000","path":["api","auth","login"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b9fd9260-2a47-411f-a29f-bcd0a89e64aa"},{"name":"upload logo","id":"52ab95c5-0f31-42b1-821e-531b8118ce7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"logo","type":"file","uuid":"24ce3291-8dc2-40b5-b6e0-b4adf5f9c874","src":"/Users/clement/Downloads/Un-logo-facile-a-comprendre.jpg"}]},"url":"http://localhost:3000/api/auth/logo","urlObject":{"protocol":"http","port":"3000","path":["api","auth","logo"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"52ab95c5-0f31-42b1-821e-531b8118ce7b"},{"name":"me","id":"a389b019-164e-4a93-afc1-63ae4a2380de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"thomas@example.com\",\n    \"password\": \"test1234\"\n}"},"url":"http://localhost:3000/api/auth/me","urlObject":{"protocol":"http","port":"3000","path":["api","auth","me"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a389b019-164e-4a93-afc1-63ae4a2380de"},{"name":"update user","id":"467c2d08-179d-48fc-8f6a-1e0a30c00f36","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"testPUT\",\n    \"last_name\": \"testPUT\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/auth/me","urlObject":{"protocol":"http","port":"3000","path":["api","auth","me"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"467c2d08-179d-48fc-8f6a-1e0a30c00f36"}],"id":"ac21d65c-503a-4fe8-91e1-7e3bcebffbe5","_postman_id":"ac21d65c-503a-4fe8-91e1-7e3bcebffbe5","description":""},{"name":"clients","item":[{"name":"get clients","id":"650d479e-1fc8-4185-a17e-8d4fade2610e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"thomas@example.com\",\n    \"password\": \"test1234\"\n}"},"url":"http://localhost:3000/api/clients","urlObject":{"protocol":"http","port":"3000","path":["api","clients"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"650d479e-1fc8-4185-a17e-8d4fade2610e"},{"name":"get clients CSV","id":"7b5c85f5-7fc8-4426-a167-c3bfdd146c03","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"thomas@example.com\",\n    \"password\": \"test1234\"\n}"},"url":"http://localhost:3000/api/clients/export","urlObject":{"protocol":"http","port":"3000","path":["api","clients","export"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"7b5c85f5-7fc8-4426-a167-c3bfdd146c03"},{"name":"delete client","id":"0b79a1f3-e841-47d8-ae4d-59fafbf6ec59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"thomas@example.com\",\n    \"password\": \"test1234\"\n}"},"url":"http://localhost:3000/api/clients/1","urlObject":{"protocol":"http","port":"3000","path":["api","clients","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0b79a1f3-e841-47d8-ae4d-59fafbf6ec59"},{"name":"get clients/id","id":"65ec5cf7-87bd-4ba3-b9a3-3852adbe7cf8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client1@example.com\",\n    \"name\": \"client1\",\n    \"company\": \"company1\",\n    \"address\": \"company1 address\"\n}"},"url":"http://localhost:3000/api/clients/1","urlObject":{"protocol":"http","port":"3000","path":["api","clients","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"65ec5cf7-87bd-4ba3-b9a3-3852adbe7cf8"},{"name":"create client","id":"c4a92716-fd82-4c10-8181-c6cf4452879a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client1@example.com\",\n    \"name\": \"client1\",\n    \"company\": \"company1\",\n    \"address_line1\": \"1 rue de la Paix\",\n    \"address_line2\": \"Appartement 4B\",\n    \"zip_code\": \"75001\",\n    \"city\": \"Paris\",\n    \"country\": \"France\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/clients","urlObject":{"protocol":"http","port":"3000","path":["api","clients"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"c4a92716-fd82-4c10-8181-c6cf4452879a"},{"name":"edit client","id":"b3b0a8a6-bb1f-40f4-9601-419ed00e47e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client1@example.com\",\n    \"name\": \"Client1\",\n    \"company\": \"company1\",\n    \"address_line1\": \"1 rue de la Paix\",\n    \"address_line2\": \"Appartement 4B\",\n    \"zip_code\": \"75001\",\n    \"city\": \"Paris\",\n    \"country\": \"France\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/clients/1","urlObject":{"protocol":"http","port":"3000","path":["api","clients","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b3b0a8a6-bb1f-40f4-9601-419ed00e47e4"}],"id":"92728b83-c33e-4887-90e9-ae12065e0b8c","_postman_id":"92728b83-c33e-4887-90e9-ae12065e0b8c","description":""},{"name":"services","item":[{"name":"get all","id":"106450a8-8d7a-4e54-bc4e-5e41a82c6ff3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client1@example.com\",\n    \"name\": \"Client1\",\n    \"company\": \"company1\",\n    \"address\": \"company1 address\"\n}"},"url":"http://localhost:3000/api/services","urlObject":{"protocol":"http","port":"3000","path":["api","services"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"106450a8-8d7a-4e54-bc4e-5e41a82c6ff3"},{"name":"get by id","id":"b0ff2fc9-ee84-492b-87bd-b2076ed6022d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client1@example.com\",\n    \"name\": \"Client1\",\n    \"company\": \"company1\",\n    \"address\": \"company1 address\"\n}"},"url":"http://localhost:3000/api/services/1","urlObject":{"protocol":"http","port":"3000","path":["api","services","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b0ff2fc9-ee84-492b-87bd-b2076ed6022d"},{"name":"delete","id":"da0be29c-52d4-464e-ba9d-b2680535370b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":""},"url":"http://localhost:3000/api/services/1","urlObject":{"protocol":"http","port":"3000","path":["api","services","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"da0be29c-52d4-464e-ba9d-b2680535370b"},{"name":"create","id":"eb6504f4-6ba0-4b9d-aaaa-8a6c25f2d518","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"service1\",\n    \"hourly_rate\": 30\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/services","urlObject":{"protocol":"http","port":"3000","path":["api","services"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb6504f4-6ba0-4b9d-aaaa-8a6c25f2d518"},{"name":"edit","id":"3111a21f-5dc0-4666-905c-a46d2b067e52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[{"key":"","value":"","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"service1\",\n    \"hourly_rate\": 40\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/services/1","urlObject":{"protocol":"http","port":"3000","path":["api","services","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"3111a21f-5dc0-4666-905c-a46d2b067e52"}],"id":"4ba2f69a-8c27-4cc8-9f18-616f02356f1c","_postman_id":"4ba2f69a-8c27-4cc8-9f18-616f02356f1c","description":""},{"name":"invoices","item":[{"name":"get all","id":"00fbf26c-b905-4551-85ed-9b2fd1a8affe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/invoices","urlObject":{"protocol":"http","port":"3000","path":["api","invoices"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"00fbf26c-b905-4551-85ed-9b2fd1a8affe"},{"name":"get all CSV","id":"158e8351-e5f8-498f-a7f3-5793fd83bc5f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/invoices/export","urlObject":{"protocol":"http","port":"3000","path":["api","invoices","export"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"158e8351-e5f8-498f-a7f3-5793fd83bc5f"},{"name":"get by id","id":"b4357ad7-6243-48d6-aff3-5cfd8c545170","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/invoices/1","urlObject":{"protocol":"http","port":"3000","path":["api","invoices","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"b4357ad7-6243-48d6-aff3-5cfd8c545170"},{"name":"download by id","id":"a6c280ee-2716-492f-9973-c70d042b0c0d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[],"url":"http://localhost:3000/api/invoices/92/pdf","urlObject":{"protocol":"http","port":"3000","path":["api","invoices","92","pdf"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"a6c280ee-2716-492f-9973-c70d042b0c0d"},{"name":"delete","id":"49dcfbbb-1484-4454-ac6a-48bd12376cb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"DELETE","header":[],"url":"http://localhost:3000/api/invoices/1","urlObject":{"protocol":"http","port":"3000","path":["api","invoices","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"49dcfbbb-1484-4454-ac6a-48bd12376cb4"},{"name":"create","id":"0fb45acb-1210-4403-9be3-5056fec4fe1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"client_id\": 35,\n  \"date\": \"2026-04-14T12:24:52.333Z\",\n  \"status\": \"draft\",\n  \"tva_rate\": 20,\n  \"lines\": [\n    {\n      \"service_id\": 49,\n      \"quantity\": \"2\",\n      \"unit_price\": \"50\"\n    },\n    {\n      \"service_id\": 50,\n      \"quantity\": \"4\",\n      \"unit_price\": \"70.00\"\n    }\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/invoices","urlObject":{"protocol":"http","port":"3000","path":["api","invoices"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"0fb45acb-1210-4403-9be3-5056fec4fe1f"},{"name":"edit","id":"95a843e6-04c8-4885-bc34-c55b8fea13e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n  \"client_id\": 1,\n  \"date\": \"2026-04-13T11:14:52.333Z\",\n  \"status\": \"draft\",\n  \"lines\": [\n    {\n      \"service_id\": 1,\n      \"quantity\": \"10\",\n      \"unit_price\": \"60.00\",\n      \"total\": \"600.00\"\n    },\n    {\n      \"service_id\": 1,\n      \"quantity\": \"4\",\n      \"unit_price\": \"45.00\",\n      \"total\": \"180.00\"\n    }\n  ],\n  \"totals\": {\n    \"total_ht\": \"780.00\",\n    \"tva_amount\": \"156.00\",\n    \"total_ttc\": \"936.00\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/invoices/1","urlObject":{"protocol":"http","port":"3000","path":["api","invoices","1"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"95a843e6-04c8-4885-bc34-c55b8fea13e9"},{"name":"send invoices email","id":"89eb0d97-e2cc-44cb-9287-e64977643249","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[],"url":"http://localhost:3000/api/invoices/92/send","urlObject":{"protocol":"http","port":"3000","path":["api","invoices","92","send"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"89eb0d97-e2cc-44cb-9287-e64977643249"}],"id":"5507e5d5-c427-4d80-8260-99623eaae7b9","_postman_id":"5507e5d5-c427-4d80-8260-99623eaae7b9","description":""},{"name":"health","id":"588f59a2-62fc-46b9-b9a9-0a7b90d1820d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:3000/health","urlObject":{"protocol":"http","port":"3000","path":["health"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"588f59a2-62fc-46b9-b9a9-0a7b90d1820d"}]}