{"info":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"11604218","collectionId":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","publishedId":"2s93eVWtmg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-05-03T23:12:05.000Z"},"item":[{"name":"users","item":[{"name":"Register user","id":"fa50058b-c965-4550-a2df-0c9b0000dfb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Alan","type":"text"},{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text"},{"key":"terms","value":"1","type":"text"}]},"url":"{{app_url}}/api/v1/user/register","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","user","register"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"a03c9fc4-c799-4996-a2fb-78b6dc30c7df","name":"Register user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Alan","type":"text"},{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text"},{"key":"terms","value":"1","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/user/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:12:46 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:12:46 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Alan\",\n    \"email\": \"alan@alan.com\",\n    \"role\": \"Administrador\",\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiZmM4NWNjYzc3OTNmOWNkNjVjMjY2YmY3YWQwZDk5NDU1ODkwMDc0ZDcxZjYzN2I5YzAxYmI5NzNhNTRmNzNhMzE4NzNkNTFlMzMyY2VhYmUiLCJpYXQiOjE2ODMxNTU1NjYuNzY4MzI1LCJuYmYiOjE2ODMxNTU1NjYuNzY4MzI2LCJleHAiOjE3MTQ3Nzc5NjYuNzY3NDA1LCJzdWIiOiIzNCIsInNjb3BlcyI6W119.TUmWcNJJvrAax8j8OD7rsckpaCZd3fXfMHzNTo6E9TffAfzwc-hD3LMozfJUlyQ8ABkdENs3uvSMFz47vfBvk5cTAxddKPm2AVH_-fsxu6VUEBYUg03mwLrnKhrutVv39OuifTbOWc606Zj94JFcmVVnK6k_Jqt4N-UnvXQGs-AnSd6l4hef0gqqInCYQ3Jz3h_AftSZ_ZOddsBB8OJS6HZtX3SnLbWLgE-IXQfwlgWzyYEGIpcJS8QJDes1TMwcK-xA9Ujngd3nbtRNs4lfmCM_5PGFhhZkra9nLVMrAdy1SRpEFhFs3wwutEcIkhlWTlhVGvL74iC0Rr_hS0LUQtB9nvoEMVBXSrgRukuKWyCrN-aQJFDeEEp1R1s9moXNBpya5EPXRNW6kMCaGP8bk7jISf5UAiXhtS6VZmaKX9B4opHVdVOk0m7kuckI-w9FkZKU0xMxniX9FqbymOgDGMNYYCo5t7QSJBn2NortYVAagzifq7z3idfW1F3BWX4pEFKkDwoVVdkPsgUaTPHeZH3f_q1-zn-eok9ZodOU5Ruj_8AaZxLP6r_eoX5xHL8v2njMICJloG2tG1PSURmtmx1tDtx0SD0eiXFPUI4dEjcJxmJJ74-NXuwhcIRwu4n7QYimsHySmFDkOBDqgkDRY0ePVK8u_1h7R6Vm8eQ_1Qs\"\n}"}],"_postman_id":"fa50058b-c965-4550-a2df-0c9b0000dfb8"},{"name":"Login user","id":"84690a9d-b9f0-487c-86f4-d165638473f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"{{app_url}}/api/v1/user/login","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","user","login"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"6eeece28-9af1-400b-8352-33dd01f3cf1e","name":"Login user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"halan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/user/login"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:25:48 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:25:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"user\": {\n        \"id\": 24,\n        \"name\": \"Alan\",\n        \"email\": \"halan@alan.com\",\n        \"email_verified_at\": null,\n        \"created_at\": \"2023-05-03T21:26:01.000000Z\",\n        \"updated_at\": \"2023-05-03T21:30:12.000000Z\"\n    },\n    \"access_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJhdWQiOiIxIiwianRpIjoiNmQ3YjBkNzhiY2IzMzg0MzU4MWZmZmNiYTc0NTkzNmJmMmJkYjA1MjBmZTgzYzhmMjIzOTQyMWNmMTgxMjJhNDIzN2RiNTMxNTNhOGRmZWEiLCJpYXQiOjE2ODMxNTYzNDguMjM4NTQyLCJuYmYiOjE2ODMxNTYzNDguMjM4NTQzLCJleHAiOjE3MTQ3Nzg3NDguMjM3MzE3LCJzdWIiOiIyNCIsInNjb3BlcyI6W119.KiCasMCfH4fvwY6dljqAQGeGpd-2Txilqa5-7qYTXUVqDpojJj5MIRpkZy-0nnn-7eHWk-iNiUzhrZrXLBrS6HfeQxhToKwW06qHwVjwdXSG1ZJvQTHNWDUqlRYIDrS5e9XXdPLTuf3jVKdwfxoK3ckIgoS2gRP1a40Nu1HkP2k5T86ZhDbk2ydDen-w24r5nRoQ52C_xLp6SZuO5KGmgwdbY24B3rODbeEe3gWHlxUBOKErrR026__I8kD1VJ3cMMlVAtuy_Pd8jw_jo222jdTP3wOW3pjq0vWdord2BdV43g-k1yYdKG_S9xUaGf5KTG1CLCCy-eCyJ_QLhrBhuMRfdZ7uUTBRrbWa-woeA5YvuCrnRdjBKB4_xWWzMgoc7dbssrYJUF6D8A7M87D0S9PN--YInlgXvcBKLbYWynOATpzMsg0KUP3J1YPUwMfXksWCjerHivDYqxp_-H_3IVISZGzdfi3iT0cdFcMeKOxJ4k8AoXkfVb8OyqFCpQFpTEpljZRT9t9ssUqKniTk9s4MySXlZtaJBY9phHjzBJ_-NfIGW8z_i0biE4khssKeB-qgtDFGAgixws8f_Kc1l6TQBT1EoxVeIagT9AOqLLSux6bfmejM4mzhFB1SGLeYHjustl5XuH6ipw5jdU6ftJOqRAt60rHRDPNs0Z7QXH8\"\n}"}],"_postman_id":"84690a9d-b9f0-487c-86f4-d165638473f6"},{"name":"Get users list","id":"67738d2c-637a-49dc-bb28-c19053513e30","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","users"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"357b8c9d-77c8-4d4d-82cb-16feafeb4f81","name":"Get users list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/users?filter[name]=a","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","users"],"query":[{"key":"filter[name]","value":"a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"Angel\",\n            \"email\": \"angel@angel.com\",\n            \"role\": \"Vendedor\"\n        },\n        {\n            \"name\": \"Alan\",\n            \"email\": \"halan@alan.com\",\n            \"role\": \"Administrador\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/users\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"67738d2c-637a-49dc-bb28-c19053513e30"},{"name":"Get current user","id":"cc63cb51-a859-43dd-9204-2052bf3e41be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"{{app_url}}/api/v1/user/current","urlObject":{"path":["api","v1","user","current"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"e57e8320-9084-4192-aa4c-151d2a8e4d89","name":"Get current user","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/user/current"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:22 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:22 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Alan\",\n        \"email\": \"halan@alan.com\",\n        \"role\": \"Administrador\"\n    }\n}"}],"_postman_id":"cc63cb51-a859-43dd-9204-2052bf3e41be"},{"name":"Get user by id","id":"4a520867-e6f1-45b7-a816-92daac22d961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/users/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","users","3"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"732ba41e-4ba4-424a-8341-0ea3b8233d85","name":"Get user by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/users/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Alan\",\n        \"email\": \"halan@alan.com\",\n        \"role\": \"Administrador\"\n    }\n}"}],"_postman_id":"4a520867-e6f1-45b7-a816-92daac22d961"},{"name":"Create user","id":"6fbd9f6a-3dda-486d-8422-9f45ba44b4f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text","contentType":"","description":"<p>(Required) string</p>\n"},{"key":"email","value":"joel@joel.com","description":"<p>string</p>\n","type":"text","contentType":""}]},"url":"http://127.0.0.1:8000/api/v1/users","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","users"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"4eb0bcfd-b94d-4c4c-bf1e-a54ab91433d5","name":"Create user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text"},{"key":"email","value":"joel@joel.com","type":"text"},{"key":"role","value":"Vendedor","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text","disabled":true},{"key":"terms","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"6fbd9f6a-3dda-486d-8422-9f45ba44b4f6"},{"name":"Update user","id":"22aab3a0-20e1-40ef-b001-87bd89c9ac92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"alan@alan.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/users/24","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","users","24"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"dd37e817-d717-4b5a-99ea-c9180d043282","name":"Update user","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"alan@alan.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/users/24"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:29:01 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:29:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"22aab3a0-20e1-40ef-b001-87bd89c9ac92"},{"name":"Delete user","id":"dc75ebc0-abb5-4bd8-8187-ea449094b0a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/users/35","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","users","35"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"07baa98f-e5f9-40e2-aa2d-7a391419eda9","name":"Update user Copy","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"halan@alan.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/users/35"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:34:06 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:34:06 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"dc75ebc0-abb5-4bd8-8187-ea449094b0a2"},{"name":"Sync permissions to user","id":"9ea5c0c7-3bb3-490e-a8c7-9eb60d305043","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"permissions\": [4,5]\n}","options":{"raw":{"language":"json"}}},"url":"https://devp.unocrm.mx/api/v1/users/3/sync_permissions","urlObject":{"protocol":"https","path":["api","v1","users","3","sync_permissions"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"11f1e4d2-e0f8-4578-ab83-693a455dd628","name":"syncPermissions","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"permissions\": [1,2,3,4]\n}","options":{"raw":{"language":"json"}}},"url":"https://devp.unocrm.mx/api/v1/roles/1/sync_permissions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:10:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Administrador\",\n        \"permissions\": [\n            \"viewLeads\",\n            \"editLeads\",\n            \"deleteLeads\",\n            \"createLeads\"\n        ]\n    }\n}"}],"_postman_id":"9ea5c0c7-3bb3-490e-a8c7-9eb60d305043"}],"id":"70ae6794-30ba-4140-bbde-e8c738296efd","_postman_id":"70ae6794-30ba-4140-bbde-e8c738296efd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"leads","item":[{"name":"Get leads list","id":"630feaaa-a4e1-4476-9f94-6d6bfecfa210","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/leads","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","leads"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[last]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[phone]","value":""},{"disabled":true,"key":"filter[origin]","value":""},{"disabled":true,"key":"filter[channel]","value":""},{"disabled":true,"key":"filter[note]","value":""},{"disabled":true,"key":"filter[channel]","value":""},{"disabled":true,"key":"filter[interest]","value":""},{"disabled":true,"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"c75da648-28ca-4a6a-84dd-96aed749c0cf","name":"Get leads list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text","disabled":true}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/leads","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","leads"],"query":[{"key":"filter[name]","value":"","type":"text","description":"filters name attribute for users","disabled":true},{"key":"filter[last]","value":"","type":"text","description":"filters role for users, multiples roles should be passed ussing a comma","disabled":true},{"key":"filter[email]","value":"","type":"text","description":"filters email attribute for users","disabled":true},{"key":"filter[phone]","value":"","type":"text","description":"filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering","disabled":true},{"key":"filter[origin]","value":"","type":"text","disabled":true},{"key":"filter[channel]","value":"","type":"text","disabled":true},{"key":"filter[note]","value":"","type":"text","disabled":true},{"key":"filter[channel]","value":"","type":"text","disabled":true},{"key":"filter[interest]","value":"","type":"text","disabled":true},{"key":"filter[created_between]","value":"","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 15:56:26 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 15:56:26 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5\",\n            \"name\": \"Hector\",\n            \"last\": \"Silva\",\n            \"phone\": \"5218126554700\",\n            \"email\": null,\n            \"status\": null,\n            \"channel\": null,\n            \"origin\": {\n                \"id\": \"1\",\n                \"name\": \"uno\"\n            },\n            \"conversation\": {\n                \"id\": \"1\",\n                \"client_picture\": null,\n                \"client_name\": \"Hector Alan Silva\",\n                \"client\": null,\n                \"channel\": \"whatsapp\",\n                \"channelId\": \"5218126554700\",\n                \"zenviaChannelId\": \"fearless-plain\",\n                \"latest_message\": {\n                    \"uuid\": \"a2398375-ccaf-40f9-b8e8-c15f275d0764\",\n                    \"contents\": {\n                        \"text\": \"Test\",\n                        \"type\": \"text\"\n                    },\n                    \"name\": null,\n                    \"from\": \"5218126554700\",\n                    \"to\": \"fearless-plain\",\n                    \"direction\": \"IN\",\n                    \"channel\": \"whatsapp\",\n                    \"zenvia_timestamp\": \"2023-07-06T04:05:21+00:00\",\n                    \"created_at\": \"2023-07-06 04:07:25\",\n                    \"statuses\": [],\n                    \"meessage_datetime\": \"2023-07-06 04:07\",\n                    \"client\": null,\n                    \"lead\": {\n                        \"id\": \"5\",\n                        \"name\": \"Hector\",\n                        \"last\": \"Silva\",\n                        \"phone\": \"5218126554700\",\n                        \"email\": null,\n                        \"status\": null,\n                        \"channel\": null,\n                        \"origin\": {\n                            \"id\": \"1\",\n                            \"name\": \"uno\"\n                        },\n                        \"funnel_phase\": {\n                            \"id\": \"1\",\n                            \"name\": \"test\",\n                            \"description\": \"test\",\n                            \"order\": null,\n                            \"time\": null,\n                            \"days\": null,\n                            \"funnel\": null,\n                            \"type\": null\n                        },\n                        \"user\": null,\n                        \"additional_data\": null,\n                        \"last_message_user\": null\n                    }\n                },\n                \"unread_messages\": 1\n            },\n            \"funnel_phase\": {\n                \"id\": \"1\",\n                \"name\": \"test\",\n                \"description\": \"test\",\n                \"order\": null,\n                \"time\": null,\n                \"days\": null,\n                \"funnel\": null,\n                \"type\": null\n            },\n            \"user\": null,\n            \"additional_data\": null,\n            \"note\": null\n        }\n    ],\n    \"links\": {\n        \"first\": null,\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"path\": \"http://127.0.0.1:8000/api/v1/leads\",\n        \"per_page\": 50,\n        \"next_cursor\": null,\n        \"prev_cursor\": null\n    }\n}"}],"_postman_id":"630feaaa-a4e1-4476-9f94-6d6bfecfa210"},{"name":"Get lead by id","id":"2be61227-3140-490b-84d0-14c941a8fb72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/leads/5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","leads","5"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"a21d330e-df31-48ec-8bb5-a9159c3f0290","name":"Get lead by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/leads/5"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:01:59 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:01:59 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"52"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": \"5\",\n            \"name\": \"Hector\",\n            \"last\": \"Silva\",\n            \"phone\": \"5218126554700\",\n            \"email\": null,\n            \"status\": null,\n            \"channel\": null,\n            \"origin\": {\n                \"id\": \"1\",\n                \"name\": \"uno\"\n            },\n            \"conversation\": {\n                \"id\": \"1\",\n                \"client_picture\": null,\n                \"client_name\": \"Hector Alan Silva\",\n                \"client\": null,\n                \"channel\": \"whatsapp\",\n                \"channelId\": \"5218126554700\",\n                \"zenviaChannelId\": \"fearless-plain\",\n                \"latest_message\": {\n                    \"uuid\": \"a2398375-ccaf-40f9-b8e8-c15f275d0764\",\n                    \"contents\": {\n                        \"text\": \"Test\",\n                        \"type\": \"text\"\n                    },\n                    \"name\": null,\n                    \"from\": \"5218126554700\",\n                    \"to\": \"fearless-plain\",\n                    \"direction\": \"IN\",\n                    \"channel\": \"whatsapp\",\n                    \"zenvia_timestamp\": \"2023-07-06T04:05:21+00:00\",\n                    \"created_at\": \"2023-07-06 04:07:25\",\n                    \"statuses\": [],\n                    \"meessage_datetime\": \"2023-07-06 04:07\",\n                    \"client\": null,\n                    \"lead\": {\n                        \"id\": \"5\",\n                        \"name\": \"Hector\",\n                        \"last\": \"Silva\",\n                        \"phone\": \"5218126554700\",\n                        \"email\": null,\n                        \"status\": null,\n                        \"channel\": null,\n                        \"origin\": {\n                            \"id\": \"1\",\n                            \"name\": \"uno\"\n                        },\n                        \"funnel_phase\": {\n                            \"id\": \"1\",\n                            \"name\": \"test\",\n                            \"description\": \"test\",\n                            \"order\": null,\n                            \"time\": null,\n                            \"days\": null,\n                            \"funnel\": null,\n                            \"type\": null\n                        },\n                        \"user\": null,\n                        \"additional_data\": null,\n                        \"last_message_user\": null\n                    }\n                },\n                \"unread_messages\": 1\n            },\n            \"funnel_phase\": {\n                \"id\": \"1\",\n                \"name\": \"test\",\n                \"description\": \"test\",\n                \"order\": null,\n                \"time\": null,\n                \"days\": null,\n                \"funnel\": null,\n                \"type\": null\n            },\n            \"user\": null,\n            \"additional_data\": null,\n            \"note\": null\n        }\n    ],\n    \"links\": {\n        \"first\": null,\n        \"last\": null,\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"path\": \"http://127.0.0.1:8000/api/v1/leads\",\n        \"per_page\": 50,\n        \"next_cursor\": null,\n        \"prev_cursor\": null\n    }\n}"}],"_postman_id":"2be61227-3140-490b-84d0-14c941a8fb72"},{"name":"Create lead","id":"e6ec9cca-7af5-4800-a90f-f06d2045265f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text","contentType":"","description":"<p>(Required) string</p>\n"},{"key":"last","value":"Rodriguez","type":"text"},{"key":"phone","value":"8126554700","type":"text"},{"key":"email","value":"joel@joel.com","description":"<p>string</p>\n","type":"text","contentType":""},{"key":"company","value":"Cemex","type":"text"},{"key":"job_position","value":"Gerente","type":"text"},{"key":"address","value":"Carr. A Dulces Nombres Km 2, Valle Soleado (FOMERREY-107), 67114 Guadalupe, N.L.","type":"text"},{"key":"status","value":"Atendido","type":"text"},{"key":"channel","value":"whatsapp","type":"text"},{"key":"origin_id","value":"1","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text"},{"key":"user_id","value":"3","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/leads","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","leads"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"ae6da575-125b-496b-a16f-79b21af8c2c6","name":"Create lead","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text","contentType":"","description":"(Required) string"},{"key":"last","value":"Rodriguez","type":"text"},{"key":"phone","value":"8126554700","type":"text"},{"key":"email","value":"joel@joel.com","description":"string","type":"text","contentType":""},{"key":"company","value":"Cemex","type":"text"},{"key":"job_position","value":"Gerente","type":"text"},{"key":"address","value":"Carr. A Dulces Nombres Km 2, Valle Soleado (FOMERREY-107), 67114 Guadalupe, N.L.","type":"text"},{"key":"status","value":"Atendido","type":"text"},{"key":"channel","value":"whatsapp","type":"text"},{"key":"origin_id","value":"1","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text"},{"key":"user_id","value":"3","type":"text"},{"key":"","value":"","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/leads"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:04:16 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:04:16 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"9\",\n    \"name\": \"Joel\",\n    \"last\": \"Rodriguez\",\n    \"phone\": \"8126554700\",\n    \"email\": \"joel@joel.com\",\n    \"status\": \"Atendido\",\n    \"channel\": \"whatsapp\",\n    \"origin\": {\n        \"id\": \"1\",\n        \"name\": \"uno\"\n    },\n    \"conversation\": null,\n    \"funnel_phase\": {\n        \"id\": \"1\",\n        \"name\": \"test\",\n        \"description\": \"test\",\n        \"order\": null,\n        \"time\": null,\n        \"days\": null,\n        \"funnel\": null,\n        \"type\": null\n    },\n    \"user\": {\n        \"id\": \"3\",\n        \"name\": \"Alan\",\n        \"last\": null,\n        \"email\": \"alan@alan.com\",\n        \"profile_photo_url\": null,\n        \"job_position\": null,\n        \"color\": null\n    },\n    \"additional_data\": null,\n    \"note\": null\n}"}],"_postman_id":"e6ec9cca-7af5-4800-a90f-f06d2045265f"},{"name":"Update lead","id":"74f9fc3d-6a1b-4a77-8eda-4f51f32f75ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"name","value":"Hector","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/leads/8","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","leads","8"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"4162d169-a7be-43e3-bafc-cdf545eb0fed","name":"Update lead","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"name","value":"Hector","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/leads/8","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","leads","8"],"query":[{"key":"filter[name]","value":"","description":"filters name attribute for users","disabled":true},{"key":"filter[email]","value":"","description":"filters email attribute for users","type":"text","disabled":true},{"key":"filter[role]","value":"","description":"filters role for users, multiples roles should be passed ussing a comma","type":"text","disabled":true},{"key":"filter[created_between]","value":"","description":"filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering","type":"text","disabled":true}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:05:00 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:05:00 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"8\",\n    \"name\": \"Joel\",\n    \"last\": \"Rodriguez\",\n    \"phone\": \"8126554700\",\n    \"email\": \"joel@joel.com\",\n    \"status\": \"Atendido\",\n    \"channel\": \"whatsapp\",\n    \"origin\": {\n        \"id\": \"1\",\n        \"name\": \"uno\"\n    },\n    \"conversation\": null,\n    \"funnel_phase\": {\n        \"id\": \"1\",\n        \"name\": \"test\",\n        \"description\": \"test\",\n        \"order\": null,\n        \"time\": null,\n        \"days\": null,\n        \"funnel\": null,\n        \"type\": null\n    },\n    \"user\": {\n        \"id\": \"3\",\n        \"name\": \"Alan\",\n        \"last\": null,\n        \"email\": \"alan@alan.com\",\n        \"profile_photo_url\": null,\n        \"job_position\": null,\n        \"color\": null\n    },\n    \"additional_data\": null,\n    \"note\": null\n}"}],"_postman_id":"74f9fc3d-6a1b-4a77-8eda-4f51f32f75ee"},{"name":"Delete lead","id":"1d4d0421-ab0f-4f65-988f-dec31b9b3c3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/leads/5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","leads","5"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"2b7e82b0-c2d6-41b5-abf0-7ef9f60e9593","name":"Delete lead","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/leads/5"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:10:31 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:10:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"1d4d0421-ab0f-4f65-988f-dec31b9b3c3e"}],"id":"afe77307-c1e6-4fc8-b433-6d82c96f8774","_postman_id":"afe77307-c1e6-4fc8-b433-6d82c96f8774","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"activities","item":[{"name":"Create activity","id":"f7803554-e195-4d3c-ad5d-8b137dd6a1cd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"1","type":"text"},{"key":"client_id","value":"1","type":"text"},{"key":"contact_id","value":"1","type":"text"},{"key":"activity_type_id","value":"1","type":"text"},{"key":"date","value":"2023-01-01:00:00:00","type":"text"},{"key":"only_date","value":"2023-01-01","type":"text"},{"key":"only_time","value":"00:00:00","type":"text"},{"key":"description","value":"descripción de muestra","type":"text"},{"key":"completed","value":"1","type":"text"},{"key":"user_id","value":"3","type":"text"},{"key":"lead_id","value":"","type":"text"},{"key":"result","value":" todo ok","type":"text"},{"key":"created_by_user_id","value":"3","type":"text"},{"key":"last_updated_by_user_id","value":"3","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/activities","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","activities"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1fd06e04-110e-4c56-b365-da69613797ce","name":"Create activity","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"client_id","value":"1","type":"text"},{"key":"client_id","value":"1","type":"text"},{"key":"contact_id","value":"1","type":"text"},{"key":"activity_type_id","value":"1","type":"text"},{"key":"date","value":"2023-01-01:00:00:00","type":"text"},{"key":"only_date","value":"2023-01-01","type":"text"},{"key":"only_time","value":"00:00:00","type":"text"},{"key":"description","value":"descripción de muestra","type":"text"},{"key":"completed","value":"1","type":"text"},{"key":"user_id","value":"3","type":"text"},{"key":"lead_id","value":"","type":"text"},{"key":"result","value":" todo ok","type":"text"},{"key":"created_by_user_id","value":"3","type":"text"},{"key":"last_updated_by_user_id","value":"3","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/activities"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:15:38 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:15:38 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"client_id\": \"1\",\n    \"contact_id\": \"1\",\n    \"activity_type_id\": \"1\",\n    \"date\": \"2023-01-01:00:00:00\",\n    \"only_date\": \"2023-01-01\",\n    \"only_time\": \"00:00:00\",\n    \"description\": \"descripción de muestra\",\n    \"completed\": \"1\",\n    \"user_id\": \"3\",\n    \"lead_id\": null,\n    \"result\": \"todo ok\",\n    \"created_by_user_id\": \"3\",\n    \"last_updated_by_user_id\": \"3\",\n    \"updated_at\": \"2023-07-10T16:15:38.000000Z\",\n    \"created_at\": \"2023-07-10T16:15:38.000000Z\",\n    \"id\": 3\n}"}],"_postman_id":"f7803554-e195-4d3c-ad5d-8b137dd6a1cd"},{"name":"Update activity","id":"a1ecfaf8-e4b3-451e-9347-df1f84ca91c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"note\":\"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/activities/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","activities","3"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"0b9a0496-b6f4-4b9f-b41a-b35e62df9742","name":"Update activity","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"note\":\"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/activities/3"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:17:01 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:17:01 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"date\": \"2023-01-01 00:00:00\",\n    \"only_date\": \"2023-01-01\",\n    \"only_time\": \"00:00:00\",\n    \"description\": \"descripción de muestra\",\n    \"completed\": 1,\n    \"client_id\": 1,\n    \"lead_id\": null,\n    \"contact_id\": 1,\n    \"activity_type_id\": 1,\n    \"user_id\": 3,\n    \"result\": \"todo ok\",\n    \"created_by_user_id\": 3,\n    \"last_updated_by_user_id\": 3,\n    \"created_at\": \"2023-07-10T16:15:38.000000Z\",\n    \"updated_at\": \"2023-07-10T16:15:38.000000Z\"\n}"}],"_postman_id":"a1ecfaf8-e4b3-451e-9347-df1f84ca91c7"},{"name":"Get activities list","id":"c9cc1866-1d55-4ef3-9aa1-c82d7ee1838b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activities","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","activities"],"host":["{{app_url}}"],"query":[{"disabled":true,"description":{"content":"<p>exact value</p>\n","type":"text/plain"},"key":"filter[client_id]","value":"1"},{"disabled":true,"description":{"content":"<p>exact value</p>\n","type":"text/plain"},"key":"filter[contact_id]","value":"1"},{"disabled":true,"description":{"content":"<p>exact value</p>\n","type":"text/plain"},"key":"filter[activity_type_id]","value":"1"},{"disabled":true,"description":{"content":"<p>date value</p>\n","type":"text/plain"},"key":"filter[date_between]","value":"2023-01-01,2023-12-12"},{"disabled":true,"description":{"content":"<p>partial value</p>\n","type":"text/plain"},"key":"filter[description]","value":"descripción de prueba"},{"disabled":true,"description":{"content":"<p>exact boolean</p>\n","type":"text/plain"},"key":"filter[completed]","value":"0"},{"disabled":true,"description":{"content":"<p>exact value</p>\n","type":"text/plain"},"key":"filter[user_id]","value":"1"},{"disabled":true,"description":{"content":"<p>exact value</p>\n","type":"text/plain"},"key":"filter[lead_id]","value":"1"},{"disabled":true,"description":{"content":"<p>partial value</p>\n","type":"text/plain"},"key":"filter[result]","value":"texto del resultado de la actividad"},{"disabled":true,"description":{"content":"<p>exact value</p>\n","type":"text/plain"},"key":"filter[created_by_user_id]","value":"1"},{"disabled":true,"description":{"content":"<p>exact value</p>\n","type":"text/plain"},"key":"filter[last_updated_by_user_id]","value":"1"},{"disabled":true,"description":{"content":"<p>date value</p>\n","type":"text/plain"},"key":"filter[created_between]","value":"2023-01-01,2023-12-12"},{"disabled":true,"description":{"content":"<p>date value</p>\n","type":"text/plain"},"key":"filter[updated_between]","value":"2023-01-01,2023-12-12"}],"variable":[]}},"response":[{"id":"2f47d068-1847-4810-b6ba-71ce54183bf8","name":"Get activities list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":{"raw":"{{app_url}}/api/v1/activities","host":["{{app_url}}"],"path":["api","v1","activities"],"query":[{"key":"filter[client_id]","value":"1","description":"exact value","disabled":true},{"key":"filter[contact_id]","value":"1","description":"exact value","disabled":true},{"key":"filter[activity_type_id]","value":"1","description":"exact value","disabled":true},{"key":"filter[date_between]","value":"2023-01-01,2023-12-12","description":"date value","disabled":true},{"key":"filter[description]","value":"descripción de prueba","description":"partial value","disabled":true},{"key":"filter[completed]","value":"0","description":"exact boolean","disabled":true},{"key":"filter[user_id]","value":"1","description":"exact value","disabled":true},{"key":"filter[lead_id]","value":"1","description":"exact value","disabled":true},{"key":"filter[result]","value":"texto del resultado de la actividad","description":"partial value","disabled":true},{"key":"filter[created_by_user_id]","value":"1","description":"exact value","disabled":true},{"key":"filter[last_updated_by_user_id]","value":"1","description":"exact value","disabled":true},{"key":"filter[created_between]","value":"2023-01-01,2023-12-12","description":"date value","disabled":true},{"key":"filter[updated_between]","value":"2023-01-01,2023-12-12","description":"date value","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:17:26 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:17:26 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 3,\n            \"date\": \"2023-01-01 00:00:00\",\n            \"only_date\": \"2023-01-01\",\n            \"only_time\": \"00:00:00\",\n            \"description\": \"descripción de muestra\",\n            \"completed\": 1,\n            \"client_id\": 1,\n            \"lead_id\": null,\n            \"contact_id\": 1,\n            \"activity_type_id\": 1,\n            \"user_id\": 3,\n            \"result\": \"todo ok\",\n            \"created_by_user_id\": 3,\n            \"last_updated_by_user_id\": 3,\n            \"created_at\": \"2023-07-10T16:15:38.000000Z\",\n            \"updated_at\": \"2023-07-10T16:15:38.000000Z\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/activities?page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/activities?page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/activities?page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/activities\",\n        \"per_page\": 15,\n        \"to\": 1,\n        \"total\": 1\n    }\n}"}],"_postman_id":"c9cc1866-1d55-4ef3-9aa1-c82d7ee1838b"},{"name":"Get activity by id","id":"e5ef16df-2fb0-46c6-98c5-ecee0245a12a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activities/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","activities","3"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"3b5ca654-9911-4ed5-bd6e-be3cbb19c221","name":"Get activity by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activities/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:17:44 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:17:44 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"53"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"date\": \"2023-01-01 00:00:00\",\n        \"only_date\": \"2023-01-01\",\n        \"only_time\": \"00:00:00\",\n        \"description\": \"descripción de muestra\",\n        \"completed\": 1,\n        \"client_id\": 1,\n        \"lead_id\": null,\n        \"contact_id\": 1,\n        \"activity_type_id\": 1,\n        \"user_id\": 3,\n        \"result\": \"todo ok\",\n        \"created_by_user_id\": 3,\n        \"last_updated_by_user_id\": 3,\n        \"created_at\": \"2023-07-10T16:15:38.000000Z\",\n        \"updated_at\": \"2023-07-10T16:15:38.000000Z\"\n    }\n}"}],"_postman_id":"e5ef16df-2fb0-46c6-98c5-ecee0245a12a"},{"name":"Delete activity","id":"b9de78a6-fe37-4c29-be83-975bc07e99d5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activities/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","activities","3"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"6462d26c-d040-4631-aec6-dafa538ee456","name":"Delete activity","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activities/3"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 16:18:10 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 16:18:10 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b9de78a6-fe37-4c29-be83-975bc07e99d5"}],"id":"42afc244-85e2-4edd-be75-d7d34f8d2cf9","_postman_id":"42afc244-85e2-4edd-be75-d7d34f8d2cf9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"activity_types","item":[{"name":"Get activity types list","id":"49bb49da-f62f-4b7f-8ec8-d3212ff3571c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activity_types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","activity_types"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"464ea5a8-1540-4bbb-a41e-2804a360c86f","name":"Get activity types list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activity_types"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 20:49:27 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 20:49:27 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"type\": \"Llamada\",\n        \"color\": \"#000\",\n        \"created_at\": \"2023-07-06T22:28:23.000000Z\",\n        \"updated_at\": \"2023-07-06T22:28:23.000000Z\"\n    },\n    {\n        \"id\": 2,\n        \"type\": \"Visita\",\n        \"color\": \"#000\",\n        \"created_at\": \"2023-07-06T22:28:23.000000Z\",\n        \"updated_at\": \"2023-07-06T22:28:23.000000Z\"\n    },\n    {\n        \"id\": 3,\n        \"type\": \"Demostración\",\n        \"color\": \"#000\",\n        \"created_at\": \"2023-07-06T22:28:23.000000Z\",\n        \"updated_at\": \"2023-07-06T22:28:23.000000Z\"\n    },\n    {\n        \"id\": 4,\n        \"type\": \"Seguimiento\",\n        \"color\": \"#000\",\n        \"created_at\": \"2023-07-06T22:28:23.000000Z\",\n        \"updated_at\": \"2023-07-06T22:28:23.000000Z\"\n    },\n    {\n        \"id\": 5,\n        \"type\": \"Correo Electrónico\",\n        \"color\": \"#000\",\n        \"created_at\": \"2023-07-06T22:28:23.000000Z\",\n        \"updated_at\": \"2023-07-06T22:28:23.000000Z\"\n    }\n]"}],"_postman_id":"49bb49da-f62f-4b7f-8ec8-d3212ff3571c"},{"name":"Create activity type","id":"3e251c96-71e4-4899-8ce2-a4a76e924d32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"type","value":"Videollamada","type":"text","description":"<p>tipo de actividad</p>\n"},{"key":"color","value":"#000","type":"text","description":"<p>rgb color</p>\n"}]},"url":"{{app_url}}/api/v1/activity_types","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","activity_types"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"6844e294-c3ab-47a5-b8d5-7f385bdd9e1f","name":"Create activity type","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"type","value":"Videollamada","type":"text","description":"tipo de actividad"},{"key":"color","value":"#000","type":"text","description":"rgb color"}]},"url":"{{app_url}}/api/v1/activity_types"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 20:49:52 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 20:49:52 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"type\": \"Videollamada\",\n    \"color\": \"#000\",\n    \"updated_at\": \"2023-07-10T20:49:52.000000Z\",\n    \"created_at\": \"2023-07-10T20:49:52.000000Z\",\n    \"id\": 6\n}"}],"_postman_id":"3e251c96-71e4-4899-8ce2-a4a76e924d32"},{"name":"Update activity type","id":"c8763caf-9aad-4162-8b94-743776fae805","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"color\": \"#fff\"\n}","options":{"raw":{"language":"json"}}},"url":"{{app_url}}/api/v1/activity_types/6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","activity_types","6"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"fb59dd43-93fa-410e-9965-0f2beebb8975","name":"Update activity type","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"color\": \"#fff\"\n}","options":{"raw":{"language":"json"}}},"url":"{{app_url}}/api/v1/activity_types/6"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 20:50:16 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 20:50:16 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"type\": \"Videollamada\",\n    \"color\": \"#fff\",\n    \"created_at\": \"2023-07-10T20:49:52.000000Z\",\n    \"updated_at\": \"2023-07-10T20:50:16.000000Z\"\n}"}],"_postman_id":"c8763caf-9aad-4162-8b94-743776fae805"},{"name":"Get activity type by id","id":"750d54f5-9dec-4e2c-872d-1761fb4cde8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activity_types/6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","activity_types","6"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"2072eec7-d28c-49ec-ad5c-44c4fbb6e500","name":"Get activity type by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activity_types/6"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 20:50:35 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 20:50:35 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"type\": \"Videollamada\",\n    \"color\": \"#fff\",\n    \"created_at\": \"2023-07-10T20:49:52.000000Z\",\n    \"updated_at\": \"2023-07-10T20:50:16.000000Z\"\n}"}],"_postman_id":"750d54f5-9dec-4e2c-872d-1761fb4cde8d"},{"name":"Delete activity type","id":"b67b65c8-850a-4b6d-9f92-50981951426c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activity_types/6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","activity_types","6"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"becfc9b1-5199-4bc1-bf50-7b9e7fc5d22e","name":"Delete activity type","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"Alan","type":"text","disabled":true}]},"url":"{{app_url}}/api/v1/activity_types/6"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 20:50:49 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 20:50:49 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b67b65c8-850a-4b6d-9f92-50981951426c"}],"id":"c82bf719-0bd9-49c0-9053-8ccac84bdb60","_postman_id":"c82bf719-0bd9-49c0-9053-8ccac84bdb60","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"clients","item":[{"name":"Get clients list","id":"a252425c-3f5a-4e0d-9d7d-b06dd7a616ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/clients","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","clients"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"d16096f3-80ab-4dca-9e18-1b762fe0283e","name":"Get users list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/users?filter[name]=a","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","users"],"query":[{"key":"filter[name]","value":"a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"Angel\",\n            \"email\": \"angel@angel.com\",\n            \"role\": \"Vendedor\"\n        },\n        {\n            \"name\": \"Alan\",\n            \"email\": \"halan@alan.com\",\n            \"role\": \"Administrador\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/users\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"a252425c-3f5a-4e0d-9d7d-b06dd7a616ce"},{"name":"Get client by id","id":"62717b69-8d58-4bb4-b393-60f01035fe92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/clients/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","clients","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"9a978f0b-d04d-4b9b-aa74-655536912d62","name":"Get user by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/users/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Alan\",\n        \"email\": \"halan@alan.com\",\n        \"role\": \"Administrador\"\n    }\n}"}],"_postman_id":"62717b69-8d58-4bb4-b393-60f01035fe92"},{"name":"Create client","id":"e2458629-d701-4c33-96b2-a363bd93442c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Uno Negocios","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text"},{"key":"creted_by_user","value":"1","type":"text"},{"key":"last_updated_by","value":"1","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/clients","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","clients"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"133ed3d4-e133-42b3-9bc8-2bdcd540bfd2","name":"Create user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text"},{"key":"email","value":"joel@joel.com","type":"text"},{"key":"role","value":"Vendedor","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text","disabled":true},{"key":"terms","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"e2458629-d701-4c33-96b2-a363bd93442c"},{"name":"Update client","id":"7aec0dec-c1b1-41bc-82ca-b34ae109cb74","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Uno Negocios","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text"},{"key":"creted_by_user","value":"1","type":"text"},{"key":"last_updated_by","value":"1","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/clients/9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","clients","9"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"8dd03204-1017-4792-9b04-5eddb16325da","name":"Create user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text"},{"key":"email","value":"joel@joel.com","type":"text"},{"key":"role","value":"Vendedor","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text","disabled":true},{"key":"terms","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7aec0dec-c1b1-41bc-82ca-b34ae109cb74"},{"name":"Delete clients","id":"86ead847-1678-408f-b223-86aea5b6f4d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/clients/9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","clients","9"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"dcb86370-d8b1-4aed-b206-27f81456fdd8","name":"Create user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text"},{"key":"email","value":"joel@joel.com","type":"text"},{"key":"role","value":"Vendedor","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text","disabled":true},{"key":"terms","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"86ead847-1678-408f-b223-86aea5b6f4d3"}],"id":"95838214-4023-4f85-b0c2-ffcb9964d4d1","_postman_id":"95838214-4023-4f85-b0c2-ffcb9964d4d1","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"contacts","item":[{"name":"Get contacts list","id":"a0bafb33-8db7-4602-9773-34c492638e9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/contacts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","contacts"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"58f0d2c7-9021-41ec-ae4b-2e243d2ea3cf","name":"Get users list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/users?filter[name]=a","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","users"],"query":[{"key":"filter[name]","value":"a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"Angel\",\n            \"email\": \"angel@angel.com\",\n            \"role\": \"Vendedor\"\n        },\n        {\n            \"name\": \"Alan\",\n            \"email\": \"halan@alan.com\",\n            \"role\": \"Administrador\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/users\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"a0bafb33-8db7-4602-9773-34c492638e9e"},{"name":"Get contact by id","id":"9d132a73-7feb-4038-9753-7a5caecc8c1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/contacts/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","contacts","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"93e79ed2-d34f-47c7-9666-e8f7379ed37e","name":"Get user by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/users/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Alan\",\n        \"email\": \"halan@alan.com\",\n        \"role\": \"Administrador\"\n    }\n}"}],"_postman_id":"9d132a73-7feb-4038-9753-7a5caecc8c1d"},{"name":"Create contact","id":"b04b4fda-ab01-4512-8bd5-5793d3553e8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/contacts","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","contacts"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"5e6ce9e3-446a-48f5-970f-0eab06ec3bca","name":"Create user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text"},{"key":"email","value":"joel@joel.com","type":"text"},{"key":"role","value":"Vendedor","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text","disabled":true},{"key":"terms","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b04b4fda-ab01-4512-8bd5-5793d3553e8a"},{"name":"Update contact","id":"57a27544-f808-459c-a2d9-073ab6b41b24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/contacts/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","contacts","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"9015488e-df4b-4936-89bd-d0f0212bc4a8","name":"Create user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text"},{"key":"email","value":"joel@joel.com","type":"text"},{"key":"role","value":"Vendedor","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text","disabled":true},{"key":"terms","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"57a27544-f808-459c-a2d9-073ab6b41b24"},{"name":"Delete contact","id":"2a845183-8283-419c-b56c-e5883000d157","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/contacts/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","contacts","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1f4cd23d-1944-4a10-adf9-7a18164942e5","name":"Create user","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Joel","type":"text"},{"key":"email","value":"joel@joel.com","type":"text"},{"key":"role","value":"Vendedor","type":"text"},{"key":"password_confirmation","value":"Unonegocios12345%","type":"text","disabled":true},{"key":"terms","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/users"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:48 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2a845183-8283-419c-b56c-e5883000d157"}],"id":"a9267f33-83ed-4673-af51-dc95c98ddaed","_postman_id":"a9267f33-83ed-4673-af51-dc95c98ddaed","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"conversations","item":[{"name":"Get conversations list","id":"dea5ef8d-e9e9-4c22-a4b4-cd477ffdaa15","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/conversations","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","conversations"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"8cb3bfae-5996-4fdc-854c-7f6ee43c331b","name":"Get users list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/users?filter[name]=a","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","users"],"query":[{"key":"filter[name]","value":"a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"Angel\",\n            \"email\": \"angel@angel.com\",\n            \"role\": \"Vendedor\"\n        },\n        {\n            \"name\": \"Alan\",\n            \"email\": \"halan@alan.com\",\n            \"role\": \"Administrador\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/users\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"dea5ef8d-e9e9-4c22-a4b4-cd477ffdaa15"},{"name":"Get conversation by id","id":"757f808d-1a48-42b8-9afa-de8fefa2b948","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/conversations/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","conversations","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"8ae1b3bd-31e9-4b65-8877-39bbf79fde82","name":"Get user by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/users/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Alan\",\n        \"email\": \"halan@alan.com\",\n        \"role\": \"Administrador\"\n    }\n}"}],"_postman_id":"757f808d-1a48-42b8-9afa-de8fefa2b948"},{"name":"Mark messages as read","id":"387292cd-4d26-41d3-9795-c14bf3ea40e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"conversation_id","value":"1","type":"text"},{"key":"user_id","value":"1","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/conversation/mark_messages_as_read","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","conversation","mark_messages_as_read"],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"387292cd-4d26-41d3-9795-c14bf3ea40e9"},{"name":"Send first interaction message","id":"ee146b46-4a3a-42e3-9626-80f5e0a84262","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"conversation_id","value":"1","type":"text"},{"key":"user_id","value":"1","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/conversation/agent-first-interaction","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","conversation","agent-first-interaction"],"host":["127","0","0","1"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[],"_postman_id":"ee146b46-4a3a-42e3-9626-80f5e0a84262"}],"id":"e87a28d9-1d7f-4c43-b64e-def66c9b65a4","_postman_id":"e87a28d9-1d7f-4c43-b64e-def66c9b65a4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"messages","item":[{"name":"Get messages list","id":"759bdda5-86dd-425f-8273-48d9387d7cfb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/messages","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","messages"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"c982d153-19fe-44fc-855d-87a7a6c1c3b0","name":"Get users list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/users?filter[name]=a","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","users"],"query":[{"key":"filter[name]","value":"a"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:26:49 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"name\": \"Angel\",\n            \"email\": \"angel@angel.com\",\n            \"role\": \"Vendedor\"\n        },\n        {\n            \"name\": \"Alan\",\n            \"email\": \"halan@alan.com\",\n            \"role\": \"Administrador\"\n        }\n    ],\n    \"links\": {\n        \"first\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"last\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n        \"prev\": null,\n        \"next\": null\n    },\n    \"meta\": {\n        \"current_page\": 1,\n        \"from\": 1,\n        \"last_page\": 1,\n        \"links\": [\n            {\n                \"url\": null,\n                \"label\": \"&laquo; Previous\",\n                \"active\": false\n            },\n            {\n                \"url\": \"http://127.0.0.1:8000/api/v1/users?filter%5Bname%5D=a&page=1\",\n                \"label\": \"1\",\n                \"active\": true\n            },\n            {\n                \"url\": null,\n                \"label\": \"Next &raquo;\",\n                \"active\": false\n            }\n        ],\n        \"path\": \"http://127.0.0.1:8000/api/v1/users\",\n        \"per_page\": 15,\n        \"to\": 2,\n        \"total\": 2\n    }\n}"}],"_postman_id":"759bdda5-86dd-425f-8273-48d9387d7cfb"},{"name":"Get message by id","id":"005dbbd2-e5c9-4513-b8a3-60cc450bc1d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/messages/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","messages","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"0b2962b0-3b4d-4ae5-9548-c9f5b819ded7","name":"Get user by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"{{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/users/24"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Date","value":"Wed, 03 May 2023 23:28:31 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.18"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Alan\",\n        \"email\": \"halan@alan.com\",\n        \"role\": \"Administrador\"\n    }\n}"}],"_postman_id":"005dbbd2-e5c9-4513-b8a3-60cc450bc1d0"},{"name":"MessageStatuses","id":"7e516b02-74d3-4643-abaf-e54b0a9d631d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"code","value":"\"REJECTED\" \"SENT\" \"DELIVERED\" \"NOT_DELIVERED\" \"READ\" \"DELETED\" \"CLICKED\" \"VERIFIED\"","type":"text"}]},"url":"","description":"<p>codes for message status are:</p>\n<ul>\n<li>\"REJECTED\"</li>\n<li>\"SENT\"</li>\n<li>\"DELIVERED\"</li>\n<li>\"NOT_DELIVERED\"</li>\n<li>\"READ\"</li>\n<li>\"DELETED\"</li>\n<li>\"CLICKED\"</li>\n<li>\"VERIFIED\"</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"query":[],"variable":[]}},"response":[],"_postman_id":"7e516b02-74d3-4643-abaf-e54b0a9d631d"},{"name":"Mark message as read","id":"ef21b49e-7460-4ada-a224-24cd02a52473","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"message_id","value":"7f5f8289-83fc-4023-a240-e5f77803f6f3","type":"text"},{"key":"user_id","value":"1","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/message/mark_as_read","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","message","mark_as_read"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef21b49e-7460-4ada-a224-24cd02a52473"}],"id":"1d1c45b1-2485-4cff-99e5-1b9bfb66ffda","_postman_id":"1d1c45b1-2485-4cff-99e5-1b9bfb66ffda","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"funnels","item":[{"name":"Get funnels list","id":"8d6d3fcf-67fb-4ef7-9ef4-987d41709131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnels","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnels"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"7158d1c5-9c14-4480-a16d-ad595c3af6fc","name":"Get funnels list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/funnels","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","funnels"],"query":[{"key":"filter[name]","value":"","description":"filters name attribute for users","disabled":true},{"key":"filter[email]","value":"","description":"filters email attribute for users","type":"text","disabled":true},{"key":"filter[role]","value":"","description":"filters role for users, multiples roles should be passed ussing a comma","type":"text","disabled":true},{"key":"filter[created_between]","value":"","description":"filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:50:39 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:50:39 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"52"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Prospectos\",\n            \"description\": null,\n            \"color\": null\n        }\n    ]\n}"}],"_postman_id":"8d6d3fcf-67fb-4ef7-9ef4-987d41709131"},{"name":"Get funnel by id","id":"3c62a190-2f28-407f-abe2-649791232096","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnels/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnels","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"1156b0f4-3a46-4e58-931f-bb6e682de684","name":"Get funnel by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnels/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:50:58 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:50:58 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"51"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Prospectos\",\n        \"description\": null,\n        \"color\": null\n    }\n}"}],"_postman_id":"3c62a190-2f28-407f-abe2-649791232096"},{"name":"Create funnel","id":"94cef9c6-6c05-4078-8ca1-317a5c8ea10a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Prospectos","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text","disabled":true},{"key":"creted_by_user","value":"1","type":"text","disabled":true},{"key":"last_updated_by","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/funnels","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnels"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"11abd9f6-ac13-4b39-b83d-e31729f869b5","name":"Create funnel","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Prospectos","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text","disabled":true},{"key":"creted_by_user","value":"1","type":"text","disabled":true},{"key":"last_updated_by","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/funnels"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:50:28 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:50:28 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"53"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"94cef9c6-6c05-4078-8ca1-317a5c8ea10a"},{"name":"Update funnel","id":"a125f502-bbd0-4324-a953-9d1cbf34dfea","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\":\"Clientes\"}"},"url":"http://127.0.0.1:8000/api/v1/funnels/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnels","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"09ed9397-eceb-4696-adbf-dacba07f62ec","name":"Update funnel","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\"name\":\"Clientes\"}"},"url":"http://127.0.0.1:8000/api/v1/funnels/1"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:51:24 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:51:24 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"a125f502-bbd0-4324-a953-9d1cbf34dfea"},{"name":"Delete funnel","id":"9f21767f-f36b-4da3-9c86-0be9d3294efb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnels/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnels","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"173c366b-2172-4752-b2e9-64be9e697083","name":"Delete funnel","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnels/1"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:51:34 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:51:34 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9f21767f-f36b-4da3-9c86-0be9d3294efb"}],"id":"93c1442a-57de-47c4-8663-b9b5984acab6","_postman_id":"93c1442a-57de-47c4-8663-b9b5984acab6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"funnel_phases","item":[{"name":"Get funnel phases list","id":"85976018-4cc4-4d11-94b2-cbc18108925e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnel_phases","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnel_phases"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"998d5980-6fda-4aa4-92e2-f038242a66a1","name":"Get funnel phases list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/funnel_phases","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","funnel_phases"],"query":[{"key":"filter[name]","value":"","description":"filters name attribute for users","disabled":true},{"key":"filter[email]","value":"","description":"filters email attribute for users","type":"text","disabled":true},{"key":"filter[role]","value":"","description":"filters role for users, multiples roles should be passed ussing a comma","type":"text","disabled":true},{"key":"filter[created_between]","value":"","description":"filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:53:34 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:53:34 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"test\",\n        \"description\": \"test\",\n        \"time\": null,\n        \"order\": null,\n        \"days\": null,\n        \"funnel_id\": null,\n        \"created_at\": null,\n        \"updated_at\": null\n    }\n]"}],"_postman_id":"85976018-4cc4-4d11-94b2-cbc18108925e"},{"name":"Get funnel phase by id","id":"3ed1f450-803c-4fc2-8bc7-453aecf6f6e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnel_phases/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnel_phases","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"64cdb30a-5b87-4ccb-beaf-e2987f851dd7","name":"Get funnel phase by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnel_phases/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:54:00 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:54:00 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": \"1\",\n        \"name\": \"test\",\n        \"description\": \"test\",\n        \"order\": null,\n        \"time\": null,\n        \"days\": null,\n        \"funnel\": null,\n        \"type\": null\n    }\n}"}],"_postman_id":"3ed1f450-803c-4fc2-8bc7-453aecf6f6e7"},{"name":"Create funnel phase","id":"ddf5eec8-9e56-4855-aa18-38fe0d097a2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Prospectos","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text","disabled":true},{"key":"creted_by_user","value":"1","type":"text","disabled":true},{"key":"last_updated_by","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/funnel_phases","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnel_phases"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"dbbff658-1963-415c-903c-09d76a4d3a3a","name":"Create funnel phase","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Prospectos","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text","disabled":true},{"key":"creted_by_user","value":"1","type":"text","disabled":true},{"key":"last_updated_by","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/funnel_phases"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:54:18 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:54:18 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"ddf5eec8-9e56-4855-aa18-38fe0d097a2b"},{"name":"Update funnel phase","id":"7c31f742-f154-4162-a1c5-4ab36edb6fd8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Atendidos\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/funnel_phases/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnel_phases","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"dc61f772-0d94-4a11-a76a-730d07fe9490","name":"Update funnel phase","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Atendidos\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/funnel_phases/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:54:27 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:54:27 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"55"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Atendidos\"\n}"}],"_postman_id":"7c31f742-f154-4162-a1c5-4ab36edb6fd8"},{"name":"Delete funnel phase","id":"c611c0ba-90d1-4b19-a2ed-f2639d8b584c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnel_phases/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","funnel_phases","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"4f2fcef0-5f00-42dd-b96e-17b670d1e888","name":"Delete funnel phase","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/funnel_phases/1"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:54:54 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:54:54 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"c611c0ba-90d1-4b19-a2ed-f2639d8b584c"}],"id":"a4f28cfd-1238-48e1-a20a-d5cc2525716f","_postman_id":"a4f28cfd-1238-48e1-a20a-d5cc2525716f","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"origins","item":[{"name":"Get origins list","id":"d966e636-12f0-4c62-8c21-e7074b4edc2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/origins","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","origins"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[{"id":"734ec9ad-41da-4f71-9c7d-b1020b8d149f","name":"Get origins list","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":{"raw":"http://127.0.0.1:8000/api/v1/origins","protocol":"http","host":["127","0","0","1"],"port":"8000","path":["api","v1","origins"],"query":[{"key":"filter[name]","value":"","description":"filters name attribute for users","disabled":true},{"key":"filter[email]","value":"","description":"filters email attribute for users","type":"text","disabled":true},{"key":"filter[role]","value":"","description":"filters role for users, multiples roles should be passed ussing a comma","type":"text","disabled":true},{"key":"filter[created_between]","value":"","description":"filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering","type":"text","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:55:30 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:55:30 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": 1,\n        \"name\": \"uno\",\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 2,\n        \"name\": \"dos\",\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 3,\n        \"name\": \"tres\",\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 4,\n        \"name\": \"cuatro\",\n        \"created_at\": null,\n        \"updated_at\": null\n    },\n    {\n        \"id\": 5,\n        \"name\": \"cinco\",\n        \"created_at\": null,\n        \"updated_at\": null\n    }\n]"}],"_postman_id":"d966e636-12f0-4c62-8c21-e7074b4edc2d"},{"name":"Get origin by id","id":"f7226a46-5071-4912-902a-e9c1a6128fb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/origins/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","origins","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"6125bd69-c9d4-4121-ac0a-39045a7d8007","name":"Get origin by id","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/origins/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:55:39 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:55:39 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"application/json"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 1,\n    \"name\": \"uno\",\n    \"created_at\": null,\n    \"updated_at\": null\n}"}],"_postman_id":"f7226a46-5071-4912-902a-e9c1a6128fb7"},{"name":"Create origin","id":"3b59c086-8dbf-4be2-b0fa-53e8f84b7d02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Referidos","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text","disabled":true},{"key":"creted_by_user","value":"1","type":"text","disabled":true},{"key":"last_updated_by","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/origins","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","origins"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"8ae741ad-1b39-4229-927e-5518246dd475","name":"Create origin","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Referidos","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text","disabled":true},{"key":"creted_by_user","value":"1","type":"text","disabled":true},{"key":"last_updated_by","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/origins"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:56:06 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:56:06 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"3b59c086-8dbf-4be2-b0fa-53e8f84b7d02"},{"name":"Update origin","id":"50fdc76f-be39-41bf-9fab-f42e44f2d6e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Recomendados\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/origins/2","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","origins","2"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"cc6d82a5-d7bd-4782-8ce5-fe0179aa88be","name":"Update origin","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Recomendados\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/origins/2"},"status":"Created","code":201,"_postman_previewlanguage":"html","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:56:13 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:56:13 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"50fdc76f-be39-41bf-9fab-f42e44f2d6e3"},{"name":"Delete origin","id":"9a52d7ee-ae39-4fa5-a0c3-a650a78739f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/origins/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","origins","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[{"id":"a5c447e3-247d-456f-b0ff-c44a5608e3fc","name":"Delete origin","originalRequest":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/origins/1"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Host","value":"127.0.0.1:8000"},{"key":"Date","value":"Mon, 10 Jul 2023 21:56:19 GMT"},{"key":"Date","value":"Mon, 10 Jul 2023 21:56:19 GMT"},{"key":"Connection","value":"close"},{"key":"X-Powered-By","value":"PHP/8.1.19"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9a52d7ee-ae39-4fa5-a0c3-a650a78739f0"}],"id":"a020cd19-3edc-43ef-9711-4e84f403d5b2","_postman_id":"a020cd19-3edc-43ef-9711-4e84f403d5b2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"notes","item":[{"name":"Get notes list","id":"6a9b6654-59f5-43db-b786-8c78eaebedd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"},{"warning":"This is a duplicate header and will be overridden by the Authorization header generated by Postman.","key":"Authorization","value":"Bearer {{access_token}}","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/notes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","notes"],"host":["127","0","0","1"],"query":[{"disabled":true,"description":{"content":"<p>filters name attribute for users</p>\n","type":"text/plain"},"key":"filter[name]","value":""},{"disabled":true,"description":{"content":"<p>filters email attribute for users</p>\n","type":"text/plain"},"key":"filter[email]","value":""},{"disabled":true,"description":{"content":"<p>filters role for users, multiples roles should be passed ussing a comma</p>\n","type":"text/plain"},"key":"filter[role]","value":""},{"disabled":true,"description":{"content":"<p>filters users created between a range of two dates, two arguments separated by a comma and using the format DD:MM:YYYY are expected when filtering</p>\n","type":"text/plain"},"key":"filter[created_between]","value":""}],"variable":[]}},"response":[],"_postman_id":"6a9b6654-59f5-43db-b786-8c78eaebedd3"},{"name":"Get note by id","id":"8618a041-2d22-4c52-bc4a-fc68db4d77dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"email","value":"alan@alan.com","type":"text"},{"key":"password","value":"Unonegocios12345%","type":"text"}]},"url":"http://127.0.0.1:8001/api/v1/notes/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8001","path":["api","v1","notes","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8618a041-2d22-4c52-bc4a-fc68db4d77dd"},{"name":"Create note","id":"f23968e8-4264-41db-86ee-ab6d5ef97ab1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"comment","value":"prueba","type":"text"},{"key":"funnel_phase_id","value":"1","type":"text","disabled":true},{"key":"creted_by_user","value":"1","type":"text","disabled":true},{"key":"last_updated_by","value":"1","type":"text","disabled":true}]},"url":"http://127.0.0.1:8000/api/v1/notes","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","notes"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"f23968e8-4264-41db-86ee-ab6d5ef97ab1"},{"name":"Update notes","id":"44ecb8a7-4504-4e79-8fa5-06a39199f124","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"comment\": \"test\"\n}","options":{"raw":{"language":"json"}}},"url":"http://127.0.0.1:8000/api/v1/notes/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","notes","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"44ecb8a7-4504-4e79-8fa5-06a39199f124"},{"name":"Delete note","id":"bd5c6a5d-b4e4-4058-992b-f18080ae0adb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"name","value":" Alan Silva","type":"text"}]},"url":"http://127.0.0.1:8000/api/v1/notes/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"http","port":"8000","path":["api","v1","notes","1"],"host":["127","0","0","1"],"query":[],"variable":[]}},"response":[],"_postman_id":"bd5c6a5d-b4e4-4058-992b-f18080ae0adb"}],"id":"daf44267-37ed-4a1c-b436-09dfbaa2417d","_postman_id":"daf44267-37ed-4a1c-b436-09dfbaa2417d","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"files","item":[{"name":"upload file","id":"19c0fb64-c5f7-436f-8bc1-aef6b2c0919d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/Users/alansilvareyna/Downloads/Q2FwdHVyYSBkZSBwYW50YWxsYSAyMDIzLTA1LTAzIGEgbGEocykgMTcuMTEuMzQucG5n.png"}]},"url":"{{app_url}}/api/v1/upload_file","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"path":["api","v1","upload_file"],"host":["{{app_url}}"],"query":[],"variable":[]}},"response":[{"id":"04a46f29-5098-4b9f-a1d2-55df3df49f74","name":"upload file","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"file","type":"file","src":"/Users/alansilvareyna/Downloads/Q2FwdHVyYSBkZSBwYW50YWxsYSAyMDIzLTA1LTAzIGEgbGEocykgMTcuMTEuMzQucG5n.png"}]},"url":"{{app_url}}/api/v1/upload_file"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 11 Aug 2023 16:32:52 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"file\": \"1691771572.png\",\n    \"extension\": \"png\",\n    \"fileName\": \"1691771572.png\"\n}"}],"_postman_id":"19c0fb64-c5f7-436f-8bc1-aef6b2c0919d"}],"id":"eef98946-ee0f-448a-923b-0a698cfcddcd","_postman_id":"eef98946-ee0f-448a-923b-0a698cfcddcd","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"roles","item":[{"name":"Sync permissions to role","id":"0136c2bc-960a-49ab-aacd-99ce1052c836","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":false},"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"permissions\": [1,2,3,4]\n}","options":{"raw":{"language":"json"}}},"url":"https://devp.unocrm.mx/api/v1/roles/1/sync_permissions","urlObject":{"protocol":"https","path":["api","v1","roles","1","sync_permissions"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"c525bae3-0a1d-4fbf-95ca-8adc3385a80d","name":"syncPermissions","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"permissions\": [1,2,3,4]\n}","options":{"raw":{"language":"json"}}},"url":"https://devp.unocrm.mx/api/v1/roles/1/sync_permissions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:10:55 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"Administrador\",\n        \"permissions\": [\n            \"viewLeads\",\n            \"editLeads\",\n            \"deleteLeads\",\n            \"createLeads\"\n        ]\n    }\n}"}],"_postman_id":"0136c2bc-960a-49ab-aacd-99ce1052c836"},{"name":"Create role","id":"cb333bf6-4b75-4f1b-8267-8049915967d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text"}]},"url":"https://devp.unocrm.mx/api/v1/roles","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","roles"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"fc6cfdfe-970b-40d7-b869-8acfd0e9208b","name":"Create role","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text"}]},"url":"https://devp.unocrm.mx/api/v1/roles"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:17:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"name\": \"Vendedor\",\n    \"permissions\": []\n}"}],"_postman_id":"cb333bf6-4b75-4f1b-8267-8049915967d3"},{"name":"Get role list","id":"2c832a01-5c5e-4bd6-b87a-4c2c559b6bb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text","disabled":true}]},"url":"https://devp.unocrm.mx/api/v1/roles","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","roles"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"428374f1-f6dc-4d05-ba47-59a931e20a1a","name":"Create role list","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text","disabled":true}]},"url":"https://devp.unocrm.mx/api/v1/roles"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:20:22 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"Administrador\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"Vendedor\"\n        }\n    ]\n}"}],"_postman_id":"2c832a01-5c5e-4bd6-b87a-4c2c559b6bb6"},{"name":"Get role by Id","id":"d7be820b-8c1d-4779-893b-ecdac792c7f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text","disabled":true}]},"url":"https://devp.unocrm.mx/api/v1/roles/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","roles","3"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"b9a49baa-33e7-4a55-8a79-3e0167653021","name":"Get role by id","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text","disabled":true}]},"url":"https://devp.unocrm.mx/api/v1/roles/3"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:21:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 3,\n        \"name\": \"Vendedor\",\n        \"permissions\": []\n    }\n}"}],"_postman_id":"d7be820b-8c1d-4779-893b-ecdac792c7f4"},{"name":"Delete role","id":"b17c2757-2996-4a3e-bead-fa6eec2122e5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://devp.unocrm.mx/api/v1/roles/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","roles","3"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"dd5ea87b-3f14-4d51-8ff3-b505738ae765","name":"Delete role","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://devp.unocrm.mx/api/v1/roles/3"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:22:09 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"b17c2757-2996-4a3e-bead-fa6eec2122e5"},{"name":"Update role","id":"5766e3ec-c5b0-47b0-bb8f-ce9458a2d148","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Vendedor\"\n}","options":{"raw":{"language":"json"}}},"url":"https://devp.unocrm.mx/api/v1/roles/3","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","roles","3"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"23d2c5cf-6b7c-4f56-a49d-8e515d28cb2d","name":"Update role","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"Vendedor\"\n}","options":{"raw":{"language":"json"}}},"url":"https://devp.unocrm.mx/api/v1/roles/3"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:19:26 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 3,\n    \"name\": \"Vendedor\",\n    \"permissions\": []\n}"}],"_postman_id":"5766e3ec-c5b0-47b0-bb8f-ce9458a2d148"}],"id":"a53691a9-30ed-437d-9025-f0a1b011bc61","_postman_id":"a53691a9-30ed-437d-9025-f0a1b011bc61","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}},{"name":"permissions","item":[{"name":"Get permisions list","id":"02dd934c-1365-45e7-9ecc-4dcb46b8db31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text","disabled":true}]},"url":"https://devp.unocrm.mx/api/v1/permissions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","permissions"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"fe2794c9-c568-411a-92f0-e61c1009b6c7","name":"Get role list Copy","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text","disabled":true}]},"url":"https://devp.unocrm.mx/api/v1/permissions"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:23:24 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": [\n        {\n            \"id\": 1,\n            \"name\": \"viewLeads\"\n        },\n        {\n            \"id\": 2,\n            \"name\": \"editLeads\"\n        },\n        {\n            \"id\": 3,\n            \"name\": \"deleteLeads\"\n        },\n        {\n            \"id\": 4,\n            \"name\": \"createLeads\"\n        }\n    ]\n}"}],"_postman_id":"02dd934c-1365-45e7-9ecc-4dcb46b8db31"},{"name":"Get permission by Id","id":"558285b8-783c-413d-8f00-f8f2cbb6938d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text","disabled":true}]},"url":"https://devp.unocrm.mx/api/v1/permissions/1","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","permissions","1"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"63042ac2-efaa-4c19-8bca-f8a9fcd22b9d","name":"Get permission by Id","originalRequest":{"method":"GET","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"Vendedor","type":"text","disabled":true}]},"url":"https://devp.unocrm.mx/api/v1/permissions/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:25:05 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 1,\n        \"name\": \"viewLeads\"\n    }\n}"}],"_postman_id":"558285b8-783c-413d-8f00-f8f2cbb6938d"},{"name":"Create permission","id":"55360a41-3a8a-4b25-831d-6385916a1c69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"viewActivities","type":"text"}]},"url":"https://devp.unocrm.mx/api/v1/permissions","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","permissions"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"5ce9d957-2775-407d-a01e-9a834afab263","name":"Create permission","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"name","value":"viewActivities","type":"text"}]},"url":"https://devp.unocrm.mx/api/v1/permissions"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:27:48 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 6,\n    \"name\": \"viewActivities\"\n}"}],"_postman_id":"55360a41-3a8a-4b25-831d-6385916a1c69"},{"name":"Update permission","id":"bd5e0bf0-f41c-4064-ad9e-ff5cc6613afd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"createLeads\"\n}","options":{"raw":{"language":"json"}}},"url":"https://devp.unocrm.mx/api/v1/permissions/4","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","permissions","4"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"001409f1-fbf6-4deb-b819-3f3bf54b9d03","name":"Update permission","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"createLeads\"\n}","options":{"raw":{"language":"json"}}},"url":"https://devp.unocrm.mx/api/v1/permissions/4"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:29:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 4,\n    \"name\": \"createLeads\"\n}"}],"_postman_id":"bd5e0bf0-f41c-4064-ad9e-ff5cc6613afd"},{"name":"Delete permission","id":"2f394aac-3ac2-4637-8222-1ab77d262618","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://devp.unocrm.mx/api/v1/permissions/6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}},"urlObject":{"protocol":"https","path":["api","v1","permissions","6"],"host":["devp","unocrm","mx"],"query":[],"variable":[]}},"response":[{"id":"12b604f8-b0ba-4425-82ed-04a8a64d762d","name":"Delete permission","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"formdata","formdata":[]},"url":"https://devp.unocrm.mx/api/v1/permissions/6"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Server","value":"nginx/1.25.1"},{"key":"Date","value":"Thu, 24 Aug 2023 18:30:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"X-Powered-By","value":"PHP/8.1.21"},{"key":"Cache-Control","value":"private, must-revalidate"},{"key":"pragma","value":"no-cache"},{"key":"expires","value":"-1"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Vary","value":"Authorization"}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"2f394aac-3ac2-4637-8222-1ab77d262618"}],"id":"769289c1-8d1a-40e0-a576-4aa505b23178","_postman_id":"769289c1-8d1a-40e0-a576-4aa505b23178","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]},"isInherited":true,"source":{"_postman_id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","id":"cd084e76-e302-4002-9b0d-a4fe866f5ddd","name":"unocrm-demo","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{access_token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"29ea80b2-8fbb-445c-85dd-b0dd3631c74a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"a33d3a35-93d3-4fd2-a555-7fde3ba31283","type":"text/javascript","exec":[""]}}]}