{"info":{"_postman_id":"324ac141-9f50-6721-287f-8716f945f0f3","name":"Tokeet Client API","description":"<html><head></head><body><p><strong>NOTE: This API is for property managers only. If you are a partner who needs access to our partner API please contact support.</strong></p>\n<p>The Tokeet Client API (CAPI) allows you to programmatically interact with the Tokeet vacation rental platform. It exposes all of the core functionality of the platform to external applications and allows you to build systems that interact with your Tokeet data. Please be very careful while interacting with your data while using the CAPI as deleted or updated data cannot be recovered.</p>\n<h1 id=\"access\">Access</h1>\n<p>The CAPI is accessible via the below URL. You must also provide your API key and account id on each request.</p>\n<blockquote>\n<p>URL: <strong><a href=\"https://capi.tokeet.com/v1\">https://capi.tokeet.com/v1</a></strong></p>\n</blockquote>\n<p>Please note the HTTPS protocol used in the URL. The Tokeet CAPI require all requests to use secure HTTP connections. All plain HTTP requests will be forwarded to the corresponding secure endpoints.</p>\n<h1 id=\"authentication\">Authentication</h1>\n<p>Access to the Client API is handled via HTTP Basic Authentication using your Tokeet account api key. Each Tokeet account has an API Key which is accessible via the Tokeet front end.</p>\n<blockquote>\n<p>curl -H 'Accept: application/json' -H 'Authorization: <code>your-api-token</code>' <a href=\"https://capi.tokeet.com/v1/user?account=%7B%7Baccount_id%7D%7D\">https://capi.tokeet.com/v1/user?account={{account_id}}</a></p>\n</blockquote>\n<p>To access your API key simply log into Tokeet, go to the <strong>Settings</strong> menu and select <strong>Account Info</strong>. There, at the top of the first table, you will see a section for your api key. Please click <strong>Generate Key</strong> if tyou don't currently see an api key. Please take note of your API key and keep it secure. The key will only be visible for the remainder of your session. <strong>If you misplace or loose your key you must generate a new one and this automatically disables any existing key</strong>.</p>\n<p>Your account id is located right next to your api key.</p>\n<p>Your api key should be placed in the <strong>Authorization</strong> header of every request to the CAPI. You should also provide your account id on the query string of each request and only access the CAPI via secure SSL over HTTPS. Any requests via standard HTTP will be redirected to HTTPS.</p>\n<h1 id=\"requests\">Requests</h1>\n<p>The API accepts standard HTTP requests. You can pass values to the API via the URL query string or the request body, when required by an endpoint. The request body, if present, is always assumed to be a JSON document. The Content-Type and Acceptheaders are ignored.</p>\n<h1 id=\"responses\">Responses</h1>\n<p>The Tokeet CAPI uses standard HTTP status codes where ever possible. Each response also includes a JSON payload with the requested data or an appropriate error message if the request failed. </p>\n<p>Most requests will respond with a status of <code>2xx</code> to singal that the request was successful. </p>\n<ul>\n<li><code>400</code> means the request was invalid</li>\n<li><code>401</code> means you were not authenticated</li>\n<li><code>404</code> means the requested item was not found in your account</li>\n<li><code>500</code> means the server had an error and you should report it to support</li>\n</ul>\n<p>Please review all error messages returned by the CAPI before consulting the support team for help.</p>\n<h1 id=\"errors\">Errors</h1>\n<p>When a request is valid but a data type in your JSON payload is invalid or missing, the CAPI will let you know with a 400 error. The Tokeet CAPI strictly enforces data types where indicated, and also enforces data value options. </p>\n<p>Below is an example the response JSON payload. The <code>error</code> attribute is only available if an error occured.</p>\n<p><code>{   data: {…},    error: { message: '...', code: xxx }} }</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"Access","slug":"access"},{"content":"Authentication","slug":"authentication"},{"content":"Requests","slug":"requests"},{"content":"Responses","slug":"responses"},{"content":"Errors","slug":"errors"}],"owner":"2858205","collectionId":"324ac141-9f50-6721-287f-8716f945f0f3","publishedId":"713fctg","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2018-05-13T15:18:14.000Z"},"item":[{"name":"Expenses","item":[{"name":"Create An Expense","id":"58c899d3-e1c1-ee4d-5d2e-aa0342979d5b","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"date\": 1494374400,\n  \"rental_id\": \"55220531-8f72-4dba-9ba5-0b19015bd0db\",\n  \"category\": \"Housekeeping\",\n  \"amount\": 199.99\n}"},"url":"https://capi.tokeet.com/v1/expense?account={{account}}","description":"<p>This endpoint allows you to create a new expense in your account. This request must include a JSON payload. The possible attributes in the payload are listed below.</p>\n<ul>\n<li>date - <code>required</code> <code>number</code> An epoch timestamp of the date of the expense.</li>\n<li>due - <code>number</code> An epoch timestamp of when the expense is due.</li>\n<li>rental_id - <code>required</code> The id of the rental associated with this expense.</li>\n<li>category - <code>required</code> A category for the expense. The defaults are below. You may create your own.</li>\n<li>Food/Beverage</li>\n<li>Gardening</li>\n<li>Housekeeping </li>\n<li>Maintenance </li>\n<li>Mortgage/Rent </li>\n<li>Pool </li>\n<li>Plumbing </li>\n<li>Transportation </li>\n<li>Utility </li>\n<li>Other </li>\n<li>description - A description of the expense.</li>\n<li>amount - <code>required</code> <code>number</code> The monetary amount of the expense.</li>\n<li>status - <code>number</code> The status of the expense. 1=unpaid, 2=paid.</li>\n<li>method - The method used for payment.</li>\n<li>cash</li>\n<li>check</li>\n<li>card</li>\n<li>other</li>\n<li>inquiry_id - The id of the inquiry associated with this expense.</li>\n<li>photo - The url of the expense image.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","expense"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"58c899d3-e1c1-ee4d-5d2e-aa0342979d5b"},{"name":"Create Many Expenses","id":"ba2fa022-f41b-0e73-0bfb-b00a6a75457e","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"[]"},"url":"https://capi.tokeet.com/v1/expense/batch?account={{account}}","description":"<p>This endpoint creates multiple expenses simultaneously. It accepts an array of JSON objects. The required fields can be seen in the expense creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","expense","batch"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"ba2fa022-f41b-0e73-0bfb-b00a6a75457e"},{"name":"Retrieve An Expense","id":"5eabc719-6d18-fd46-5f41-92491a70f54e","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/expense/{{expense_pkey}}?account={{account}}","description":"<p>Retrieve an expense with the specified expense id. This method returns a JSON object with the expense data.</p>\n","urlObject":{"protocol":"https","path":["v1","expense","{{expense_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"5eabc719-6d18-fd46-5f41-92491a70f54e"},{"name":"Retrieve All Expenses","id":"bfc154d7-8714-39b3-916f-414f3e89346a","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/expense?account={{account}}&limit=10&skip=0&sort=-1","description":"<p>Retrieve all expneses in your account. We highly recommend using the pagination query parameters if you have many expenses in your account. The following query parameters may optionally by used.</p>\n<ul>\n<li>skip - The number of items to skip in the results. This is used for pagination.</li>\n<li>limit - The maximum number of items to return. This is used for pagination.</li>\n<li>sort - A value of 1 or -1 which represents the sort order of the results based on creation date.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","expense"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"},{"key":"limit","value":"10"},{"key":"skip","value":"0"},{"key":"sort","value":"-1"}],"variable":[]}},"response":[],"_postman_id":"bfc154d7-8714-39b3-916f-414f3e89346a"},{"name":"Update An Expense","id":"2547a5e8-e9d2-aa3d-6be4-3e45af69c640","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"method\":\"check\"\n}"},"url":"https://capi.tokeet.com/v1/expense/{{expense_pkey}}?account={{account}}","description":"<p>This endpoint updates an existing expense object. A JSON payload must be included with this request. The possible fields and values are detailed in the expense creation endpoint description. There are no required fields for this endpoint.</p>\n","urlObject":{"protocol":"https","path":["v1","expense","{{expense_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"2547a5e8-e9d2-aa3d-6be4-3e45af69c640"},{"name":"Delete An Expense","id":"e15eb480-2f53-fd38-9e01-7b2368a54009","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/expense/{{expense_pkey}}?account={{account}}","description":"<p>This endpoint allows you to delete an existing expense using the expense id (pkey).</p>\n","urlObject":{"protocol":"https","path":["v1","expense","{{expense_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"e15eb480-2f53-fd38-9e01-7b2368a54009"}],"id":"78832a3b-8245-7aa4-2539-a11fcb4254cf","description":"<p>An expense is is resource within the Tokeet platform. It represents a fee or charge related to your rental business which you must pay. These API endpoints allow you to create, retrieve, update, and delete expenses within your Tokeet account. These api requests have the same afffect as using the Tokeet web or mobile applications.</p>\n","_postman_id":"78832a3b-8245-7aa4-2539-a11fcb4254cf"},{"name":"Guests","item":[{"name":"Create A Guest","id":"570bc224-a27c-4494-f84f-f44ae8b33a75","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"John Smith\",\n  \"email\": \"john@smith.com\"\n}"},"url":"https://capi.tokeet.com/v1/guest?account={{account}}","description":"<p>This endpoint creates a guest within your account. This request must include a JSON payload. The required fields in the payload are <strong>name</strong> and <strong>email</strong>. All other fields are optional.</p>\n<ul>\n<li>name - <code>required</code> The guest full name.</li>\n<li>address - <code>required</code> A JSON object containing the guest address.</li>\n<li>street - A street address.</li>\n<li>city - A city name.</li>\n<li>state - A state or province.</li>\n<li>country - A country name.</li>\n<li>postal_code - A postal code.</li>\n<li>country_code - A two letter country code.</li>\n<li>email - <code>email</code> The primary email of the guest.</li>\n<li>phone - The guest phone number.</li>\n<li>notes - <code>array</code> A JSON array of strings.</li>\n<li>birthday - <code>date(MM/DD/YYY)</code> A date in the indicated format.</li>\n<li>spouse - The name of the guest's spouse. </li>\n<li>kids - The names of the guest's children as one string.</li>\n<li>drink - The guest's favorite drink.</li>\n<li>hobby - The guest's hobby.</li>\n<li>sport - A sport name.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","guest"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"570bc224-a27c-4494-f84f-f44ae8b33a75"},{"name":"Create Many Guests","id":"b2aaa08c-ac20-27de-cee6-0d50c09ef5d3","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"[{\n  \"name\": \"John Smith\",\n  \"email\": \"john2@smith.com\"\n}]"},"url":"https://capi.tokeet.com/v1/guest/batch?account={{account}}","description":"<p>This endpoint allows you to create many guests at once within your account. This request must include a JSON array as payload. The required fields for each JSON object in the array are <strong>name</strong> and <strong>email</strong>. All other fields are optional. Please see the Create Guest endpoint for details.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","batch"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"b2aaa08c-ac20-27de-cee6-0d50c09ef5d3"},{"name":"Retrieve A Guest","id":"1e943f06-56fd-89f7-061c-8466fbf0ec60","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/guest/{{pkey}}?account={{account}}","description":"<p>Retrieves a guest with the specific guest id (pkey).</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"1e943f06-56fd-89f7-061c-8466fbf0ec60"},{"name":"Retrieve A Guest By Email","id":"c0d9497a-0292-b668-3494-9addec888f36","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/guest/email/{{email}}?account={{account}}","description":"<p>This endpoint retrieves a guest with the specific email address as their primary email.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","email","{{email}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"c0d9497a-0292-b668-3494-9addec888f36"},{"name":"Retrieve All Guests","id":"cd4156ed-4ee6-31b8-045d-08535ea63041","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/guest?account={{account}}&limit=100&skip=0&sort=1&booked=1&unbooked=0&source=airbnb&name=mary","description":"<p>This endpoint retrieves all guests within your account. It returns an array of JSON objects or an empty array. We highly recommend using pagination (skip &amp; limit) with this request if you have many guests within your account. The following parameters may be included on the query string.</p>\n<ul>\n<li>skip - How many rows to skip in the results. This is used for pagination.</li>\n<li>limit - The maximum number of items to return in the results. This is also used for pagination.</li>\n<li>sort - The sort order of the results by name. 1 is ascending while -1 is descending.</li>\n<li>booked - Only return guests with bookings.</li>\n<li>unbooked - Only return guests who do not have bookings.</li>\n<li>source - Only return guests from a specific channel or source.</li>\n<li>name - A partial guest name to filter the search. The CAPI will perform a regex mathc on the guest names and only return guests whose name contains this value.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","guest"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"},{"key":"limit","value":"100"},{"key":"skip","value":"0"},{"key":"sort","value":"1"},{"key":"booked","value":"1"},{"key":"unbooked","value":"0"},{"key":"source","value":"airbnb"},{"key":"name","value":"mary"}],"variable":[]}},"response":[],"_postman_id":"cd4156ed-4ee6-31b8-045d-08535ea63041"},{"name":"Update A Guest","id":"fb7d560d-8b7f-476f-9e76-c3b41cc306be","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\":\"Darth Vadar\"\n}"},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}?account={{account}}","description":"<p>This endpoint updates a guest object using the guest id (okey). The request must also include a JSON payload. The possible fields that may be included in the payload are described in the guest creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"fb7d560d-8b7f-476f-9e76-c3b41cc306be"},{"name":"Delete A Guest","id":"4f636331-146b-7af0-ebfa-632fbc937e7b","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}?account={{account}}","description":"<p>This endpoint allows you to delete a guest from your account by providing the guest id. Please note that deletions are immediate and permanent. So please use this endpoint carefully.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"4f636331-146b-7af0-ebfa-632fbc937e7b"},{"name":"Record A Guest Interaction","id":"d248bc03-3a91-196c-0037-a19eb44e659a","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"type\":\"phone call\",\n  \"date\": 1507694400,\n  \"comment\": \"This is a test.\"\n}"},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/interaction?account={{account}}","description":"<p>This endpoint allows you to record an interaction you had with your guest. You must include a JSON payload with your reuqest. The following fields are required.</p>\n<ul>\n<li>type - The type of interaction. Options are <strong>phone call</strong>, <strong>meeting</strong>, <strong>comment</strong>.</li>\n<li>date - An epoch timestamp of the date of the interaction.</li>\n<li>comment - The notes of your interaction.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","interaction"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"d248bc03-3a91-196c-0037-a19eb44e659a"},{"name":"Delete A Guest Interaction","id":"eb63ecbb-692e-3438-bd84-871ab6a36c60","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/interaction/{{interaction_key}}","description":"<p>Delete a previously recorded interaction with a guest. You must provide the guest id and interaction key in the URI.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","interaction","{{interaction_key}}"],"host":["capi","tokeet","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb63ecbb-692e-3438-bd84-871ab6a36c60"},{"name":"Archive A Guest","id":"ab50bfde-d561-fcba-fc0e-1d101491a041","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/archive?account={{account}}","description":"<p>This endpoint archives the guest specified by the guest id. Archive guests do not show by default in the web and mobile applications. This method should be accompanied by an empty JSON body.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","archive"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"ab50bfde-d561-fcba-fc0e-1d101491a041"},{"name":"Unarchive A Guest","id":"18eaa586-d468-a57f-0bd3-b8f44baf583b","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/unarchive?account={{account}}","description":"<p>This endpoint archives the guest specified by the guest id. Archive guests do not show by default in the web and mobile applications. This method should be accompanied by an empty JSON payload.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","unarchive"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"18eaa586-d468-a57f-0bd3-b8f44baf583b"},{"name":"Record A Guest Note","id":"ff2bfed5-5d65-d335-27c0-dc58ac17f67c","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"note\":\"This is my note.\"\n}"},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/note?account={{account}}","description":"<p>This endpoint allows you to create a note on a guest. Notes are used to keep track of information regarding a guest for future reference. You must supply a JSON payload with this request. There is only one parameter, which is reqiured.</p>\n<ul>\n<li>note - The note to record.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","note"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"ff2bfed5-5d65-d335-27c0-dc58ac17f67c"},{"name":"Update A Guest Note","id":"3a2a94c9-5f49-365a-8021-63b58a0a0134","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"key\":\"9defb16a-e4b8-432a-9ca1-a858ac58d1ca\",\n  \"note\":\"This is my updated note.\"\n}"},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/note?account={{account}}","description":"<p>This endpoint allows you to update a previously saved guest note.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","note"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"3a2a94c9-5f49-365a-8021-63b58a0a0134"},{"name":"Delete A Guest Note","id":"5ebe0015-edc0-8e66-35cd-dc2b757ec97c","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/note/{{note_key}}?account={{account}}","description":"<p>This endpoint allows you to delete a previously saved guest note. You must provide the guest id and note key.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","note","{{note_key}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"5ebe0015-edc0-8e66-35cd-dc2b757ec97c"},{"name":"Add A Guest Phone","id":"3da343da-b902-1c1f-51c0-ae88cceea633","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"phone\":\"1-101-212-3333\"\n}"},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/phone?account={{account}}","description":"<p>This endpoint adds a phone number to the list of phone numbers for the specified guest. This request must contain a JSON payload. There is only one field and it is required.</p>\n<ul>\n<li>phone - The phone number to be added. This does not need to be in a specific format, but should be complete and accurate if it is to be used with SMS communications.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","phone"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"3da343da-b902-1c1f-51c0-ae88cceea633"},{"name":"Delete A Guest Phone","id":"7cfed154-ae1b-cc2d-5277-6a4f8cddf28a","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/guest/{{guest_pkey}}/phone/{{phone}}?account={{account}}","description":"<p>This endpoint deletes a previously stored phone number in the specified guest.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","{{guest_pkey}}","phone","{{phone}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"7cfed154-ae1b-cc2d-5277-6a4f8cddf28a"},{"name":"Add An Email","id":"2fbc90dc-6827-0847-12e7-34d021c0df1f","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"email\": \"test@email.com\"\n}"},"url":"https://capi.tokeet.com/v1/guest/email/{{guest_pkey}}?account={{account}}","description":"<p>This endpoint allows you to add an email address to the list of email addresses for the specified guest. A JSON payload must be included with this request. There is one required field.</p>\n<ul>\n<li>email - The email address to be added.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","guest","email","{{guest_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"2fbc90dc-6827-0847-12e7-34d021c0df1f"},{"name":"Remove An Email","id":"897da8ad-9713-75ad-c1ca-47c482cd568b","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/guest/email/{{guest_pkey}}/test@email.com?account={{account}}","description":"<p>This endpoint removes the specified email address from the specified guest. It does nothing if the email is currently not associated with this guest.</p>\n","urlObject":{"protocol":"https","path":["v1","guest","email","{{guest_pkey}}","test@email.com"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"897da8ad-9713-75ad-c1ca-47c482cd568b"}],"id":"9572274a-c79e-05e9-0c4a-de40899f702f","description":"<p>A guest is is resource within the Tokeet platform. It represents someone who rents, or is interested in renting, your property. These API endpoints allow you to create, retrieve, update, and delete guests within your Tokeet account. These api requests have the same afffect as using the Tokeet web or mobile applications.</p>\n","_postman_id":"9572274a-c79e-05e9-0c4a-de40899f702f"},{"name":"Rates","item":[{"name":"Create A Standard Rate","id":"9b1542ec-823d-ee4a-61df-e23f580558c5","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rate 2\",\n  \"nightly\": 300,\n  \"rental_id\": \"d47782bd-ae16-48d9-bb36-9a23ad7c3585\",\n\n  \"start\": \"2017-12-23\",\n  \"end\": \"2017-12-26\",\n  \"category\": \"default\",\n\n  \"type\": \"standard\",\n\n  \"additionalFeeAmount\": 50,\n  \"additionalFeeThreshold\": 6,\n\n  \"minimum\": 2,\n  \"maximum\": 30,\n  \"maxguests\": 10,\n  \"monthly\": 8400,\n  \"weekly\": 2100,\n  \n  \"dayspecifics\": [\n        {\n          \"price\": \"100\",         \n          \"threshold\": 4,    \n          \"days\": [\n            1,          \n            2          \n          ],\n          \"thresholdfee\": 20    \n        }\n      ]\n}"},"url":"https://capi.tokeet.com/v1/rate?account={{account}}","description":"<p>This endpoint creates a standard rate within your account. \nThis request must include a JSON payload. \nThe required fields in the payload are <strong>name</strong>, <strong>start</strong>, <strong>end</strong>, <strong>rental_id</strong>, <strong>type</strong>, and <strong>category</strong>. \nYou must also specify a rate of either <strong>nightly</strong>, <strong>weekly</strong>, or <strong>monthly</strong>. All other fields are optional.</p>\n<p>It is highly recommended that you become familiar with Tokeet rates and read the help center before creating rates via the client API.</p>\n<p>This endpoint returns the newly created rate object with a status of 200 on success.</p>\n<ul>\n<li>name - <code>required</code> The rate name. This can be alphanumeric, but cannot be a number with max length of 20 characters.</li>\n<li>start - <code>required</code> <code>date(YYYY-MM-DD)</code> The start date of the rate in the form YYYY-MM-DD.</li>\n<li>end - <code>required</code> <code>date(YYYY-MM-DD)</code> The end date of the rate in the form YYYY-MM-DD.</li>\n<li>category - <code>required</code> A category to which the rate belongs. This can be any alphanumeric string with max length of 20 characters.</li>\n<li>rental_id - <code>required</code> The pkey of the rental to which the rate will be added.</li>\n<li>type - <code>required</code> This is the type of the rate. Options are (standard, promotion, dynamic). This should be set to <strong>standard</strong> for standard rates.</li>\n<li>nightly - <code>number</code> The nightly rate.</li>\n<li>weekly - <code>number</code> The weekly rate.</li>\n<li>monthly - <code>number</code> The monthly rate.</li>\n<li>minimum - <code>number</code> The minimum length of stay.</li>\n<li>maximum - <code>number</code> The maximum length of stay.</li>\n<li>maxguests - <code>number</code> The maximum number of the guests.</li>\n<li>additionalFeeThreshold - <code>number</code> The number of guests above which the additional guest fee will be applied.</li>\n<li>additionalFeeAmount - <code>number</code> The additional guest fee to be applied for each guest above <strong>additionalFeeThreshold</strong>.</li>\n<li>dayspecifics - <code>array</code> An array of day specific pricing objects.</li>\n<li>price - <code>number</code> The price for the specific days. </li>\n<li>days - <code>array</code> An array of days (numbers) to which the price should be applied. 0 = Monday.</li>\n<li>threshold - <code>number</code> The number of guests above which the additional guest fee will be applied.</li>\n<li>thresholdfee - <code>number</code> The additional guest fee to be applied for each guest above <strong>threshold</strong>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","rate"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"9b1542ec-823d-ee4a-61df-e23f580558c5"},{"name":"Create A Promotion Rate","id":"92571808-2fbb-2993-226b-059d75b883c2","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rate 2\",\n  \"nightly\": 200,\n  \"monthly\": 8400,\n  \"weekly\": 2100,\n  \"rental_id\": \"d47782bd-ae16-48d9-bb36-9a23ad7c3585\",\n\n  \"start\": \"2017-12-23\",\n  \"end\": \"2017-12-26\",\n  \"categories\": [\"default\"],\n\n  \"type\": \"promotion\",\n\n  \"additionalFeeAmount\": 50,\n  \"additionalFeeThreshold\": 6,\n\n  \"minimum\": 5,\n  \"maximum\": 30,\n  \"maxguests\": 8,\n  \n  \"dayspecifics\": [\n        {\n          \"price\": 120,         \n          \"threshold\": 4,    \n          \"days\": [\n            1,          \n            2          \n          ],\n          \"thresholdfee\": 20    \n        }\n      ]\n}"},"url":"https://capi.tokeet.com/v1/rate/promotion?account={{account}}","description":"<p>This endpoint creates a promotion rate within your account. \nThis request must include a JSON payload. \nThe required fields in the payload are <strong>name</strong>, <strong>start</strong>, <strong>end</strong>, <strong>rental_id</strong>, <strong>type</strong>, and <strong>category</strong>. \nYou must also specify a rate of either <strong>nightly</strong>, <strong>weekly</strong>, or <strong>monthly</strong>. All other fields are optional.</p>\n<p>It is highly recommended that you become familiar with Tokeet rates and read the help center before creating rates via the client API.</p>\n<p>This endpoint returns the newly created rate object with a status of 200 on success.</p>\n<ul>\n<li>name - <code>required</code> The rate name. This can be alphanumeric, but cannot be a number with max length 20 characters.</li>\n<li>start - <code>required</code> <code>date(YYYY-MM-DD)</code> The start date of the rate in the form YYYY-MM-DD.</li>\n<li>end - <code>required</code> <code>date(YYYY-MM-DD)</code> The end date of the rate in the form YYYY-MM-DD.</li>\n<li>categories - <code>required</code> An array of categories to which the rate belongs. These can be any alphanumeric string with max length of 20 characters.</li>\n<li>rental_id - <code>required</code> The pkey of the rental to which the rate will be added.</li>\n<li>type - <code>required</code> This is the type of the rate. Options are (standard, promotion, dynamic). This should be set to <strong>promotion</strong> for promotional rates.</li>\n<li>nightly - <code>number</code> The nightly rate.</li>\n<li>weekly - <code>number</code> The weekly rate.</li>\n<li>monthly - <code>number</code> The monthly rate.</li>\n<li>minimum - <code>number</code> The minimum length of stay.</li>\n<li>maximum - <code>number</code> The maximum length of stay.</li>\n<li>maxguests - <code>number</code> The maximum number of the guests.</li>\n<li>additionalFeeThreshold - <code>number</code> The number of guests above which the additional guest fee will be applied.</li>\n<li>additionalFeeAmount - <code>number</code> The additional guest fee to be applied for each guest above <strong>additionalFeeThreshold</strong>.</li>\n<li>dayspecifics - <code>array</code> An array of day specific pricing objects.</li>\n<li>price - <code>number</code> The price for the specific days. </li>\n<li>days - <code>array</code> An array of days (numbers) to which the price should be applied. 0 = Monday.</li>\n<li>threshold - <code>number</code> The number of guests above which the additional guest fee will be applied.</li>\n<li>thresholdfee - <code>number</code> The additional guest fee to be applied for each guest above <strong>threshold</strong>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","rate","promotion"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"92571808-2fbb-2993-226b-059d75b883c2"},{"name":"Create A Dynamic Rate","id":"73f742be-182f-6386-6538-bf51f12b9cbd","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rate 2\",\n  \"rental_id\": \"d47782bd-ae16-48d9-bb36-9a23ad7c3585\",\n\n  \"start\": \"2017-12-27\",\n  \"end\": \"2017-12-29\",\n  \"category\": \"default\",\n\n  \"type\": \"dynamic\",\n  \n  \"low_threshold\": 100,\n  \"high_threshold\": 200,\n\n  \"threshold_type\": \"monthly\",\n\n  \"low_rate\": 100,\n  \"high_rate\": 200,\n\n  \"additionalFeeAmount\": 50,\n  \"additionalFeeThreshold\": 6,\n  \n  \"minimum\": 5,\n  \"maximum\": 30,\n  \"maxguests\": 8,\n  \n  \"dayspecifics\": [\n        {\n          \"price\": 120,         \n          \"threshold\": 4,    \n          \"days\": [\n            1,          \n            2          \n          ],\n          \"thresholdfee\": 20    \n        }\n      ]\n}"},"url":"https://capi.tokeet.com/v1/rate/dynamic?account={{account}}","description":"<p>This endpoint creates a dynamic rate within your account. \nThis request must include a JSON payload. \nThe required fields in the payload are described below. All other fields are optional.</p>\n<p>It is highly recommended that you become familiar with Tokeet rates and read the help center before creating rates via the client API.</p>\n<p>This endpoint returns the newly created rate object with a status of 200 on success.</p>\n<ul>\n<li><p>name - <code>required</code> The rate name. This can be alphanumeric, but cannot be a number with max length 20 characters.</p>\n</li>\n<li><p>start - <code>required</code> <code>date(YYYY-MM-DD)</code> The start date of the rate in the form YYYY-MM-DD.</p>\n</li>\n<li><p>end - <code>required</code> <code>date(YYYY-MM-DD)</code> The end date of the rate in the form YYYY-MM-DD.</p>\n</li>\n<li><p>category - <code>required</code> A category to which the rate belongs. This can be any alphanumeric string with ax length 20 characters.</p>\n</li>\n<li><p>rental_id - <code>required</code> The pkey of the rental to which the rate will be added.</p>\n</li>\n<li><p>type - <code>required</code> This is the type of the rate. Options are (standard, promotion, dynamic).</p>\n</li>\n<li><p>low_rate - <code>required</code> <code>number</code> The lowest nightly rate of the dynamic price range.</p>\n</li>\n<li><p>high_rate - <code>required</code> <code>number</code> The highest nightly rate of the dynamic price range.</p>\n</li>\n<li><p>low_threshold - <code>required</code> <code>number</code> The occupancy level at which the dynamic pricing begins.</p>\n</li>\n<li><p>high_threshold - <code>required</code> <code>number</code> The occupancy level at which the dynamic pricing ends.</p>\n</li>\n<li><p>minimum - <code>number</code> The minimum length of stay.</p>\n</li>\n<li><p>maximum - <code>number</code> The maximum length of stay.</p>\n</li>\n<li><p>maxguests - <code>number</code> The maximum number of the guests.</p>\n</li>\n<li><p>additionalFeeThreshold - <code>number</code> The number of guests above which the additional guest fee will be applied.</p>\n</li>\n<li><p>additionalFeeAmount - <code>number</code> The additional guest fee to be applied for each guest above <strong>additionalFeeThreshold</strong>.</p>\n</li>\n<li><p>dayspecifics - <code>array</code> An array of day specific pricing objects.</p>\n</li>\n<li><p>price - <code>number</code> The price for the specific days. </p>\n</li>\n<li><p>days - <code>array</code> An array of days (numbers) to which the price should be applied. 0 = Monday.</p>\n</li>\n<li><p>threshold - <code>number</code> The number of guests above which the additional guest fee will be applied.</p>\n</li>\n<li><p>thresholdfee - <code>number</code> The additional guest fee to be applied for each guest above <strong>threshold</strong>.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","rate","dynamic"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"73f742be-182f-6386-6538-bf51f12b9cbd"},{"name":"Add Base Rate","id":"d6d9412e-b6ec-0638-bfba-46bc9cb43fee","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rate 2\",\n  \"nightly\": 200,\n  \"weekend\": 250,\n  \"monthly\": 8400,\n  \"weekly\": 2100,\n  \"rental_id\": \"d47782bd-ae16-48d9-bb36-9a23ad7c3585\",\n\n  \"additionalFeeAmount\": 50,\n  \"additionalFeeThreshold\": 6,\n\n  \"minimum\": 5,\n  \"maximum\": 30\n}"},"url":"https://capi.tokeet.com/v1/rate/base?account={{account}}","description":"<p>This endpoint creates a base rate within your account. \nThis request must include a JSON payload. \nThe required fields in the payload are <strong>name</strong>, <strong>rental_id</strong>, <strong>nightly</strong>, and <strong>minimum</strong>. \nYou must also specify a rate of either <strong>nightly</strong>, <strong>weekly</strong>, or <strong>monthly</strong>. All other fields are optional.</p>\n<p>It is highly recommended that you become familiar with Tokeet rates and read the help center before creating rates via the client API.</p>\n<p>This endpoint returns the newly created rate object with a status of 200 on success.</p>\n<ul>\n<li>name - <code>required</code> The rate name. This can be alphanumeric, but cannot be a number with max length 15 characters.</li>\n<li>rental_id - <code>required</code> The pkey of the rental to which the rate will be added.</li>\n<li>nightly - <code>required</code> <code>number</code> The nightly rate.</li>\n<li>weekly - <code>number</code> The weekly rate.</li>\n<li>weekend - <code>number</code> The weekend rate.</li>\n<li>monthly - <code>number</code> The monthly rate.</li>\n<li>minimum - <code>required</code> <code>number</code> The minimum length of stay.</li>\n<li>additionalFeeThreshold - <code>number</code> The number of guests above which the additional guest fee will be applied.</li>\n<li>additionalFeeAmount - <code>number</code> The additional guest fee to be applied for each guest above <strong>additionalFeeThreshold</strong>.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","rate","base"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"d6d9412e-b6ec-0638-bfba-46bc9cb43fee"},{"name":"Get All Rates","id":"796d4046-deaa-e4e6-398d-c437e3c6db19","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"users\": [111],\n  \"rental_id\": \"55220531-8f72-4dba-9ba5-0b19015bd0db\",\n  \"event\": \"inquiry.book\",\n  \"template\": \"8469bac7-f7b0-4c58-a415-32db455f7925\",\n  \"handler\": \"Handlers::EmailHandler\",\n  \"hours\": 4\n}"},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}?account={{account}}","description":"<p>Retrieve all standard, dynamic, and promotional rates from the specified rental.</p>\n<p>We highly recommend using the pagination query parameters if you have many rates in your account. The following query parameters may optionally by used.</p>\n<p>skip - The number of items to skip in the results. This is used for pagination. limit - The maximum number of items to return. This is used for pagination. sort - A value of 1 or -1 which represents the sort order of the results based on the creation date.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[{"id":"67fded2e-d545-49c6-bf6b-f26e13ca3f5b","name":"Get All Rates","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"},{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}?account={{account}}","protocol":"https","host":["capi","tokeet","com"],"path":["v1","rate","{{rental_pkey}}"],"query":[{"key":"account","value":"{{account}}"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":""}],"_postman_id":"796d4046-deaa-e4e6-398d-c437e3c6db19"},{"name":"Update A Standard Rate","id":"39acd885-01b2-65f8-16b5-2d7354d1f2b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rate 2\",\n  \"nightly\": 400,\n  \"rental_id\": \"d47782bd-ae16-48d9-bb36-9a23ad7c3585\",\n\n  \"start\": \"2017-12-23\",\n  \"end\": \"2017-12-26\",\n  \"category\": \"default\",\n\n  \"type\": \"standard\",\n\n  \"additionalFeeAmount\": 50,\n  \"additionalFeeThreshold\": 6,\n\n  \"minimum\": 2,\n  \"maximum\": 30,\n  \"maxguests\": 10,\n  \"monthly\": 8400,\n  \"weekly\": 2100,\n  \n  \"dayspecifics\": [\n        {\n          \"price\": \"100\",         \n          \"threshold\": 4,    \n          \"days\": [\n            1,          \n            2          \n          ],\n          \"thresholdfee\": 30    \n        }\n      ]\n}"},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}/{{rate_key}}?account={{account}}","description":"<p>This endpoint updates an existing standard rate in your account. A JSON payload must be included with this request. The possible fields and values are detailed in the rate creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}","{{rate_key}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[{"id":"87315dbb-d03c-44f3-82f1-78d183b37e3e","name":"Update A Standard Rate","originalRequest":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rate 2\",\n  \"nightly\": 400,\n  \"rental_id\": \"d47782bd-ae16-48d9-bb36-9a23ad7c3585\",\n\n  \"start\": \"2017-12-23\",\n  \"end\": \"2017-12-26\",\n  \"category\": \"default\",\n\n  \"type\": \"standard\",\n\n  \"additionalFeeAmount\": 50,\n  \"additionalFeeThreshold\": 6,\n\n  \"minimum\": 2,\n  \"maximum\": 30,\n  \"maxguests\": 10,\n  \"monthly\": 8400,\n  \"weekly\": 2100,\n  \n  \"dayspecifics\": [\n        {\n          \"price\": \"100\",         \n          \"threshold\": 4,    \n          \"days\": [\n            1,          \n            2          \n          ],\n          \"thresholdfee\": 30    \n        }\n      ]\n}"},"url":{"raw":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}/{{rate_key}}?account={{account}}","protocol":"https","host":["capi","tokeet","com"],"path":["v1","rate","{{rental_pkey}}","{{rate_key}}"],"query":[{"key":"account","value":"{{account}}"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"39acd885-01b2-65f8-16b5-2d7354d1f2b0"},{"name":"Update A Dynamic Rate","id":"76d74a3c-0c65-3814-7d4d-7bc58c256c67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rate dynamic 2\",\n  \"rental_id\": \"d47782bd-ae16-48d9-bb36-9a23ad7c3585\",\n\n  \"start\": \"2017-12-27\",\n  \"end\": \"2017-12-29\",\n  \"category\": \"default\",\n\n  \"type\": \"dynamic\",\n  \n  \"low_threshold\": 100,\n  \"high_threshold\": 200,\n\n  \"threshold_type\": \"monthly\",\n\n  \"low_rate\": 100,\n  \"high_rate\": 200,\n\n  \"additionalFeeAmount\": 50,\n  \"additionalFeeThreshold\": 6,\n  \n  \"minimum\": 5,\n  \"maximum\": 30,\n  \"maxguests\": 8,\n  \n  \"dayspecifics\": [\n        {\n          \"price\": 120,         \n          \"threshold\": 4,    \n          \"days\": [\n            1,          \n            2          \n          ],\n          \"thresholdfee\": 20    \n        }\n      ]\n}"},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}/{{rate_key}}/dynamic?account={{account}}","description":"<p>This endpoint updates an existing dynamic rate in your account. A JSON payload must be included with this request. The possible fields and values are detailed in the rate creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}","{{rate_key}}","dynamic"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"76d74a3c-0c65-3814-7d4d-7bc58c256c67"},{"name":"Update A Promotion Rate","id":"127f18a3-bc7b-a995-9589-957fad5dcef7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"rate promotion 2\",\n  \"nightly\": 202,\n  \"monthly\": 8400,\n  \"weekly\": 2100,\n  \"rental_id\": \"d47782bd-ae16-48d9-bb36-9a23ad7c3585\",\n\n  \"start\": \"2017-12-23\",\n  \"end\": \"2017-12-26\",\n  \"categories\": [\"default\"],\n\n  \"type\": \"promotion\",\n\n  \"additionalFeeAmount\": 50,\n  \"additionalFeeThreshold\": 6,\n\n  \"minimum\": 5,\n  \"maximum\": 30,\n  \"maxguests\": 8,\n  \n  \"dayspecifics\": [\n        {\n          \"price\": 120,         \n          \"threshold\": 4,    \n          \"days\": [\n            1,          \n            2          \n          ],\n          \"thresholdfee\": 20    \n        }\n      ]\n}"},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}/{{rate_key}}/promotion?account={{account}}","description":"<p>This endpoint updates an existing promotion rate in your account. A JSON payload must be included with this request. The possible fields and values are detailed in the rate creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}","{{rate_key}}","promotion"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"127f18a3-bc7b-a995-9589-957fad5dcef7"},{"name":"Delete All Rates","id":"48ef4b31-318d-008c-931d-705819465541","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}?account={{account}}","description":"<p>This endpoint deletes all standard, dynamic, and promotional rates from the specified rental.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"48ef4b31-318d-008c-931d-705819465541"},{"name":"Delete A Standard Rate","id":"9b5f2f78-c11f-2629-0179-0f624f339183","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}/{{rate_key}}?account={{account}}","description":"<p>This endpoint deletes an existing standard or dynamic rate in your account based on the rate pkey.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}","{{rate_key}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"9b5f2f78-c11f-2629-0179-0f624f339183"},{"name":"Delete A Promotion Rate","id":"412b32e1-38f8-0913-6f8e-9bd6377afeb1","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}/{{rate_key}}/promotion?account={{account}}","description":"<p>This endpoint deletes an existing promotion rate in your account based on the rate pkey.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}","{{rate_key}}","promotion"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"412b32e1-38f8-0913-6f8e-9bd6377afeb1"},{"name":"Delete A Dynamic Rate","id":"72c0f182-2539-5021-e551-f5cd75ea4609","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}/{{rate_key}}/dynamic?account={{account}}","description":"<p>This endpoint deletes an existing dynamic rate in your account based on the rate pkey.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}","{{rate_key}}","dynamic"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"72c0f182-2539-5021-e551-f5cd75ea4609"},{"name":"Delete Base Rate","id":"167eb626-2c0b-53a8-ee27-0b1f959d31e4","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://capi.tokeet.com/v1/rate/{{rental_pkey}}/base?account={{account}}","description":"<p>This endpoint deletes an existing base rate in your account based on the rate pkey.</p>\n","urlObject":{"protocol":"https","path":["v1","rate","{{rental_pkey}}","base"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"167eb626-2c0b-53a8-ee27-0b1f959d31e4"}],"id":"57bac2cb-376a-8c99-e50e-3828c833d942","description":"<p>A Rate is a resource within the Tokeet platform. It represents the prices for booking a rental over a set period of time. Rates may be static or dynamic depending on their type and configuration. They are bound to a specific rental and may be grouped with rate categories.</p>\n<p>If you have created rate maps between your rental and specific channels then each time you update your rates via the client API Tokeet will sync your rates. You may turn off auto synchronization of your rate map to stop this at anytime. You cannot create rate maps via the client API so you must create your maps in Tokeet then update your rates via the API.</p>\n<p>We highly recommend reading the various rates related help articles in the Tokeet help center before manipulating rates via the client API. Many of the checks and restrictions that exist on the front end are not implemented via the client API so you should be careful. There is no safety net when using the client API.</p>\n<p>There are three types of rates in Tokeet, Standard Rates, Promotion Rates, and Dynamic Rates. You should read about how they work in the help center.</p>\n<p>These API endpoints allow you to create, retrieve, update, and delete rates within a Tokeet account. The requests have the same impact as using the Tokeet web or mobile applications.</p>\n","_postman_id":"57bac2cb-376a-8c99-e50e-3828c833d942"},{"name":"Rentals","item":[{"name":"Create A Rental","id":"fc3b25d1-48c3-7acb-0098-a44cbb59b199","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{  \"name\": \"My Test Rental\",\n  \"email\": \"sadewa@saltfish.dev.tokeetmail.com\",\n  \"phone\": 12312124124124\n}"},"url":"https://capi.tokeet.com/v1/rental?account={{account}}","description":"<p>This endpoint allows you to create a new rental in your account. This request must include a JSON payload. The possible attributes in the payload are listed below.</p>\n<ul>\n<li><p>name - <code>required</code> The name of the rental.</p>\n</li>\n<li><p>email - <code>required</code> The rental's Tokeet email address. This must use your Tokeet account domain and be a well formatted email address.</p>\n</li>\n<li><p>display_name - The display name of the rental on your Tokeet website and other places.</p>\n</li>\n<li><p>phone - <code>required</code> The phone number of the rental.</p>\n</li>\n<li><p>address - The address of your rental. It should include the following components</p>\n</li>\n<li><ul>\n<li>address - The street address</li>\n</ul>\n</li>\n<li><ul>\n<li>city - The city the rental is in.</li>\n</ul>\n</li>\n<li><ul>\n<li>state - The state or province of the rental.</li>\n</ul>\n</li>\n<li><ul>\n<li>zip - The postal code of the rental.</li>\n</ul>\n</li>\n<li><ul>\n<li>CC - The country code of the rental.</li>\n</ul>\n</li>\n<li><p>bedrooms - <code>number</code> The number of bedrooms in the rental.</p>\n</li>\n<li><p>bathrooms - <code>number</code> The number of bathrooms in the rental.</p>\n</li>\n<li><p>sleep_min - <code>number</code> The minimum number of guests the rental can sleep.</p>\n</li>\n<li><p>sleep_max - <code>number</code> The maximum number of guests the rental can sleep.</p>\n</li>\n<li><p>description - A description of the rental.</p>\n</li>\n<li><p>type - The type of rental unit. The possible options are as follows:</p>\n</li>\n<li><ul>\n<li>Villa, House, Apartment, Studio, Private Room, Cottage, Castle, Boat, Farmhouse, Trullo, Other</li>\n</ul>\n</li>\n<li><p>size - <code>number</code> The size of the rental.</p>\n</li>\n<li><p>size_metric - The unit used for the rental size. Possible values are as follows:</p>\n</li>\n<li><ul>\n<li>SQFT, SQM</li>\n</ul>\n</li>\n<li><p>payment_terms - The payment terms of the rental.</p>\n</li>\n<li><p>payment_instructions - The payment instructions of the rental.</p>\n</li>\n<li><p>gps - The GPS coordinates of the rental expressed as a hash of two values.</p>\n</li>\n<li><ul>\n<li>lat - <code>number</code> The lattitude of the rental.</li>\n</ul>\n</li>\n<li><ul>\n<li>long: <code>number</code> The longitude of the rental.</li>\n</ul>\n</li>\n<li><p>tags - <code>array</code> An array of strings, which are tags of the rental.</p>\n</li>\n<li><p>custom1 - A custom string content.</p>\n</li>\n<li><p>custom2 - A custom string content.</p>\n</li>\n<li><p>custom3 - A custom string content.</p>\n</li>\n<li><p>custom4 - A custom string content.</p>\n</li>\n<li><p>custom5 - A custom string content.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","rental"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"fc3b25d1-48c3-7acb-0098-a44cbb59b199"},{"name":"Get A Rental","id":"6e9898ea-0924-b70b-8b2a-d0e3e0fca06a","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://capi.tokeet.com/v1/rental/{{rental_pkey}}?account={{account}}https://","description":"<p>Retrieve a rental with the specified rental id (pkey). This method returns a JSON object with the rental data.</p>\n","urlObject":{"protocol":"https","path":["v1","rental","{{rental_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}https://"}],"variable":[]}},"response":[],"_postman_id":"6e9898ea-0924-b70b-8b2a-d0e3e0fca06a"},{"name":"Get All Rentals","id":"d3b1bef3-f5bc-9a0b-d2f4-99a92ec2dbbc","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://capi.tokeet.com/v1/rental?account={{account}}","description":"<p>Retrieve all rentals in your account. We highly recommend using the pagination query parameters if you have many rentals in your account. The following query parameters may optionally by used.</p>\n<p>skip - The number of items to skip in the results. This is used for pagination.\nlimit - The maximum number of items to return in the results. This is used for pagination.\nsort - A value of 1 or -1 which represents the sort order of the results based on rental name.</p>\n","urlObject":{"protocol":"https","path":["v1","rental"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"d3b1bef3-f5bc-9a0b-d2f4-99a92ec2dbbc"},{"name":"Get All Rentals By Owner","id":"1a73707e-728c-1d89-02ba-7bff18144e39","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://capi.tokeet.com/v1/rental/owner/{{owner_pkey}}?account={{account}}","description":"<p>Retrieve all rentals belonging to the specified owner. </p>\n","urlObject":{"protocol":"https","path":["v1","rental","owner","{{owner_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"1a73707e-728c-1d89-02ba-7bff18144e39"},{"name":"Get A Rental Availability","id":"ab89fdee-df6a-eaa0-d576-6c925fc821db","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{}"},"url":"https://capi.tokeet.com/v1/rental/{{rental_pkey}}/availability?account={{account}}","description":"<p>Retrieve the open and blocked dates for a given rental over the upcoming 2 years.</p>\n","urlObject":{"protocol":"https","path":["v1","rental","{{rental_pkey}}","availability"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"ab89fdee-df6a-eaa0-d576-6c925fc821db"},{"name":"Update A Rental","id":"895c2657-cc4a-c130-0e5e-89a4b3d5750f","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{ \"bedrooms\": \"yes\"}"},"url":"https://capi.tokeet.com/v1/rental/{{rental_pkey}}?account={{account}}","description":"<p>This endpoint updates an existing rental in your account. A JSON payload must be included with this request. The possible fields and values are detailed in the rental creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","rental","{{rental_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"895c2657-cc4a-c130-0e5e-89a4b3d5750f"},{"name":"Delete A Rental","id":"c0858442-feaa-2ef0-78de-4a3257792513","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/rental/{{rental_pkey}}?account={{account}}","description":"<p>Permanently delete a rental from your account.</p>\n","urlObject":{"protocol":"https","path":["v1","rental","{{rental_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"c0858442-feaa-2ef0-78de-4a3257792513"},{"name":"Add An Owner To A Rental","id":"992fcd3b-17f9-a0aa-6d25-46280ea99ce2","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{ \"owner\" : \"{{owner_pkey}}\" }"},"url":"https://capi.tokeet.com/v1/rental/{{rental_pkey}}/owner?account={{account}}","description":"<p>This endpoint adds an existing owner to an existing rental in your account. The payload should be an empty JSON object.</p>\n","urlObject":{"protocol":"https","path":["v1","rental","{{rental_pkey}}","owner"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"992fcd3b-17f9-a0aa-6d25-46280ea99ce2"},{"name":"Delete An Owner From A Rental","id":"4591444d-1f44-e2d3-2cd5-14b17d95e9c4","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"https://capi.tokeet.com/v1/rental/{{rental_pkey}}/owner/{{owner_pkey}}?account={{account}}","description":"<p>This endpoint removes an existing owner from an existing rental in your account.</p>\n","urlObject":{"protocol":"https","path":["v1","rental","{{rental_pkey}}","owner","{{owner_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"4591444d-1f44-e2d3-2cd5-14b17d95e9c4"},{"name":"Restrict A User From A Rental","id":"2ed3c8d0-48bf-fd74-3325-bb6b7aa5699a","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{ \"user\":\"{{user_pkey}}\" }"},"url":"https://capi.tokeet.com/v1/rental/{{rental_pkey}}/restriction?account={{account}}","description":"<p>This endpoint restricts an existing user frmo accessing data of an existing rental in your account. The payload should be an empty JSON object.</p>\n","urlObject":{"protocol":"https","path":["v1","rental","{{rental_pkey}}","restriction"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"2ed3c8d0-48bf-fd74-3325-bb6b7aa5699a"},{"name":"Delete A User Restriction","id":"922ee685-ca5f-be9e-dd81-805fa9188744","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"https://capi.tokeet.com/v1/rental/{{rental_pkey}}/restriction/{{user_pkey}}?account={{account}}","description":"<p>This endpoint removes an existing user from the restrictions of an existing rental in your account.</p>\n","urlObject":{"protocol":"https","path":["v1","rental","{{rental_pkey}}","restriction","{{user_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"922ee685-ca5f-be9e-dd81-805fa9188744"}],"id":"ac1a8638-ad20-b820-c853-068fe51da327","description":"<p>A rental is a property resource (house, villa, apartment, etc) within the Tokeet platform. These API endpoints allow you to create, retrieve, updated, and delete rentals within your Tokeet account.</p>\n","_postman_id":"ac1a8638-ad20-b820-c853-068fe51da327"},{"name":"Tasks","item":[{"name":"Create A Task","id":"237232a9-c7c2-0d08-1673-fbdbeeffb177","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{  \"name\": \"My Test Task\",\n  \"list\": \"Some list\",\n  \"due\": 12312124124124\n}"},"url":"https://capi.tokeet.com/v1/task?account={{account}}","description":"<p>This endpoint allows you to create a new task in your account. This request must include a JSON payload. The possible attributes in the payload are listed below.</p>\n<ul>\n<li>name - <code>required</code> The name of the task.</li>\n<li>due - <code>required</code> An epoch timestamp representing the date and time the task is due. </li>\n<li>list - <code>required</code> The name of the list to which the task should be added. </li>\n<li>inquiry_id - The id of an inquiry to which the task is related.</li>\n<li>user_id - A user to which the task is assigned.</li>\n<li>notes - A note about the task.</li>\n<li>list - The list to which the task should be added..</li>\n<li>status - The status of the task. Possible values are as follows:</li>\n<li><ul>\n<li>1 - Active</li>\n</ul>\n</li>\n<li><ul>\n<li>2 - Completed</li>\n</ul>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","task"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"237232a9-c7c2-0d08-1673-fbdbeeffb177"},{"name":"Get A Task","id":"4deaa10c-297d-06ba-1119-35b1752c0abb","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/task/{{task_pkey}}?account={{account}}","description":"<p>Retrieve a task with the specified task id. This method returns a JSON object which represents the task data.</p>\n","urlObject":{"protocol":"https","path":["v1","task","{{task_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"4deaa10c-297d-06ba-1119-35b1752c0abb"},{"name":"Get All Tasks","id":"e37dfebb-5db6-20c5-732f-a91165e6c8f0","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/task?account={{account}}","description":"<p>Retrieve all tasks in your account. We highly recommend using the pagination query parameters if you have many tasks in your account. The following query parameters may optionally by used.</p>\n<p>skip - The number of items to skip in the results. This is used for pagination.\nlimit - The maximum number of items to return. This is used for pagination.\nsort - A value of 1 or -1 which represents the sort order of the results based on the task name.</p>\n","urlObject":{"protocol":"https","path":["v1","task"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"e37dfebb-5db6-20c5-732f-a91165e6c8f0"},{"name":"Update A Task","id":"305dfb7e-c7a0-c8d8-52d7-534c6305bb4c","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{ \"name\": \"My new name\"}"},"url":"https://capi.tokeet.com/v1/task/{{task_pkey}}?account={{account}}","description":"<p>This endpoint updates an existing task in your account. A JSON payload must be included with this request. The possible fields and values are detailed in the task creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","task","{{task_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"305dfb7e-c7a0-c8d8-52d7-534c6305bb4c"},{"name":"Delete A Task","id":"89eb96eb-58a9-c342-dcc8-bcd00567bd5d","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/task/{{task_pkey}}?account={{account}}","description":"<p>Permanently delete a task from your account.</p>\n","urlObject":{"protocol":"https","path":["v1","task","{{task_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"89eb96eb-58a9-c342-dcc8-bcd00567bd5d"}],"id":"7a9a6014-18ea-8290-75d2-4bc47626a7dc","description":"<p>An Task is a resource within the Tokeet platform. It represents a bit of work that must be done in relation to your rentals. These API endpoints allow you to create, retrieve, update, and delete tasks within your Tokeet account. The requests have the same afffect as using the Tokeet web or mobile applications.</p>\n","_postman_id":"7a9a6014-18ea-8290-75d2-4bc47626a7dc"},{"name":"Templates","item":[{"name":"Create A Template","id":"dd313f13-d727-7aea-4973-8a57bf4be52f","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"https://capi.tokeet.com/v1/template?account={{account}}","description":"<p>This endpoint allows you to create a new template in your account. This request must include a JSON payload. The possible attributes in the payload are listed below.</p>\n<ul>\n<li><p>name - <code>required</code> The name of the task.</p>\n</li>\n<li><p>body - <code>required</code> The text based body of the template. </p>\n</li>\n<li><p>type - <code>required</code> The type of the template. Possible values are listed below.</p>\n</li>\n<li><ul>\n<li>email</li>\n</ul>\n</li>\n<li><ul>\n<li>quote</li>\n</ul>\n</li>\n<li><ul>\n<li>contract</li>\n</ul>\n</li>\n<li><ul>\n<li>invoice</li>\n</ul>\n</li>\n<li><ul>\n<li>sms</li>\n</ul>\n</li>\n<li><ul>\n<li>https</li>\n</ul>\n</li>\n<li><p>description - A description of the template.</p>\n</li>\n<li><p>subject - A subject line for the template.</p>\n</li>\n<li><p>notes - A note about the task.</p>\n</li>\n<li><p>archived - <code>number</code> An epoch timestamp of when the template was archived, or 0 if it is not.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","template"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"dd313f13-d727-7aea-4973-8a57bf4be52f"},{"name":"Get A Template","id":"9bc2aac2-4e14-2539-0e61-6050a1c1cadc","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/template/{{template_pkey}}?account={{account}}","description":"<p>Retrieve a template with the specified template id. This method returns a JSON object which represents the template data.</p>\n","urlObject":{"protocol":"https","path":["v1","template","{{template_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"9bc2aac2-4e14-2539-0e61-6050a1c1cadc"},{"name":"Get All Templates","id":"37aa49d2-a53e-e7b0-3335-d8baf76d6659","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/template?account={{account}}","description":"<p>Retrieve all templates in your account. We highly recommend using the pagination query parameters if you have many templates in your account. The following query parameters may optionally by used.</p>\n<p>skip - The number of items to skip in the results. This is used for pagination.\nlimit - The maximum number of items to return. This is used for pagination.\nsort - A value of 1 or -1 which represents the sort order of the results based on the task name.\ntype - A template type to limit the results. Only templates of this type will be in the results.</p>\n","urlObject":{"protocol":"https","path":["v1","template"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"37aa49d2-a53e-e7b0-3335-d8baf76d6659"},{"name":"Update A Template","id":"3707efd4-4715-0b5b-c171-b52bc8890e05","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{ \"name\": \"My new template name\" }"},"url":"https://capi.tokeet.com/v1/template/{{template_pkey}}?account={{account}}","description":"<p>This endpoint updates an existing template in your account. A JSON payload must be included with this request. The possible fields and values are detailed in the template creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","template","{{template_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"3707efd4-4715-0b5b-c171-b52bc8890e05"},{"name":"Delete A Template","id":"25cca4bd-674f-95ed-c67d-b5408686d1b1","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/template/{{template_pkey}}?account={{account}}","description":"<p>Permanently delete a template from your account.</p>\n","urlObject":{"protocol":"https","path":["v1","template","{{template_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"25cca4bd-674f-95ed-c67d-b5408686d1b1"}],"id":"8467c0c0-9089-814b-a55c-f23d117754e7","description":"<p>A Template is a resource within the Tokeet platform. It represents a document or other form of text which will be used during communication between Tokeet and third parties. These API endpoints allow you to create, retrieve, update, and delete templates within your Tokeet account. The requests have the same afffect as using the Tokeet web or mobile applications.</p>\n","_postman_id":"8467c0c0-9089-814b-a55c-f23d117754e7"},{"name":"Triggers","item":[{"name":"Create A Trigger","id":"dac1075d-0e6a-7402-9c7f-0eb665a0d508","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"users\": [111],\n  \"rental_id\": \"55220531-8f72-4dba-9ba5-0b19015bd0db\",\n  \"event\": \"inquiry.book\",\n  \"template\": \"8469bac7-f7b0-4c58-a415-32db455f7925\",\n  \"handler\": \"Handlers::EmailHandler\",\n  \"hours\": 4\n}"},"url":"https://capi.tokeet.com/v1/trigger?account={{account}}","description":"<p>This endpoint allows you to create a new trigger in your account. This request must include a JSON payload. The possible attributes in the payload are listed below.</p>\n<ul>\n<li><p>users - <code>required</code> <code>array</code> This is an array of user ids that will receive the trigger notification. To send this trigger to the associated guest, please use the id '111'.</p>\n</li>\n<li><p>event - <code>required</code> This is the event to which the trigger is subscribed. You may enter either an event or timeevent when creating and updating triggers. The possible values are.</p>\n</li>\n<li><p>guest.create      </p>\n</li>\n<li><p>guest.update      </p>\n</li>\n<li><p>guest.delete      </p>\n</li>\n<li><p>message.create    </p>\n</li>\n<li><p>inquiry.create    </p>\n</li>\n<li><p>inquiry.book      </p>\n</li>\n<li><p>inquiry.cancel    </p>\n</li>\n<li><p>event.create      </p>\n</li>\n<li><p>event.delete      </p>\n</li>\n<li><p>invoice.create    </p>\n</li>\n<li><p>invoice.paid      </p>\n</li>\n<li><p>invoice.cancel    </p>\n</li>\n<li><p>contract.signed   </p>\n</li>\n<li><p>contract.rejected </p>\n</li>\n<li><p>system.error.ical.refresh </p>\n</li>\n<li><p>system.error</p>\n</li>\n<li><p>timeevent -  This is the time based event to which the trigger is subscribed. You may enter either an event or timeevent when creating and updating triggers. The possible values are.</p>\n</li>\n<li><p>time.before.invoice.due   </p>\n</li>\n<li><p>time.after.invoice.due    </p>\n</li>\n<li><p>time.before.booking.start </p>\n</li>\n<li><p>time.after.booking.start  </p>\n</li>\n<li><p>time.before.booking.end   </p>\n</li>\n<li><p>time.after.booking.end</p>\n</li>\n<li><p>rental - The id of the rental associated with this trigger.</p>\n</li>\n<li><p>template - <code>required</code> The id of the template associated with this trigger.</p>\n</li>\n<li><p>handler - <code>required</code> A handler which represents the action you wish to perform. The possible options.</p>\n</li>\n<li><p>Handlers::EmailHandler     </p>\n</li>\n<li><p>Handlers::ContractHandler </p>\n</li>\n<li><p>Handlers::SMSHandler      </p>\n</li>\n<li><p>Handlers::WebhookHandler  </p>\n</li>\n<li><p>Handlers::MobilePushHandler</p>\n</li>\n<li><p>hours - <code>required</code> <code>number</code> The number of hours associated with the trigger.</p>\n</li>\n<li><p>days - <code>number</code> The number of days associated with this trigger.</p>\n</li>\n<li><p>channel - The channel to which this trigger will apply. The current possible values are:</p>\n</li>\n<li><p>widget</p>\n</li>\n<li><p>tokeet</p>\n</li>\n<li><p>airbnb</p>\n</li>\n<li><p>expedia</p>\n</li>\n<li><p>booking</p>\n</li>\n<li><p>website</p>\n</li>\n<li><p>status - <code>number</code> The status of the expense. 0=paused, 1=active.</p>\n</li>\n<li><p>archived - <code>number</code> A value indicating if the trigger is archived. 0 means NOT archived, any non-zero value means archived.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","trigger"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"dac1075d-0e6a-7402-9c7f-0eb665a0d508"},{"name":"Get All Triggers","id":"700d49d3-80eb-ccf4-d113-69f406ec15ac","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"users\": [111],\n  \"rental_id\": \"55220531-8f72-4dba-9ba5-0b19015bd0db\",\n  \"event\": \"inquiry.book\",\n  \"template\": \"8469bac7-f7b0-4c58-a415-32db455f7925\",\n  \"handler\": \"Handlers::EmailHandler\",\n  \"hours\": 4\n}"},"url":"https://capi.tokeet.com/v1/trigger?account={{account}}","description":"<p>Retrieve all triggers in your account. We highly recommend using the pagination query parameters if you have many tasks in your account. The following query parameters may optionally by used.</p>\n<p>skip - The number of items to skip in the results. This is used for pagination. limit - The maximum number of items to return. This is used for pagination. sort - A value of 1 or -1 which represents the sort order of the results based on the creation date.</p>\n","urlObject":{"protocol":"https","path":["v1","trigger"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"700d49d3-80eb-ccf4-d113-69f406ec15ac"},{"name":"Get A Trigger","id":"9f4e70bf-bf7c-3d09-7ea0-fc1dad75f9d4","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"users\": [111],\n  \"rental_id\": \"55220531-8f72-4dba-9ba5-0b19015bd0db\",\n  \"event\": \"inquiry.book\",\n  \"template\": \"8469bac7-f7b0-4c58-a415-32db455f7925\",\n  \"handler\": \"Handlers::EmailHandler\",\n  \"hours\": 4\n}"},"url":"https://capi.tokeet.com/v1/trigger/0a6cd097-9738-4003-8c5c-aab80511e60d?account={{account}}","description":"<p>Retrieve a trigger with the specified trigger id. This method returns a JSON object which represents the trigger data.</p>\n","urlObject":{"protocol":"https","path":["v1","trigger","0a6cd097-9738-4003-8c5c-aab80511e60d"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"9f4e70bf-bf7c-3d09-7ea0-fc1dad75f9d4"},{"name":"Update A Trigger","id":"4c2f81b5-707a-4b2d-e72f-796725f02c56","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"users\": [111],\n  \"rental_id\": \"55220531-8f72-4dba-9ba5-0b19015bd0db\",\n  \"event\": \"inquiry.book\",\n  \"template\": \"8469bac7-f7b0-4c58-a415-32db455f7925\",\n  \"handler\": \"Handlers::EmailHandler\",\n  \"hours\": 4\n}"},"url":"https://capi.tokeet.com/v1/trigger/0a6cd097-9738-4003-8c5c-aab80511e60d?account={{account}}","description":"<p>This endpoint updates an existing trigger in your account. A JSON payload must be included with this request. The possible fields and values are detailed in the trigger creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","trigger","0a6cd097-9738-4003-8c5c-aab80511e60d"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"4c2f81b5-707a-4b2d-e72f-796725f02c56"},{"name":"Pause A Trigger","id":"cb8afcd3-3b45-025d-f5f3-3a8e4489aaba","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://capi.tokeet.com/v1/trigger/0a6cd097-9738-4003-8c5c-aab80511e60d/pause?account={{account}}","description":"<p>This endpoint pauses an existing trigger in your account. An empty JSON payload must be included with this request. </p>\n","urlObject":{"protocol":"https","path":["v1","trigger","0a6cd097-9738-4003-8c5c-aab80511e60d","pause"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"cb8afcd3-3b45-025d-f5f3-3a8e4489aaba"},{"name":"Resume A Trigger","id":"45d7011f-ddfe-8f54-0be6-d8f36ea6a694","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://capi.tokeet.com/v1/trigger/0a6cd097-9738-4003-8c5c-aab80511e60d/resume?account={{account}}","description":"<p>This endpoint resumes an existing trigger in your account. An empty JSON payload must be included with this request. </p>\n","urlObject":{"protocol":"https","path":["v1","trigger","0a6cd097-9738-4003-8c5c-aab80511e60d","resume"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"45d7011f-ddfe-8f54-0be6-d8f36ea6a694"},{"name":"Archive A Trigger","id":"135b2c0c-17f2-af8a-f653-aba86d5a974b","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://capi.tokeet.com/v1/trigger/0a6cd097-9738-4003-8c5c-aab80511e60d/archive?account={{account}}","description":"<p>This endpoint archives an existing trigger in your account. An empty JSON payload must be included with this request. </p>\n","urlObject":{"protocol":"https","path":["v1","trigger","0a6cd097-9738-4003-8c5c-aab80511e60d","archive"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"135b2c0c-17f2-af8a-f653-aba86d5a974b"},{"name":"Unarchive A Trigger","id":"ee40eba1-24d6-cdc7-c634-02f01c36375f","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://capi.tokeet.com/v1/trigger/0a6cd097-9738-4003-8c5c-aab80511e60d/unarchive?account={{account}}","description":"<p>This endpoint unarchives an existing trigger in your account. An empty JSON payload must be included with this request. </p>\n","urlObject":{"protocol":"https","path":["v1","trigger","0a6cd097-9738-4003-8c5c-aab80511e60d","unarchive"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"ee40eba1-24d6-cdc7-c634-02f01c36375f"},{"name":"Delete A Trigger","id":"2836174d-e8ec-d106-e83c-04b065e01902","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n}"},"url":"https://capi.tokeet.com/v1/trigger/0a6cd097-9738-4003-8c5c-aab80511e60d?account={{account}}","description":"<p>This endpoint deletes an existing trigger in your account based on the trigger pkey.</p>\n","urlObject":{"protocol":"https","path":["v1","trigger","0a6cd097-9738-4003-8c5c-aab80511e60d"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"2836174d-e8ec-d106-e83c-04b065e01902"}],"id":"184c6680-0ec0-015c-dfa2-7cce72c07957","description":"<p>A Trigger is a resource within the Tokeet platform. It's an instruction to Tokeet to perform a particular action when an event occurs. For example, triggers can be used to notify you via email or SMS when a new booking is received or to automatically reply to guests. These API endpoints allow you to create, retrieve, update, and delete triggers within your Tokeet account. These api requests have the same afffect as using the Tokeet web or mobile applications.</p>\n","_postman_id":"184c6680-0ec0-015c-dfa2-7cce72c07957"},{"name":"Users","item":[{"name":"Create A User","id":"c98fe501-c6fe-08a5-037b-e19e796e86fd","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"firstname\": \"Adam\",\n  \"lastname: \"Smith\",\n  \"email\": \"adam@smith.com\"\n}\n"},"url":"https://capi.tokeet.com/v1/user?account={{account}}","description":"<p>This endpoint allows you to create a new user in your account. This request must include a JSON payload. The possible attributes in the payload are listed below.</p>\n<ul>\n<li><p>username - A username for the user. This is the user's email address by default.</p>\n</li>\n<li><p>firstname - <code>required</code> The user's first name. </p>\n</li>\n<li><p>lastname - <code>required</code> The user's last name.</p>\n</li>\n<li><p>email - <code>required</code> <code>email</code> The user's primary email. This will be converted to <code>primaryemail</code> then added to the users <code>email</code> array.</p>\n</li>\n<li><p>roles - An array of roles or user types for this user. The possible values are as follows:</p>\n</li>\n<li><ul>\n<li>1 - admin</li>\n</ul>\n</li>\n<li><ul>\n<li>1.1 - manager</li>\n</ul>\n</li>\n<li><ul>\n<li>1.2 - billing</li>\n</ul>\n</li>\n<li><ul>\n<li>1.5 - staff</li>\n</ul>\n</li>\n<li><ul>\n<li>1.6 - owner</li>\n</ul>\n</li>\n<li><p>address - This is a hash of address components. The values in the hash should be as follows:</p>\n</li>\n<li><ul>\n<li>street - A street address.</li>\n</ul>\n</li>\n<li><ul>\n<li>city - A city name.</li>\n</ul>\n</li>\n<li><ul>\n<li>state - A state or province.</li>\n</ul>\n</li>\n<li><ul>\n<li>country - A country name.</li>\n</ul>\n</li>\n<li><ul>\n<li>postal_code - A postal code.</li>\n</ul>\n</li>\n<li><ul>\n<li>country_code - A two letter country code.</li>\n</ul>\n</li>\n<li><p>phone - The user's phone number.</p>\n</li>\n<li><p>notes - <code>array</code> An array of notes about the user.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","user"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"c98fe501-c6fe-08a5-037b-e19e796e86fd"},{"name":"Record A User Note","id":"9449b4eb-98ae-0977-6655-4eef266edc3a","request":{"method":"POST","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"note\":\"This is my note.\"\n}"},"url":"https://capi.tokeet.com/v1/user/{{user_pkey}}/note?account={{account}}","description":"<p>This endpoint allows you to create a note on a user. Notes are used to keep track of information regarding a user for future reference. You must supply a JSON payload with this request. There is only one parameter, which is reqiured.</p>\n<ul>\n<li>note - The note to record.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","user","{{user_pkey}}","note"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"9449b4eb-98ae-0977-6655-4eef266edc3a"},{"name":"Get A User","id":"45779765-7a97-9e0b-a9f8-f766f0c72e35","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/user/{{user_pkey}}?account={{account}}","description":"<p>Retrieve a user with the specified user pkey. This method returns a JSON object which represents the user data.</p>\n","urlObject":{"protocol":"https","path":["v1","user","{{user_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"45779765-7a97-9e0b-a9f8-f766f0c72e35"},{"name":"Get Current User","id":"aee56201-fd14-22e9-5cee-bbe02ae6633f","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/user/me?account={{account}}","description":"<p>Retrieve the current user associated with your API calls. This method returns a JSON object which represents the user data.</p>\n","urlObject":{"protocol":"https","path":["v1","user","me"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"aee56201-fd14-22e9-5cee-bbe02ae6633f"},{"name":"Get All Users","id":"8aa4ba4f-797e-7b83-3335-62941c7d5b66","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/user?account={{account}}","description":"<p>Retrieve all users in your account. We highly recommend using the pagination query parameters if you have many users in your account. The following query parameters may optionally by used.</p>\n<p>skip - The number of items to skip in the results. This is used for pagination.\nlimit - The maximum number of items to return. This is used for pagination.</p>\n","urlObject":{"protocol":"https","path":["v1","user"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"8aa4ba4f-797e-7b83-3335-62941c7d5b66"},{"name":"Get All Users Notes","id":"dba59ad8-8362-2aec-7045-ef511b40ead6","request":{"method":"GET","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/user/{{user_pkey}}/note?account={{account}}","description":"<p>Retrieve all user notes for a specific user.</p>\n","urlObject":{"protocol":"https","path":["v1","user","{{user_pkey}}","note"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"dba59ad8-8362-2aec-7045-ef511b40ead6"},{"name":"Update A User","id":"08e9c8c9-9a8c-0c4d-a889-0d40a041a3be","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":""},"url":"https://capi.tokeet.com/v1/user/{{user_pkey}}?account={{account}}","description":"<p>This endpoint updates an existing user in your account. A JSON payload must be included with this request. The possible fields and values are detailed in the user creation endpoint description.</p>\n","urlObject":{"protocol":"https","path":["v1","user","{{user_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"08e9c8c9-9a8c-0c4d-a889-0d40a041a3be"},{"name":"Update A User Note","id":"7f46c8e8-ce9f-de8d-0770-dfad4452bcb6","request":{"method":"PUT","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"raw","raw":"{\n  \"key\":\"3453f3452345334r\",\n  \"note\":\"This is my update\"\n}"},"url":"https://capi.tokeet.com/v1/user/{{user_pkey}}/note/{{notekey}}?account={{account}}","description":"<p>This endpoint updates an existing user note . A JSON payload must be included with this request. The required fields are:</p>\n<ul>\n<li>key - The key of the note.</li>\n<li>note - The text to replace the existing note text.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["v1","user","{{user_pkey}}","note","{{notekey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"7f46c8e8-ce9f-de8d-0770-dfad4452bcb6"},{"name":"Delete A User Note","id":"b43a8f68-2db8-045d-e8ee-2f281f5ac20d","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/user/{{user_pkey}}/note/{{note_key}}?account={{account}}","description":"<p>This endpoint allows you to delete a previously saved user note. You must provide the guest id and note key.</p>\n","urlObject":{"protocol":"https","path":["v1","user","{{user_pkey}}","note","{{note_key}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"b43a8f68-2db8-045d-e8ee-2f281f5ac20d"},{"name":"Delete A User","id":"dc465fba-17cc-c7b5-0841-9bf3bc290e17","request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{apikey}}"}],"body":{"mode":"formdata","formdata":[]},"url":"https://capi.tokeet.com/v1/user/{{user_pkey}}?account={{account}}","description":"<p>Permanently delete a user from your account.</p>\n","urlObject":{"protocol":"https","path":["v1","user","{{user_pkey}}"],"host":["capi","tokeet","com"],"query":[{"key":"account","value":"{{account}}"}],"variable":[]}},"response":[],"_postman_id":"dc465fba-17cc-c7b5-0841-9bf3bc290e17"}],"id":"bb2cc9b8-a561-5601-3ae4-b2fda08321fd","description":"<p>A User is a resource within the Tokeet platform. It represents a person who is authorized to access your Tokeet account and make changes to specified data. These API endpoints allow you to create, retrieve, update, and delete users within your Tokeet account. The requests have the same afffect as using the Tokeet web or mobile applications.</p>\n","_postman_id":"bb2cc9b8-a561-5601-3ae4-b2fda08321fd"}],"event":[{"listen":"prerequest","script":{"id":"094cf84b-0d0d-42e1-86b8-5a7d6d347988","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"c7b636b3-af5f-49ff-8427-189e38e73016","type":"text/javascript","exec":[""]}}]}