{"info":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","description":"<html><head></head><body><h2 id=\"introduction\">Introduction</h2>\n<p>This is the documentation for Autoklose Partner REST API. The requests and the responses are expected to be in JSON format.</p>\n<h2 id=\"usage\">Usage</h2>\n<p>Request a partner integration with Autoklose. Use a provided token as a URI parameter </p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code>api_token={{your_api_token}}\n</code></pre><p>Keep your API token safe.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"27198372","collectionId":"a5ed539a-b27c-49f4-9966-1cf54814e505","publishedId":"2sB34mje6s","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-07-23T15:46:11.000Z"},"item":[{"name":"Teams","item":[{"name":"Users","item":[{"name":"View the user information","id":"ba583bed-20e9-4ec2-80fc-32460393b931","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}","users","{{user}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ac2a889f-4729-4764-805c-ab92167274ff","name":"View the user information","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 12:07:12 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"147"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"team_id\": 456,\n        \"email\": \"johndoe@example.com\",\n        \"notification_email\": \"jackdoe@example.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"is_activated\": true,\n        \"use_data_unlimited\": false,\n        \"editor_premium_features_enabled\": false,\n        \"sending_schedule_enabled\": false,\n        \"credits\": 0,\n        \"api_token\": \"123abc\",\n        \"max_email_accounts\": 1,\n        \"max_emails_per_day\": 50\n    }\n}"}],"_postman_id":"ba583bed-20e9-4ec2-80fc-32460393b931"},{"name":"Create a new user","id":"5cc3bcf3-6d28-44cd-9c27-884b7832a568","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"Jane\",\n    \"last_name\": \"Doe\",\n    \"email\": \"janedoe@example.com\",\n    \"notification_email\": \"jannetdoe@example.com\",\n    \"plan_id\": 1,\n    \"max_email_accounts\": 10,\n    \"max_emails_per_day\": 50\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}","users"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ea2e3f1b-7a1e-4dbb-af02-6d16394193f4","name":"Add another user to the team","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Jane\",\n\t\"last_name\": \"Doe\",\n\t\"email\": \"janedoe@example.com\",\n    \"notification_email\": \"jannetdoe@example.com\",\n\t\"plan_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 12:00:02 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"148"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"team_id\": 456,\n        \"email\": \"janedoe@example.com\",\n        \"notification_email\": \"jannetdoe@example.com\",\n        \"first_name\": \"Jane\",\n        \"last_name\": \"Doe\",\n        \"is_activated\": true,\n        \"use_data_unlimited\": false,\n        \"editor_premium_features_enabled\": false,\n        \"sending_schedule_enabled\": false,\n        \"credits\": 0,\n        \"api_token\": \"123abc\",\n        \"max_email_accounts\": 1,\n        \"max_emails_per_day\": 50\n    }\n}"},{"id":"545b006d-8f54-453f-83fb-77a17a994222","name":"Add another user to the team and set max emails per day","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"first_name\": \"Jane\",\n\t\"last_name\": \"Doe\",\n\t\"email\": \"janedoe@example.com\",\n    \"notification_email\": \"jannetdoe@example.com\",\n\t\"plan_id\": 1,\n    \"max_emails_per_day\":2000\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 12:00:02 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"148"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"team_id\": 456,\n        \"email\": \"janedoe@example.com\",\n        \"notification_email\": \"jannetdoe@example.com\",\n        \"first_name\": \"Jane\",\n        \"last_name\": \"Doe\",\n        \"is_activated\": true,\n        \"use_data_unlimited\": false,\n        \"editor_premium_features_enabled\": false,\n        \"sending_schedule_enabled\": false,\n        \"credits\": 0,\n        \"api_token\": \"123abc\",\n        \"max_email_accounts\": 1,\n        \"max_emails_per_day\": 2000\n    }\n}"}],"_postman_id":"5cc3bcf3-6d28-44cd-9c27-884b7832a568"},{"name":"Move user to other partner team","id":"f02871ff-2f70-44a6-b1a6-171c2d29333e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"remove_contacts\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}/move/{{newTeam}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}","users","{{user}}","move","{{newTeam}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e24e2f96-9bd5-4155-9f55-9fc94aa33a92","name":"Move user to other partner team","originalRequest":{"method":"POST","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\r\n    \"remove_contacts\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}/move/{{newTeam}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json","description":""},{"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, 05 Sep 2025 14:15:07 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"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    \"message\": \"User has been successfully moved.\"\n}"}],"_postman_id":"f02871ff-2f70-44a6-b1a6-171c2d29333e"},{"name":"Update the user","id":"6f737818-bd8a-446f-94a2-4a8d888b1045","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Accept","type":"text","value":"application/json"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"first_name\": \"John\",\n    \"last_name\": \"Doe\",\n    \"email\": \"johndoe@example.com\",\n    \"notification_email\": \"jamesdoe@example.com\",\n    \"is_activated\": true,\n    \"plan_id\": 1,\n    \"max_email_accounts\": 1,\n    \"max_emails_per_day\": 50\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}","users","{{user}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"f6bbad36-a5b6-4b7b-823e-c374ec49b1c1","name":"Activate the user","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"is_activated\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:30:29 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"148"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"team_id\": 456,\n        \"email\": \"johndoe@example.com\",\n        \"notification_email\": \"jamesdoe@example.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"is_activated\": true,\n        \"use_data_unlimited\": false,\n        \"editor_premium_features_enabled\": false,\n        \"sending_schedule_enabled\": false,\n        \"credits\": 0,\n        \"api_token\": \"123abc\",\n        \"max_email_accounts\": 1,\n        \"max_emails_per_day\": 50\n    }\n}"},{"id":"804d5b6b-49b5-4f81-9735-bda0fd41a6f2","name":"Deactivate the user","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"is_activated\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:21:36 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"149"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"team_id\": 456,\n        \"email\": \"johndoe@example.com\",\n        \"notification_email\": \"jamesdoe@example.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"is_activated\": false,\n        \"use_data_unlimited\": false,\n        \"editor_premium_features_enabled\": false,\n        \"sending_schedule_enabled\": false,\n        \"credits\": 0,\n        \"api_token\": \"123abc\",\n        \"max_email_accounts\": 1,\n        \"max_emails_per_day\": 50\n    }\n}"},{"id":"d1ccba85-7574-4679-ad3a-ee55913eb322","name":"Upgrade to data unlimited","originalRequest":{"method":"PATCH","header":[{"key":"Accept","value":"application/json"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"plan_id\": 2\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Content-Type","value":"application/json","description":""},{"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, 31 Oct 2025 08:39:21 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"frame-ancestors ak.vanillasoft.org http://ak.vanillasoft.org https://ak.vanillasoft.org"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"team_id\": 456,\n        \"email\": \"johndoe@example.com\",\n        \"notification_email\": \"jamesdoe@example.com\",\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"is_activated\": true,\n        \"use_data_unlimited\": true,\n        \"editor_premium_features_enabled\": false,\n        \"sending_schedule_enabled\": false,\n        \"credits\": 0,\n        \"api_token\": \"123abc\",\n        \"max_email_accounts\": 1,\n        \"max_emails_per_day\": 50\n    }\n}"}],"_postman_id":"6f737818-bd8a-446f-94a2-4a8d888b1045"},{"name":"Delete the user","id":"ac7120de-ca85-4938-bcea-e5de6cb808e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}","users","{{user}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"e10eb58a-62ed-4f4f-80e9-e025fb7e3892","name":"The user and the team gets deleted","originalRequest":{"method":"DELETE","header":[{"key":"Accept","type":"text","value":"application/json"}],"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:53:13 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"53"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"User and team are successfully deleted.\"\n}"}],"_postman_id":"ac7120de-ca85-4938-bcea-e5de6cb808e6"},{"name":"Obtain a login link","id":"188a22cb-5241-47de-801e-ba527ae34391","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}/login-link","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}","users","{{user}}","login-link"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"72201c88-0dd3-4ada-bce9-b5751e839426","name":"Obtain a login link","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}/login-link"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:30:49 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"88"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"url\": \"http://autoklose.test/login-link?token=NvwFhnYl9vnLik4S3n288VrWhTkR2elt9x0u\"\n}"},{"id":"5590abde-0bf2-4a91-81e4-5a4bdd5ff6d6","name":"The user is inactive","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/teams/{{team}}/users/{{user}}/login-link"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:24:18 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"42"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"This action is unauthorized.\"\n}"}],"_postman_id":"188a22cb-5241-47de-801e-ba527ae34391"}],"id":"ed7d4960-411a-47b2-9b4c-00676a4c7ac3","description":"<p>A general endpoint for manipulating the users within the specified team.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"417a72c7-2889-473a-baae-1fcaaf6d9a08"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"e3c13023-3233-4327-a186-1d4e0fd9152c"}}],"_postman_id":"ed7d4960-411a-47b2-9b4c-00676a4c7ac3","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}}},{"name":"View the team information","id":"253b8b0d-f113-482e-90e6-c535dfe61788","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/teams/{{team}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}"],"host":["{{url}}"],"query":[{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"a6049133-d5db-490e-b16f-d3c122246689","name":"View the team information","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{url}}/partner-api/teams/{{team}}","host":["{{url}}"],"path":["partner-api","teams","{{team}}"],"query":[{"key":"","value":"","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 12:01:51 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"378"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"name\": \"Example Team\",\n        \"has_active_subscription\": true,\n        \"is_trial\": false,\n        \"users\": [\n            {\n                \"id\": 1234,\n                \"team_id\": 123,\n                \"email\": \"JohnDoe@example.com\",\n                \"notification_email\": \"jackdoe@example.com\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"123abc\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            },\n            {\n                \"id\": 5678,\n                \"team_id\": 123,\n                \"email\": \"JaneDoe@example.com\",\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"456def\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            }\n        ],\n        \"max_email_accounts\": 1,\n        \"vs_base_url\": \"https://www.example.com\",\n        \"partner_root_team_id\": 123,\n        \"use_ai_recognition\": true\n    }\n}"}],"_postman_id":"253b8b0d-f113-482e-90e6-c535dfe61788"},{"name":"Search for a specific team","id":"38059a71-675f-4df2-a6da-1577c1a2ed52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/partner-api/teams?name=Example Team","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams"],"host":["{{url}}"],"query":[{"key":"name","value":"Example Team"}],"variable":[]}},"response":[{"id":"f9d9148f-981b-42d2-8b2a-a9771c43c0fc","name":"Search for a specific team","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":{"raw":"{{url}}/partner-api/teams?name=Example Team","host":["{{url}}"],"path":["partner-api","teams"],"query":[{"key":"name","value":"Example Team"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 12:01:51 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"378"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 123,\n        \"name\": \"Example Team\",\n        \"has_active_subscription\": true,\n        \"is_trial\": false,\n        \"users\": [\n            {\n                \"id\": 1234,\n                \"team_id\": 123,\n                \"email\": \"JohnDoe@example.com\",\n                \"notification_email\": \"jackdoe@example.com\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"123abc\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            },\n            {\n                \"id\": 5678,\n                \"team_id\": 123,\n                \"email\": \"JaneDoe@example.com\",\n                \"first_name\": \"Jane\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"456def\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            }\n        ],\n        \"max_email_accounts\": 1,\n        \"vs_base_url\": \"https://www.example.com\",\n        \"partner_root_team_id\": 123,\n        \"use_ai_recognition\": true\n    }\n}"}],"_postman_id":"38059a71-675f-4df2-a6da-1577c1a2ed52"},{"name":"Create a new team","id":"cf6a62fd-f849-423d-b0a3-99e9d39512e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example URL VS Team\",\n    \"is_trial\": true,\n    \"user\": {\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"JohnDoe@example.com\",\n        \"notification_email\": \"jackdoe@example.com\",\n        \"plan_id\": 1\n    },\n    \"vs_base_url\": \"www.example.url\",\n    \"partner_root_team_id\": 123,\n    \"use_ai_recognition\":true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"ebf447fd-deb3-4e39-9b29-7bebd9a0a249","name":"Create a new team","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example Team\",\n\t\"is_trial\": true,\n\t\"user\": {\n\t\t\"first_name\": \"John\",\n\t\t\"last_name\": \"Doe\",\n\t\t\"email\": \"johndoe@example.com\",\n        \"notification_email\": \"jackdoe@example.com\",\n\t\t\"plan_id\": 1\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:16:24 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"238"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Example Team\",\n        \"has_active_subscription\": true,\n        \"is_trial\": true,\n        \"users\": [\n            {\n                \"id\": 1234,\n                \"team_id\": 123,\n                \"email\": \"JohnDoe@example.com\",\n                \"notification_email\": \"jackdoe@example.com\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"123abc\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            }\n        ],\n        \"max_email_accounts\": 1,\n        \"vs_base_url\": null,\n        \"partner_root_team_id\": null,\n        \"use_ai_recognition\": true\n    }\n}"},{"id":"94bc15fa-cf24-4239-9c2c-7db87b8568ab","name":"Add max emails per day","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"name\": \"Example Team\",\n\t\"is_trial\": true,\n\t\"user\": {\n\t\t\"first_name\": \"John\",\n\t\t\"last_name\": \"Doe\",\n\t\t\"email\": \"johndoe@example.com\",\n\t\t\"plan_id\": 1,\n        \"max_emails_per_day\":2000\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:16:24 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"238"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Example Team\",\n        \"has_active_subscription\": true,\n        \"is_trial\": true,\n        \"users\": [\n            {\n                \"id\": 1234,\n                \"team_id\": 123,\n                \"email\": \"JohnDoe@example.com\",\n                \"notification_email\": null,\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"123abc\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 2000\n            }\n        ],\n        \"max_email_accounts\": 1,\n        \"vs_base_url\": null,\n        \"partner_root_team_id\": null,\n        \"use_ai_recognition\": true\n    }\n}"},{"id":"fb42990e-a26f-434b-af89-7033f303dd29","name":"Create a new team with partner root team id","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Example Team\",\n    \"is_trial\": true,\n    \"user\": {\n        \"first_name\": \"John\",\n        \"last_name\": \"Doe\",\n        \"email\": \"JohnDoe@example.com\",\n        \"plan_id\": 1\n    },\n    \"vs_base_url\": \"https://www.example.com\",\n    \"partner_root_team_id\": 123\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams"},"status":"Created","code":201,"_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":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 06 Dec 2024 11:14:15 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Content-Security-Policy","value":"frame-ancestors ak.vanillasoft.org http://ak.vanillasoft.org https://ak.vanillasoft.org"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Example Team\",\n        \"has_active_subscription\": true,\n        \"is_trial\": true,\n        \"users\": [\n            {\n                \"id\": 1234,\n                \"team_id\": 123,\n                \"email\": \"JohnDoe@example.com\",\n                \"notification_email\": null,\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"123abc\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            }\n        ],\n        \"max_email_accounts\": 1,\n        \"vs_base_url\": \"https://www.example.com\",\n        \"partner_root_team_id\": 123,\n        \"use_ai_recognition\": true\n    }\n}"}],"_postman_id":"cf6a62fd-f849-423d-b0a3-99e9d39512e2"},{"name":"Update the team","id":"4f2a4817-1aad-4778-83c2-a63ade9aa7f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"is_trial\": false,\n    \"has_active_subscription\": true,\n    \"vs_base_url\": \"https://www.example.com\",\n    \"partner_root_team_id\": 456,\n    \"use_ai_recognition\": true,\n    \"max_email_accounts\": 5\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3ba17d86-f42d-443e-a161-cd5f135b15da","name":"Deactive the team","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"is_trial\": false,\n\t\"has_active_subscription\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.3"},{"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":"Thu, 20 Aug 2020 12:30:31 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"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    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Example Team\",\n        \"has_active_subscription\": false,\n        \"is_trial\": false,\n        \"users\": [\n            {\n                \"id\": 1234,\n                \"team_id\": 123,\n                \"email\": \"JohnDoe@example.com\",\n                \"notification_email\": \"jackdoe@example.com\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"123abc\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            }\n        ],\n        \"max_email_accounts\": 1,\n        \"vs_base_url\": \"https://www.updatedexample.com\",\n        \"partner_root_team_id\": 456,\n        \"use_ai_recognition\": true\n    }\n}"},{"id":"675e424f-2cf4-49eb-92e1-78c9bd8086b6","name":"Upgrade to paid plan","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"is_trial\": false,\n\t\"has_active_subscription\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:40:24 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"239"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Example Team\",\n        \"has_active_subscription\": true,\n        \"is_trial\": false,\n        \"users\": [\n            {\n                \"id\": 1234,\n                \"team_id\": 123,\n                \"email\": \"JohnDoe@example.com\",\n                \"notification_email\": \"jackdoe@example.com\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"123abc\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            }\n        ],\n        \"max_email_accounts\": 1,\n        \"vs_base_url\": \"https://www.updatedexample.com\",\n        \"partner_root_team_id\": 456,\n        \"use_ai_recognition\": true\n    }\n}"},{"id":"e987f7c7-add1-4362-87e3-ce1b8b2ef80d","name":"Update additional team data","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"vs_base_url\": \"https://www.example.com\",\n    \"partner_root_team_id\": 456\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}"},"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":"Thu, 05 Jun 2025 12:07:10 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"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    \"data\": {\n        \"id\": 12345,\n        \"name\": \"Example Team\",\n        \"has_active_subscription\": true,\n        \"is_trial\": true,\n        \"users\": [\n            {\n                \"id\": 1234,\n                \"team_id\": 123,\n                \"email\": \"JohnDoe@example.com\",\n                \"notification_email\": \"jackdoe@example.com\",\n                \"first_name\": \"John\",\n                \"last_name\": \"Doe\",\n                \"is_activated\": true,\n                \"use_data_unlimited\": false,\n                \"editor_premium_features_enabled\": false,\n                \"sending_schedule_enabled\": false,\n                \"credits\": 0,\n                \"api_token\": \"123abc\",\n                \"max_email_accounts\": 1,\n                \"max_emails_per_day\": 50\n            }\n        ],\n        \"max_email_accounts\": 1,\n        \"vs_base_url\": \"https://www.updatedexample.com\",\n        \"partner_root_team_id\": 456,\n        \"use_ai_recognition\": true\n    }\n}"}],"_postman_id":"4f2a4817-1aad-4778-83c2-a63ade9aa7f6"},{"name":"Replicate email account","id":"6f6f0fee-bbbd-4a4e-b405-1decbcb5c833","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"is_trial\": false,\n\t\"has_active_subscription\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users/{{toUser}}/replicate-email-account/{{emailAccount}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}","users","{{toUser}}","replicate-email-account","{{emailAccount}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"81ecbb1c-eb2f-4d56-b254-dce11cf023a5","name":"Copy email account","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"is_trial\": false,\n\t\"has_active_subscription\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/teams/{{team}}/users/{{toUser}}/replicate-email-account/{{emailAccount}}"},"status":"Created","code":201,"_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":"Cache-Control","value":"no-cache, private"},{"key":"Date","value":"Fri, 04 Aug 2023 11:02:17 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"56"},{"key":"phpdebugbar-id","value":"X90c7f272ecb5f825594b62fcc7fe83b5"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"id\": 581,\n        \"name\": \"John Doe\",\n        \"emails_per_day\": 50,\n        \"sending_from\": null,\n        \"bcc\": null,\n        \"cc\": null,\n        \"signature\": null,\n        \"displayable_signature\": null,\n        \"is_default\": 1,\n        \"reading_interval\": \"5 minutes\",\n        \"reading_is_valid\": 1,\n        \"sending_is_valid\": 1,\n        \"created_at\": \"2023-08-04T11:02:17.000000Z\",\n        \"deleted_at\": null,\n        \"connection\": {\n            \"driver\": \"gmail\",\n            \"email\": \"john@doe.com\",\n            \"imap_host\": null,\n            \"imap_encryption\": null,\n            \"imap_port\": null,\n            \"smtp_host\": null,\n            \"smtp_encryption\": null,\n            \"smtp_port\": null\n        },\n        \"is_ramping_up\": false,\n        \"parent_id\": 533,\n        \"user_id\": 552\n    }\n}"}],"_postman_id":"6f6f0fee-bbbd-4a4e-b405-1decbcb5c833"},{"name":"Replicate email account bulk","id":"b5259dba-569f-414c-8845-55bad7cb13ac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"from_email_account_id\": \"<email_account_id>\",\n    \"to_user_ids\": [\"<user_id>\", \"<user_id>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/replicate-email-account-bulk","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","replicate-email-account-bulk"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"dc694c34-fb94-4c7d-ad38-b7f67fb22ea4","name":"Copy email account bulk","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"from_email_account_id\": \"<email_account_id>\",\n    \"to_user_ids\": [\"<user_id>\", \"<user_id>\"]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/partner-api/replicate-email-account-bulk"},"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, 04 Aug 2023 11:09:18 GMT"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"phpdebugbar-id","value":"X95e3d535e4852aa5d99227aa552db159"},{"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    \"data\": [\n        {\n            \"id\": 583,\n            \"name\": \"John Doe\",\n            \"emails_per_day\": 50,\n            \"sending_from\": null,\n            \"bcc\": null,\n            \"cc\": null,\n            \"signature\": null,\n            \"displayable_signature\": null,\n            \"is_default\": 1,\n            \"reading_interval\": \"5 minutes\",\n            \"reading_is_valid\": 1,\n            \"sending_is_valid\": 1,\n            \"created_at\": \"2023-08-04T11:09:18.000000Z\",\n            \"deleted_at\": null,\n            \"connection\": {\n                \"driver\": \"gmail\",\n                \"email\": \"john@doe.com\",\n                \"imap_host\": null,\n                \"imap_encryption\": null,\n                \"imap_port\": null,\n                \"smtp_host\": null,\n                \"smtp_encryption\": null,\n                \"smtp_port\": null\n            },\n            \"is_ramping_up\": false,\n            \"parent_id\": 533,\n            \"user_id\": 552\n        }\n    ]\n}"}],"_postman_id":"b5259dba-569f-414c-8845-55bad7cb13ac"},{"name":"Delete the team","id":"876296f9-0a41-45ef-ad97-0dab5bef86ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/teams/{{team}}","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","teams","{{team}}"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"55bb0103-affc-46f6-9bf5-949b14d20f2d","name":"Delete the team","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/teams/{{team}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:49:50 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"58"},{"key":"Content-Length","value":"58"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Team and its users are successfully deleted.\"\n}"},{"id":"9ebac4c3-0f73-4d1b-a475-b1cbe68d4e72","name":"The team doesn't exist","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"},{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/teams/{{team}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 11:50:13 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"57"},{"key":"Content-Length","value":"42"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"There is no team with id 141\"\n}"}],"_postman_id":"876296f9-0a41-45ef-ad97-0dab5bef86ef"}],"id":"a060efe4-d502-409f-b161-08c49fdc54e3","description":"<p>A general Endpoint for teams manipulation.</p>\n","event":[{"listen":"prerequest","script":{"type":"text/javascript","exec":[""],"id":"ac331629-9606-4e9a-9b73-5e7aa793c965"}},{"listen":"test","script":{"type":"text/javascript","exec":[""],"id":"09568ea0-7956-48f2-a892-84b7c354b9f3"}}],"_postman_id":"a060efe4-d502-409f-b161-08c49fdc54e3","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}}},{"name":"Me","id":"50e13dd0-d700-493f-bf5d-0406910967e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/me","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]},"isInherited":true,"source":{"_postman_id":"a5ed539a-b27c-49f4-9966-1cf54814e505","id":"a5ed539a-b27c-49f4-9966-1cf54814e505","name":"Autoklose Partner API","type":"collection"}},"urlObject":{"path":["partner-api","me"],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"3f29e8aa-da4a-40e2-94e0-e387dce8ece8","name":"Me","originalRequest":{"method":"GET","header":[{"key":"Accept","value":"application/json","type":"text"}],"url":"{{url}}/partner-api/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 20 Aug 2020 12:09:46 GMT"},{"key":"Server","value":"Apache/2.4.39 (Unix) PHP/7.3.13"},{"key":"X-Powered-By","value":"PHP/7.3.13"},{"key":"Cache-Control","value":"no-cache, private"},{"key":"X-RateLimit-Limit","value":"60"},{"key":"X-RateLimit-Remaining","value":"59"},{"key":"Content-Length","value":"28"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n    \"data\": {\n        \"name\": \"Partner Name\"\n    }\n}"}],"_postman_id":"50e13dd0-d700-493f-bf5d-0406910967e4"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"api_token"},{"key":"value","value":"{{api_token}}"}]}},"event":[{"listen":"prerequest","script":{"id":"26e4c8d2-38ba-4184-9a6a-42f0c484c102","type":"text/javascript","requests":{},"exec":[""]}},{"listen":"test","script":{"id":"1455e806-deff-489d-b059-334690d13e62","type":"text/javascript","requests":{},"exec":[""]}}]}