{"info":{"_postman_id":"62ff122a-8cf6-459a-981c-8e4fcb0cc345","name":"HiFiveStar API Documentation (Public)","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"39259892","collectionId":"62ff122a-8cf6-459a-981c-8e4fcb0cc345","publishedId":"2sAY4rGRL4","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-10-24T22:19:53.000Z"},"item":[{"name":"Client","item":[{"name":"Create new client","id":"438454f1-b7a6-4ea2-9587-82bb495ae7d8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"YOUR-API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"seat_name\": \"Client Company Name\",\n    \"email\": \"Client user email\",\n    \"full_name\": \"Client full name\",\n    \"plan_name\": \"The Plan name you want this client to use\"\n}"},"url":"{{api_url}}/public-api/v1.0.0/seat/add","description":"<p>This call allows you to automatically add a seat and associate it with a new user email.</p>\n<p><strong>BODY DESCRIPTION:</strong></p>\n<p><code>seat_name:</code>required, string</p>\n<p>The name of the new business you want to add.</p>\n<p><code>email:</code>required, string</p>\n<p>Email of the new user: the new user will have access to only this seat. If you want to grant this user access to multiple seats, you have to repeat this call with the same email account.</p>\n<p><code>full_name</code>: optional, string</p>\n<p>Full name of the new user you want to give this seat access.</p>\n<p><code>plan_name</code>: optional, string</p>\n<p>The plan name you want to assing to the new client.</p>\n<p>If no plan is specified, the \"Default Plan\" will be used. It is recommended to use a custom plan.</p>\n<p><code>country</code>: optional, string</p>\n<p>The client's country of origin, which is used to assign default templates within the platform and set the user's communication language.</p>\n<p>If no country is specified, the country of your account will be used instead.</p>\n<p><strong>RESPONSE DESCRIPTION:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"seat_id\": \"\",\n    \"message\": \"\"\n}\n\n</code></pre>\n<p><code>seat_id</code>: string,</p>\n<p>It contains the seat ID.</p>\n<p><code>message</code>: optional, string</p>\n<p>It contains information about the API call response.</p>\n","urlObject":{"path":["public-api","v1.0.0","seat","add"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"438454f1-b7a6-4ea2-9587-82bb495ae7d8"},{"name":"Delete existing client","id":"dbc659b3-d0a1-4ad3-ab03-2090dd85716e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-key","value":"YOUR-API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client_to_delete@email.com\"\n}"},"url":"{{api_url}}/public-api/v1.0.0/seat/remove","urlObject":{"path":["public-api","v1.0.0","seat","remove"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"dbc659b3-d0a1-4ad3-ab03-2090dd85716e"},{"name":"Pause existing client","id":"ac180f12-70af-4c6f-aec4-e54f9f4ddf35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-key","value":"YOUR-API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client_to_pause@email.com\"\n}"},"url":"{{api_url}}/public-api/v1.0.0/seat/pause","description":"<p>Pause a business that was previously active.</p>\n","urlObject":{"path":["public-api","v1.0.0","seat","pause"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ac180f12-70af-4c6f-aec4-e54f9f4ddf35"},{"name":"Activate existing client","id":"a40d8dcd-c5ea-4734-8290-c17e1a99fcfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-key","value":"YOUR-API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client_to_active@email.com\"\n}"},"url":"{{api_url}}/public-api/v1.0.0/seat/activate","description":"<p>Re-activate a business that was previously paused.</p>\n","urlObject":{"path":["public-api","v1.0.0","seat","activate"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"a40d8dcd-c5ea-4734-8290-c17e1a99fcfd"},{"name":"Switch  client client","id":"8366922f-1001-4a59-84f1-542d97276b7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"x-api-key","value":"YOUR-API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"client_to_switch_custom_plan@email.com\",\n    \"plan_name\": \"The name of the Plan you want your client to switch to\"\n}"},"url":"{{api_url}}/public-api/v1.0.0/seat/custom-plan","description":"<p>Switch the custom plan linked to a specific user.</p>\n","urlObject":{"path":["public-api","v1.0.0","seat","custom-plan"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8366922f-1001-4a59-84f1-542d97276b7b"}],"id":"753fdeb9-2866-4518-a124-79c495fe7f6e","description":"<p>This endpoint is for our <a href=\"https://www.hifivestar.com/\">HiFiveStar</a> <strong>Enterprise accounts</strong> and will allow you to create a new client, with a new user email associated.</p>\n<p>Best practices:</p>\n<ul>\n<li><p>Do not add yourself or an admin user, as you will get an error.</p>\n</li>\n<li><p>If you try to add a user whose email is already in our app but associated with a different account, you will get an error.</p>\n</li>\n<li><p>Make sure you use all the required parameters before making this call.</p>\n</li>\n</ul>\n<p>Note that if you want to add more clients to one of your users you can do it by calling this endpoint with a different seat name and the same email address.</p>\n","_postman_id":"753fdeb9-2866-4518-a124-79c495fe7f6e"},{"name":"Invitation","item":[{"name":"Send  SMS","id":"ce074b8c-552a-4ee5-85a4-1d1c03d543ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"YOUR-API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"seat_id\":\"Seat ID\",\n    \"phone\": \"Phone number\",\n    \"name\": \"Name\"\n}"},"url":"{{api_url}}/public-api/v1.0.0/invitation/send/sms","description":"<p>This endpoint allows you to automatically send out invitations via SMS using the default template present on the seat's account. If reminders are activated, they will automatically be sent.</p>\n<p><strong>BODY DESCRIPTION:</strong></p>\n<p><code>seat_id:</code>required, string</p>\n<p>The seat ID of the client.</p>\n<p><code>phone:</code>required, string</p>\n<p>Phone number to which the SMS will be sent.</p>\n<p>e.g. +39xxxxxxxxxx</p>\n<p><code>name</code>: required, string<br />Full name of the person to which the SMS will be sent.</p>\n<p><strong>RESPONSE DESCRIPTION:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"\",\n    \"name\": \"\",\n    \"destination\": \"\",\n}\n\n</code></pre>\n<p><code>status</code>: string,</p>\n<p>Can be \"Ok\" or \"Send Error\".</p>\n<p><code>name</code>: string</p>\n<p>Full name.</p>\n<p><code>destination</code>: string</p>\n<p>Phone number.</p>\n","urlObject":{"path":["public-api","v1.0.0","invitation","send","sms"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce074b8c-552a-4ee5-85a4-1d1c03d543ec"},{"name":"Send Email","id":"33f7f6dc-b4c8-41a7-ae48-cf7ab7a8be02","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"x-api-key","value":"YOUR-API-KEY","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"seat_id\":\"Seat ID\",\n    \"email\": \"Email\",\n    \"name\": \"Name\"\n}"},"url":"{{api_url}}/public-api/v1.0.0/invitation/send/email","description":"<p>This endpoint allows you to automatically send out invitations via Email using the default template present on the seat's account. If reminders are activated, they will automatically be sent.</p>\n<p><strong>BODY DESCRIPTION:</strong></p>\n<p><code>seat_id:</code>required, string</p>\n<p>The seat ID of the client.</p>\n<p><code>email:</code>required, string</p>\n<p>Email to which the Email will be sent.</p>\n<p><code>name</code>: required, string<br />Full name of the person to which the Email will be sent.</p>\n<p><strong>RESPONSE DESCRIPTION:</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"status\": \"\",\n    \"name\": \"\",\n    \"destination\": \"\",\n}\n\n</code></pre>\n<p><code>status</code>: string,</p>\n<p>Can be \"Ok\" or \"Send Error\".</p>\n<p><code>name</code>: string</p>\n<p>Full name.</p>\n<p><code>destination</code>: string</p>\n<p>Email.</p>\n","urlObject":{"path":["public-api","v1.0.0","invitation","send","email"],"host":["{{api_url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"33f7f6dc-b4c8-41a7-ae48-cf7ab7a8be02"}],"id":"c171682c-2fc0-4541-8f8b-848691acc6fa","_postman_id":"c171682c-2fc0-4541-8f8b-848691acc6fa","description":""}]}