{"info":{"_postman_id":"4663aa26-2447-4cd8-8c2a-2b95cf146f95","name":"CrankWheel reseller RESTful API","description":"<html><head></head><body><p>CrankWheel's RESTful API for resellers and other partners that need a tight integration between their platform and CrankWheel, is available for those customers of CrankWheel whose accounts have been upgraded to reseller status.</p>\n<p>An account with this status can have zero or more sub-accounts, each of which is called a \"client\" and which is effectively an independent company account.</p>\n<p>An API key generated for an owner or administrator on the reseller account is valid for use with the reseller API.</p>\n<p>Using a reseller API key, you may also impersonate any of your client accounts by building a special impersonation key. Let's say the ID of your client is 12345, and that your reseller key is ABCDEFG. If you build a string like \"resellerimpersonate-12345-ABCDEFG\" then you may now use this string as an API key to impersonate as an administrator of client company 12345. The authentication system will verify that your key is a reseller key, and that the requested company is a sub-company (a \"client\") under your reseller account.</p>\n<p>For {{server-url}} in the following APIs, you should in all cases use <a href=\"https://meeting.is\">https://meeting.is</a> unless otherwise instructed by your technical point of contact at CrankWheel.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"1953706","collectionId":"4663aa26-2447-4cd8-8c2a-2b95cf146f95","publishedId":"S11Lscu6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2019-03-27T14:04:45.000Z"},"item":[{"name":"Clients management","item":[{"name":"Get clients list","id":"2d944aa8-5b26-489b-8552-fafd7f63118c","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"url":"{{server-url}}/ss/rsapi/clients","description":"<p>Retrieves a list of all clients (sub-companies) of the reseller for which you provide an API token (read-only token is OK).</p>\n<p>For each client, the list has an object with the following attributes, each of which can take the value null if unset:</p>\n<p><strong>id</strong>: The unique, immutable, read-only ID of the client account, for use in other APIs.</p>\n<p><strong>sname</strong>: The short name of the company. Used to construct links for that company, e.g. if <strong>sname</strong> is \"acme\" then a URL for that company could be meeting.is/acme</p>\n<p><strong>lname</strong>: Human readable name on the account, used in various places in the CrankWheel user interface, including viewer-facing.</p>\n<p><strong>smsname</strong>: A name used when sending SMS text messages on behalf of the account, shown in countries where the relevant sender name feature is available.</p>\n<p><strong>host</strong>: The host name to use when building URLs. Can currently be either \"meeting.is\" (default) or \"syna.is\".</p>\n<p><strong>hl</strong>: The human language (RFC 1766) that the user interface for viewers should be shown in. Available languages are 'en', 'de', 'fi', 'fr', 'is', 'it', 'ja', 'nl', 'no' and 'pl'.</p>\n<p><strong>geo</strong>: The geographical location of the primary server cluster for this account. Should be chosen to be as close to agents of the client company as possible. Available values are 'eu1' (default, Ireland), 'eu2' (Frankfurt), 'us1' (Ohio) and 'ap1' (Singapore).</p>\n<p><strong>logo</strong>: A URL to the client company's logo, or nil if unset.</p>\n<p><strong>post_session_url</strong>: The URL viewers should be redirected to after completing a screen share with agents of the client company, or nil if unset in which case a default CrankWheel-provided page is used.</p>\n<p><strong>remove_cw_branding</strong>: False or nil by default, which indicates \"powered by CrankWheel\" branding is shown. True to remove this type of branding from all viewer-facing interfaces.</p>\n<p><strong>session_limit</strong>: A read-only attribute indicating the maximum number of meetings per month the account is allowed. A meeting is either an Instant Demos request that results in a phone call (and possibly a screen share), or a stand-alone screen share. Stand-alone screenshares are counted towards the limit when at least one viewer is connected for at least 40 seconds. May be 99999999 for unlimited. A screen share resulting from an Instant Demos request is not also counted as a standalone screen share.</p>\n<p><strong>license_count</strong>: Another read-only attribute, this one indicating how many users may be created on the account. May be null or 99999999 for unlimited.</p>\n<p><strong>current_plan</strong>: The API name of the currently set plan for the client, or \"unset_or_custom\" if a plan has not been set. This is a read-only field in the clients list, but may be set using the Set Plan for Client API. When it gets set it implicitly sets <strong>session_limit</strong> and <strong>license_count</strong> to match the chosen plan.</p>\n<p><strong>api_access_enabled</strong>: True by default, can be set to false if you do not wish the client to have access to CrankWheel's programmatic API.</p>\n<p><strong>integrations_enabled</strong>: False or nil by default. Set to true to allow the client company to use CrankWheel's Salesforce integration.</p>\n<p><strong>demo_id</strong>: If nil, the client company has not enabled Instant Demos. If not nil, this is the demo ID for the account, which is the only non-static part of the Instant Demos JavaScript snippet.</p>\n<p><strong>first_exceeded_soft_limit</strong> and <strong>hard_limit_starts</strong>: These must both be set at once, or both be unset to null at once. They are UTC+0 timestamps in the format \"YYYY-MM-DD HH:mm:SS.0Z\", for example \"2019-03-03 15:08:10.0Z\". <strong>first_exceeded_soft_limit</strong> must precede <strong>hard_limit_starts</strong>. If the current time is between <strong>first_exceeded_soft_limit</strong> and <strong>hard_limit_starts</strong>, then CrankWheel will indicate to agents of the client that their company account is on a probationary period, they have unlimited usage but it will switch to a hard limit on <strong>hard_limit_starts</strong> unless they upgrade. If the current time is after <strong>hard_limit_starts</strong>, screen sharing sessions in excess of <strong>session_limit</strong> in the trailing 28-day period will be disallowed and a web page will pop up instead explaining that the company has exceeded its limits and needs to upgrade if it still wishes to screen share.</p>\n<p>Within the <strong>settings</strong> collection are more fine-grained settings. This collection contains a <strong>settings.id</strong> that must be set to the same value if you want to use the Update Client API to modify settings, but you can leave out any other setting parameters that you do not wish to modify.</p>\n<p><strong>settings.id</strong>: The unique ID of the settings object, which must be used when updating the object.</p>\n<p><strong>settings.provisioning_provider</strong>: Can be \"default\" or \"reseller\". If it is \"reseller\", you can use the reseller single sign-on API.</p>\n<p><strong>settings.provisioning_displayname</strong>: This is nil when the provider is default, otherwise should be set. It is used used as a descriptive name for the reseller account where users should go to log in, as well as add/remove users.</p>\n<p><strong>settings.provisioning_url</strong>: This is nil when the provider is default, otherwise should be set. It is used to link back to where users should go to log in or add and remove users.</p>\n<p><strong>settings.(window|tab|screen)</strong>: These are true by default. For any of them, if set to false, that sharing mode will be disallowed for agents on this account.</p>\n<p><strong>settings.allow_edit_(picture|name|headline)</strong>: Default true. If set to false, agents themselves cannot edit their picture/name/headline through the options page.</p>\n<p><strong>settings.allow_changing_lobby_settings</strong>: Default true. If false, administrators on the account cannot change the <strong>sname</strong> parameter on the account.</p>\n<p><strong>settings.enable_remote_control</strong>: Default false. Set to true to enable the Remote Control functionality on this account.</p>\n<p><strong>settings.audit_log</strong>: Default false. Set to true to enable the Audit Log functionality on this account.</p>\n<p><strong>settings.content_filter_pattern</strong>: A match pattern, as described <a href=\"https://developer.chrome.com/extensions/match_patterns\">here</a>, to limit screen sharing on this account to a defined set of websites/pages that CrankWheel should allow agents to screen share on this account when sharing a tab. Any URLs not matching one of these patterns will be disallowed from screen sharing when sharing a browser tab. When set, this indirectly sets <strong>settings.content_filter_regex</strong> which should never be directly set.</p>\n<p><strong>settings.sms_template</strong>: Normally unset. This allows you to set a template for SMS text messages other than the default. The template must include {{link}} as a placeholder that will be replaced with the dynamically-created link to join the agent's session.</p>\n<p><strong>settings.email_invite_subject</strong> and <strong>settings.email_invite_body</strong>: Normally unset. This allows you to modify the email template used to invite viewers to a session. In either the email subject or body, you may use {{userName}} and {{screenSharingLink}} as placeholders that will be replaced with the agent's configured name and a link to view their screen share, respectively. You must use {{screenSharingLink}} at least once in the body.</p>\n<p><strong>settings.dod_field_order_template</strong>: Default nil. Set to a comma-separated list of Instant Demos field names to have those fields always appear in that order and before other fields when presenting an Instant Demos prospect.</p>\n<p><strong>settings.phone_conf_manual</strong>: Default false. If set to true, the fields <strong>phone_conf_provider</strong>, <strong>phone_conf_main_number</strong> and <strong>phone_conf_extra_numbers</strong> may be set to specify details of the phone conferencing provider that is being manually configured on the account.</p>\n<p><strong>settings.lobby_url</strong>: Default unset. Custom lobby URL for company to use if redirect is set up from URL to meeting.is/company. This lets a client company set up a custom domain name or web page that redirects to the CrankWheel lobby or hosts it in an iframe, and this setting makes the custom domain name or web page URL show up in presenters' user interfaces.</p>\n<p><strong>settings.stay_in_lobby</strong> and <strong>settings.auto_accept_in_lobby</strong>: These should not be changed from false. They are deprecated fields and will be removed in a later version.</p>\n","urlObject":{"path":["ss","rsapi","clients"],"host":["{{server-url}}"],"query":[],"variable":[]}},"response":[{"id":"33bd9cdf-7556-4afc-918a-a2d5feafa7ee","name":"Get clients list","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"url":"{{server-url}}/ss/rsapi/clients"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 14:53:50 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"8urraia0i677f6j885uqdtnqjk9so7ba"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"current_plan\": \"unset_or_custom\",\n        \"sname\": \"companyone\",\n        \"smsname\": null,\n        \"settings\": {\n            \"window\": true,\n            \"tab\": true,\n            \"stay_in_lobby\": false,\n            \"sms_template\": null,\n            \"screen\": true,\n            \"provisioning_url\": \"\",\n            \"provisioning_provider\": \"default\",\n            \"provisioning_displayname\": \"\",\n            \"phone_conf_provider\": \"\",\n            \"phone_conf_manual\": false,\n            \"phone_conf_main_number\": null,\n            \"phone_conf_extra_numbers\": null,\n            \"lobby_url\": null,\n            \"id\": \"0067dc5e-3d09-484a-8929-2b7a8df04b01\",\n            \"enable_remote_control\": false,\n            \"email_invite_subject\": null,\n            \"email_invite_body\": null,\n            \"dod_field_order_template\": null,\n            \"content_filter_regex\": \"\",\n            \"content_filter_pattern\": null,\n            \"auto_accept_in_lobby\": false,\n            \"audit_log\": false,\n            \"allow_edit_picture\": true,\n            \"allow_edit_name\": true,\n            \"allow_edit_headline\": true,\n            \"allow_changing_lobby_settings\": true\n        },\n        \"session_limit\": 25,\n        \"remove_cw_branding\": true,\n        \"post_session_url\": null,\n        \"logo\": \"https://s3-eu-west-1.amazonaws.com/cw.company.logos/companyone.1539902728975359524.png\",\n        \"lname\": \"Company One\",\n        \"license_count\": null,\n        \"integrations_enabled\": false,\n        \"id\": 44109,\n        \"host\": \"meeting.is\",\n        \"hl\": \"en\",\n        \"hard_limit_starts\": null,\n        \"geo\": \"eu1\",\n        \"first_exceeded_soft_limit\": null,\n        \"demo_id\": \"Fy-U_BBJ\",\n        \"api_access_enabled\": true\n    },\n    {\n        \"current_plan\": \"plan_1\",\n        \"sname\": \"companytwo\",\n        \"smsname\": null,\n        \"settings\": {\n            \"window\": true,\n            \"tab\": true,\n            \"stay_in_lobby\": false,\n            \"sms_template\": null,\n            \"screen\": true,\n            \"provisioning_url\": \"http://companytwo.com/\",\n            \"provisioning_provider\": \"reseller\",\n            \"provisioning_displayname\": \"Company Two Reseller\",\n            \"phone_conf_provider\": \"\",\n            \"phone_conf_manual\": false,\n            \"phone_conf_main_number\": null,\n            \"phone_conf_extra_numbers\": null,\n            \"lobby_url\": null,\n            \"id\": \"832eb7f8-7ee8-42e9-a15f-6e51f8d051db\",\n            \"enable_remote_control\": false,\n            \"email_invite_subject\": null,\n            \"email_invite_body\": null,\n            \"dod_field_order_template\": null,\n            \"content_filter_regex\": \"\",\n            \"content_filter_pattern\": null,\n            \"auto_accept_in_lobby\": false,\n            \"audit_log\": false,\n            \"allow_edit_picture\": true,\n            \"allow_edit_name\": true,\n            \"allow_edit_headline\": true,\n            \"allow_changing_lobby_settings\": true\n        },\n        \"session_limit\": 10,\n        \"remove_cw_branding\": true,\n        \"post_session_url\": \"https://www.companytwo.com/\",\n        \"logo\": \"https://s3-eu-west-1.amazonaws.com/cw.company.logos/3351995.1536163883867281235.png\",\n        \"lname\": \"Company Two\",\n        \"license_count\": 10,\n        \"integrations_enabled\": true,\n        \"id\": 27084,\n        \"host\": \"meeting.is\",\n        \"hl\": \"en\",\n        \"hard_limit_starts\": null,\n        \"geo\": \"eu1\",\n        \"first_exceeded_soft_limit\": null,\n        \"demo_id\": \"1cUt2RTd\",\n        \"api_access_enabled\": true\n    }\n]"}],"_postman_id":"2d944aa8-5b26-489b-8552-fafd7f63118c"},{"name":"Show client by ID","id":"96898ec6-a2ce-4b6b-ad96-ff0b2834b54c","request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"url":"{{server-url}}/ss/rsapi/clients/:id","description":"<p>This shows a particular client. For details on the fields you will receive for the client, see the Get Clients List API.</p>\n","urlObject":{"path":["ss","rsapi","clients",":id"],"host":["{{server-url}}"],"query":[],"variable":[{"type":"any","value":"27084","key":"id"}]}},"response":[{"id":"0116d4d2-afad-435e-a9a9-3049debf9ea0","name":"Show client by ID","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"url":{"raw":"{{server-url}}/ss/rsapi/clients/:id","host":["{{server-url}}"],"path":["ss","rsapi","clients",":id"],"variable":[{"key":"id","value":"44093"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:31:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"5qknmcr77n45fr07fko9upg4s4fr9pa5"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"},{"key":"Content-Encoding","value":"gzip"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_plan\": \"plan_1\",\n    \"sname\": \"companyone\",\n    \"smsname\": null,\n    \"settings\": {\n        \"window\": true,\n        \"tab\": true,\n        \"stay_in_lobby\": false,\n        \"sms_template\": null,\n        \"screen\": true,\n        \"provisioning_url\": \"http://companyone.com/\",\n        \"provisioning_provider\": \"reseller\",\n        \"provisioning_displayname\": \"Company One Reseller\",\n        \"phone_conf_provider\": \"\",\n        \"phone_conf_manual\": false,\n        \"phone_conf_main_number\": null,\n        \"phone_conf_extra_numbers\": null,\n        \"lobby_url\": null,\n        \"id\": \"832eb7f8-7ff8-42e9-a15f-6e51f8d051db\",\n        \"enable_remote_control\": false,\n        \"email_invite_subject\": null,\n        \"email_invite_body\": null,\n        \"dod_field_order_template\": null,\n        \"black_list_regex\": \"\",\n        \"black_list_pattern\": null,\n        \"auto_accept_in_lobby\": false,\n        \"audit_log\": false,\n        \"allow_edit_picture\": true,\n        \"allow_edit_name\": true,\n        \"allow_edit_headline\": true,\n        \"allow_changing_lobby_settings\": true\n    },\n    \"session_limit\": 10,\n    \"remove_cw_branding\": true,\n    \"post_session_url\": \"https://www.companyone.com/\",\n    \"logo\": \"https://s3-eu-west-1.amazonaws.com/cw.company.logos/335199.1536163883867281235.png\",\n    \"lname\": \"Company One\",\n    \"license_count\": 10,\n    \"integrations_enabled\": true,\n    \"id\": 27084,\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"hard_limit_starts\": null,\n    \"geo\": \"eu1\",\n    \"first_exceeded_soft_limit\": null,\n    \"demo_id\": \"1cUt2ESd\",\n    \"api_access_enabled\": true\n}"}],"_postman_id":"96898ec6-a2ce-4b6b-ad96-ff0b2834b54c"},{"name":"Create client","id":"d8fe3888-197c-4446-bd6e-cf4a214c1aac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"company\": {\n    \"sname\": \"clientsname\",\n    \"lname\": \"Long Name for Company\",\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"settings\": {\n    \t\"provisioning_provider\": \"reseller\",\n    \t\"provisioning_displayname\": \"Long Name Sales Console\",\n    \t\"provisioning_url\": \"https://longname.com/login\"\n    }\n}}"},"url":"{{server-url}}/ss/rsapi/clients","description":"<p>This creates a client under your reseller account.</p>\n<p>You may send any or all of the fields documented under the Get Clients List API, unless they are read-only or an ID field.</p>\n<p>Note the following constraints on fields:</p>\n<p><em>sname</em>: Must be 7 to 32 characters long, lower-case alphanumeric.</p>\n<p><em>smsname</em>: Must be 11 characters or shorter, alphanumeric including at least one character a-z or A-Z.</p>\n","urlObject":{"path":["ss","rsapi","clients"],"host":["{{server-url}}"],"query":[],"variable":[]}},"response":[{"id":"4b02ae6e-b78e-43f9-b028-34d284c0b5b3","name":"Create client","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"company\": {\n    \"sname\": \"shortname78\",\n    \"lname\": \"Long Name for Company\",\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"settings\": {\n    \t\"provisioning_provider\": \"reseller\",\n    \t\"provisioning_displayname\": \"Long Name Sales Console\",\n    \t\"provisioning_url\": \"https://longname.com/login\"\n    }\n}}"},"url":"{{server-url}}/ss/rsapi/clients"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:32:56 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1132"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"871ddpel8svvjef971astctg67et3gk2"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_plan\": \"unset_or_custom\",\n    \"sname\": \"shortname78\",\n    \"smsname\": null,\n    \"settings\": {\n        \"window\": true,\n        \"tab\": true,\n        \"stay_in_lobby\": false,\n        \"sms_template\": \"\",\n        \"screen\": true,\n        \"provisioning_url\": \"https://longname.com/login\",\n        \"provisioning_provider\": \"reseller\",\n        \"provisioning_displayname\": \"Long Name Sales Console\",\n        \"phone_conf_provider\": \"\",\n        \"phone_conf_manual\": false,\n        \"phone_conf_main_number\": \"\",\n        \"phone_conf_extra_numbers\": \"\",\n        \"lobby_url\": \"\",\n        \"id\": \"6b3ddac7-af41-4a60-913c-1960068d3513\",\n        \"enable_remote_control\": false,\n        \"email_invite_subject\": \"\",\n        \"email_invite_body\": \"\",\n        \"dod_field_order_template\": \"\",\n        \"black_list_regex\": \"\",\n        \"black_list_pattern\": \"\",\n        \"auto_accept_in_lobby\": false,\n        \"audit_log\": false,\n        \"allow_edit_picture\": true,\n        \"allow_edit_name\": true,\n        \"allow_edit_headline\": true,\n        \"allow_changing_lobby_settings\": true\n    },\n    \"session_limit\": null,\n    \"remove_cw_branding\": false,\n    \"post_session_url\": null,\n    \"logo\": null,\n    \"lname\": \"Long Name for Company\",\n    \"license_count\": null,\n    \"integrations_enabled\": false,\n    \"id\": 40171,\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"hard_limit_starts\": null,\n    \"geo\": \"eu1\",\n    \"first_exceeded_soft_limit\": null,\n    \"demo_id\": null,\n    \"api_access_enabled\": true\n}"},{"id":"5a036c02-6c8c-4745-86e4-26d561b92c60","name":"Create client, sname too long","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"company\": {\n    \"sname\": \"snametoolongsnametoolongsnametoolongsnametoolongsnametoolongsnametoolongsnametoolong\",\n    \"lname\": \"Long Name for Company\",\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"settings\": {\n    \t\"provisioning_provider\": \"reseller\",\n    \t\"provisioning_displayname\": \"Long Name Sales Console\",\n    \t\"provisioning_url\": \"https://longname.com/login\"\n    }\n}}"},"url":"{{server-url}}/ss/rsapi/clients"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Fri, 14 Jun 2019 15:35:33 GMT"},{"key":"content-length","value":"58"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"mpb0nljl1v41k4akvhqcq5155g2qjm19"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"sname\": [\n            \"should be at most 32 character(s)\"\n        ]\n    }\n}"},{"id":"8dfb7c0a-7e6d-4ce2-a8df-cdd4793494ad","name":"Create client (sname already taken, by a company that is a client of this reseller)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"company\": {\n    \"sname\": \"lumberjacky\",\n    \"lname\": \"Long Name for Company\",\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"settings\": {\n    \t\"provisioning_provider\": \"reseller\",\n    \t\"provisioning_displayname\": \"Long Name Sales Console\",\n    \t\"provisioning_url\": \"https://longname.com/login\"\n    }\n}}"},"url":"{{server-url}}/ss/rsapi/clients"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 15 Mar 2021 15:09:20 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"59"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"u1v9qcpt3urojdhgpkeaq84u3if16pqc"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": 112533,\n    \"errors\": {\n        \"sname\": [\n            \"has already been taken\"\n        ]\n    }\n}"},{"id":"be92eb9e-6c9e-4d78-a1bc-40a2c7389bfe","name":"Create client (sname already taken, by a company that is not a client of this reseller)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"company\": {\n    \"sname\": \"cw\",\n    \"lname\": \"Long Name for Company\",\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"settings\": {\n    \t\"provisioning_provider\": \"reseller\",\n    \t\"provisioning_displayname\": \"Long Name Sales Console\",\n    \t\"provisioning_url\": \"https://longname.com/login\"\n    }\n}}"},"url":"{{server-url}}/ss/rsapi/clients"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Mon, 15 Mar 2021 15:10:18 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"81"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"p629knstr3c3giempgma14qbp5b24fpr"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"not_owned_by_this_reseller\": true,\n    \"errors\": {\n        \"sname\": [\n            \"has already been taken\"\n        ]\n    }\n}"},{"id":"db9f8c75-c11f-4b49-ab46-bec813f74853","name":"Create client, sname and lname both too long","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\"company\": {\n    \"sname\": \"snametoolongsnametoolongsnametoolongsnametoolongsnametoolongsnametoolongsnametoolongsnametoolongsnametoolong\",\n    \"lname\": \"lname too long lname too long lname too long lname too long lname too long lname too long lname too long lname too long \",\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"settings\": {\n    \t\"provisioning_provider\": \"reseller\",\n    \t\"provisioning_displayname\": \"Long Name Sales Console\",\n    \t\"provisioning_url\": \"https://longname.com/login\"\n    }\n}}"},"url":"{{server-url}}/ss/rsapi/clients"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"server","value":"Cowboy"},{"key":"date","value":"Fri, 14 Jun 2019 15:36:24 GMT"},{"key":"content-length","value":"104"},{"key":"content-type","value":"application/json; charset=utf-8"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"3km7lgbhb69t20acvln92jr14cgdd10a"}],"cookie":[],"responseTime":null,"body":"{\n    \"errors\": {\n        \"sname\": [\n            \"should be at most 32 character(s)\"\n        ],\n        \"lname\": [\n            \"should be at most 32 character(s)\"\n        ]\n    }\n}"}],"_postman_id":"d8fe3888-197c-4446-bd6e-cf4a214c1aac"},{"name":"Update client","id":"d7106d0d-c319-4e00-9cf0-05ea9c17d274","request":{"method":"PATCH","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"company\": {\n        \"settings\": {\n            \"id\": \"30b0ba12-3860-458c-aaa1-d14853202dc1\",\n            \"provisioning_provider\": \"reseller\"\n        }\n\t}\n}\n"},"url":"{{server-url}}/ss/rsapi/clients/:id","description":"<p>Update a client, by ID.</p>\n<p>You may include any or all of the parameters documented for the Get Clients List API, including settings.</p>\n<p>Note that if you include \"settings\" you must include the \"id\" sub-field of settings with the same value that it previously was (you will see this value when you create the client or list or show clients).</p>\n","urlObject":{"path":["ss","rsapi","clients",":id"],"host":["{{server-url}}"],"query":[],"variable":[{"type":"string","value":"41003","key":"id"}]}},"response":[{"id":"fb899216-9fd4-49f3-8e09-982f83d5fc9f","name":"Update client","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n\t\"company\": {\n\t\t\"geo\": \"us1\"\n\t}\n}\n"},"url":{"raw":"{{server-url}}/ss/rsapi/clients/:id","host":["{{server-url}}"],"path":["ss","rsapi","clients",":id"],"variable":[{"key":"id","value":"40171"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:33:53 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1130"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"d0enknn2gtcv9km2rub0l2qnrrk0t5j9"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"current_plan\": \"unset_or_custom\",\n    \"sname\": \"shortname78\",\n    \"smsname\": null,\n    \"settings\": {\n        \"window\": true,\n        \"tab\": true,\n        \"stay_in_lobby\": false,\n        \"sms_template\": \"\",\n        \"screen\": true,\n        \"provisioning_url\": \"https://longname.com/login\",\n        \"provisioning_provider\": \"reseller\",\n        \"provisioning_displayname\": \"Long Name Sales Console\",\n        \"phone_conf_provider\": \"\",\n        \"phone_conf_manual\": false,\n        \"phone_conf_main_number\": \"\",\n        \"phone_conf_extra_numbers\": \"\",\n        \"lobby_url\": \"\",\n        \"id\": \"6b3ddac7-af41-4a60-913c-1960068d3513\",\n        \"enable_remote_control\": false,\n        \"email_invite_subject\": \"\",\n        \"email_invite_body\": \"\",\n        \"dod_field_order_template\": \"\",\n        \"black_list_regex\": \"\",\n        \"black_list_pattern\": \"\",\n        \"auto_accept_in_lobby\": false,\n        \"audit_log\": false,\n        \"allow_edit_picture\": true,\n        \"allow_edit_name\": true,\n        \"allow_edit_headline\": true,\n        \"allow_changing_lobby_settings\": true\n    },\n    \"session_limit\": 25,\n    \"remove_cw_branding\": false,\n    \"post_session_url\": null,\n    \"logo\": null,\n    \"lname\": \"Long Name for Company\",\n    \"license_count\": null,\n    \"integrations_enabled\": false,\n    \"id\": 40171,\n    \"host\": \"meeting.is\",\n    \"hl\": \"en\",\n    \"hard_limit_starts\": null,\n    \"geo\": \"us1\",\n    \"first_exceeded_soft_limit\": null,\n    \"demo_id\": null,\n    \"api_access_enabled\": true\n}"}],"_postman_id":"d7106d0d-c319-4e00-9cf0-05ea9c17d274"},{"name":"Delete client","id":"7c47b75d-3351-4891-9d74-df08af6467dc","request":{"method":"DELETE","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"body":{"mode":"formdata","formdata":[]},"url":"{{server-url}}/ss/rsapi/clients/:id","description":"<p>Deletes a client, by its ID.</p>\n","urlObject":{"path":["ss","rsapi","clients",":id"],"host":["{{server-url}}"],"query":[],"variable":[{"type":"any","value":"40171","key":"id"}]}},"response":[{"id":"f8f31d7a-ae7d-4aef-b364-8a6f80ca6801","name":"Delete client","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{server-url}}/ss/rsapi/clients/:id","host":["{{server-url}}"],"path":["ss","rsapi","clients",":id"],"variable":[{"key":"id","value":"40171"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:34:37 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"22"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"5v20rgpsr83i0iso86eitf4f6selhbb7"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"\"Deleted successfully\""}],"_postman_id":"7c47b75d-3351-4891-9d74-df08af6467dc"},{"name":"Set plan for client","id":"4cc24b40-aecd-4cdd-b2d9-b1e7ffa9f76d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}","type":"text"}],"url":"{{server-url}}/ss/rsapi/clients/:id/plan/:plan_api_name","description":"<p>Sets the plan for a client. The plan set must be the API name of one of the available plans for the current reseller - see the Get Available Plans API.</p>\n","urlObject":{"path":["ss","rsapi","clients",":id","plan",":plan_api_name"],"host":["{{server-url}}"],"query":[],"variable":[{"type":"any","value":"27084","key":"id"},{"type":"any","value":"plan_api_key_1","key":"plan_api_name"}]}},"response":[{"id":"afe6c80b-b567-461e-904a-c502eefd33c9","name":"Set plan for client","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}","type":"text"}],"url":{"raw":"{{server-url}}/ss/rsapi/clients/:id/plan/:plan_api_name","host":["{{server-url}}"],"path":["ss","rsapi","clients",":id","plan",":plan_api_name"],"variable":[{"key":"id","value":"40171"},{"key":"plan_api_name","value":"plan_2"}]}},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:34:55 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"9"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"q9k1sh2ab435k0gqhfnar8ihi1itk1br"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"\"Success\""}],"_postman_id":"4cc24b40-aecd-4cdd-b2d9-b1e7ffa9f76d"},{"name":"Get client usage","id":"0e9bd089-b487-4b78-b72e-f8b5cf14e265","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Basic {{crankwheel-reseller-api-key}}"}],"url":"{{server-url}}/ss/rsapi/clients/:id/usage?start=2019-01-01T10:04:43.548148Z&end=2019-02-20T10:04:43.548148Z&min_seconds=60","description":"<p>Counts the number of sessions (meetings) done by the given client in the specified period. A meeting is defined as either of:</p>\n<ol>\n<li>An outbound screen sharing session that lasts at least X seconds (default 40) with at least one viewer connected; or</li>\n<li>An Instant Demo request where a phone call to the prospect is successfully made, and where a screen share may also happen (the screen share is not double counted).</li>\n</ol>\n<p>Start and end must either both be set or neither of them be set. All parameters except id are optional.</p>\n","urlObject":{"path":["ss","rsapi","clients",":id","usage"],"host":["{{server-url}}"],"query":[{"description":{"content":"<p>Default is 28x24h before current time</p>\n","type":"text/plain"},"key":"start","value":"2019-01-01T10:04:43.548148Z"},{"description":{"content":"<p>Default is current time</p>\n","type":"text/plain"},"key":"end","value":"2019-02-20T10:04:43.548148Z"},{"description":{"content":"<p>Default is 40</p>\n","type":"text/plain"},"key":"min_seconds","value":"60"}],"variable":[{"type":"string","value":"41003","key":"id"}]}},"response":[{"id":"a9b74c9a-bcec-486c-a5a0-112317a05071","name":"Get client usage","originalRequest":{"method":"GET","header":[{"key":"Authorization","type":"text","value":"Basic {{crankwheel-reseller-api-key}}"}],"url":{"raw":"{{server-url}}/ss/rsapi/clients/:id/usage?start=2019-01-01T10:04:43.548148Z&end=2019-02-20T10:04:43.548148Z&min_seconds=60","host":["{{server-url}}"],"path":["ss","rsapi","clients",":id","usage"],"query":[{"key":"start","value":"2019-01-01T10:04:43.548148Z","description":"Default is 28x24h before current time"},{"key":"end","value":"2019-02-20T10:04:43.548148Z","description":"Default is current time"},{"key":"min_seconds","value":"60","description":"Default is 40"}],"variable":[{"key":"id","value":"27084"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:36:15 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"130"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"tjddbji20vo0cj2er7okos857ikotun1"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"start\": \"2019-01-01T10:04:43.548148Z\",\n    \"num_sessions\": 110,\n    \"min_seconds\": 60,\n    \"end\": \"2019-02-20T10:04:43.548148Z\",\n    \"company_id\": \"27084\"\n}"}],"_postman_id":"0e9bd089-b487-4b78-b72e-f8b5cf14e265"},{"name":"Get client billing details","id":"3050c185-5950-44e7-b615-96f4e9a9165c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}","type":"text"}],"url":"{{server-url}}/ss/rsapi/clients/:id/billing?start=2019-02-01T00:00:00Z&end=2019-02-28T23:59:59Z","description":"<p>Retrieves billing details for a particular client, from a start timestamp to an end timestamp. These are typically good to set to the first and last second of a given month, but can be done for any period.</p>\n<p>The object returned contains the following properties:</p>\n<p><strong>total_period_seconds</strong>: Total number of seconds in the requested period.</p>\n<p><strong>starting</strong>: The start timestamp.</p>\n<p><strong>ending</strong>: The end timestamp.</p>\n<p><strong>company_id</strong>: The ID of the client company this was requested for.</p>\n<p><strong>sname</strong>: Identical to the <strong>sname</strong> (short name, for building URLs) parameter for the client company this was requested for.</p>\n<p><strong>lname</strong>: Identical to the <strong>lname</strong> (human readable name, for user interfaces) parameter for the client company this was requested for.</p>\n<p>In addition there is a collection, <strong>plans_pro_rata</strong>. It has a key for each plan that was in effect during the period, where the key's value is the API name of the plan. The object under each key has the following properties:</p>\n<p><strong>units</strong>: How many units of the requested period this plan was in effect for, in total (plans may have been changed back and forth but will be summed here).</p>\n<p><strong>human_name</strong>: The human-readable name of the plan.</p>\n<p>Finally, there is a list under the key <strong>periods</strong> ordered from oldest to newest sub-period, where each list item is an object that indicates a sub-period within the requested period during which a particular plan was in effect. Each object in the list has these properties:</p>\n<p><strong>api_name</strong>: The API name of the plan that was set.</p>\n<p><strong>human_name</strong>: The human-readable name of the plan that was set.</p>\n<p><strong>set_by</strong>: Either \"nobody\" (in the case of an unset or custom plan), or the email address of the administrator who set (or whose API key was used to set) the plan on this client company.</p>\n<p><strong>set_at</strong>: A timestamp (UTC+0) indicating when this plan was set on the client.</p>\n<p><strong>effective_from</strong>: A timestamp indicating which time within the requested period this plan was effective from. This will either be equal to <strong>set_at</strong> or be the start of the period, whichever is later.</p>\n<p><strong>effective_to</strong>: A timestamp indicating which time within the requested period this plan was effective to. This will either indicate the start of a new period, or it will be equal to the end of the period, whichever is earlier.</p>\n<p><strong>pro_rata</strong>: How many units this period lasted (where 1.0 would indicate it lasted from the requested start timestamp to the requested end timestamp). This is equal to <strong>effective_seconds</strong> divided by <strong>total_period_seconds</strong>.</p>\n","urlObject":{"path":["ss","rsapi","clients",":id","billing"],"host":["{{server-url}}"],"query":[{"description":{"content":"<p>Start of period</p>\n","type":"text/plain"},"key":"start","value":"2019-02-01T00:00:00Z"},{"description":{"content":"<p>End of period</p>\n","type":"text/plain"},"key":"end","value":"2019-02-28T23:59:59Z"}],"variable":[{"type":"any","value":"41003","key":"id"}]}},"response":[{"id":"aee18292-7f05-4255-82eb-1eb4cefc0740","name":"Get client billing details","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}","type":"text"}],"url":{"raw":"{{server-url}}/ss/rsapi/clients/:id/billing?start=2019-02-01T00:00:00Z&end=2019-02-28T23:59:59Z","host":["{{server-url}}"],"path":["ss","rsapi","clients",":id","billing"],"query":[{"key":"start","value":"2019-02-01T00:00:00Z","description":"Start of period"},{"key":"end","value":"2019-02-28T23:59:59Z","description":"End of period"}],"variable":[{"key":"id","value":"27084"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:37:03 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"867"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"regt1jtc5tho2eabq8apadcn9f5rfk67"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"total_period_seconds\": 2419199,\n    \"starting\": \"2019-02-01T00:00:00Z\",\n    \"sname\": \"companyone\",\n    \"plans_pro_rata\": {\n        \"plan_2\": {\n            \"units\": 0.02059690004832178,\n            \"human_name\": \"Example Plan 2\"\n        },\n        \"unset_or_custom\": {\n            \"units\": 0.979402686591719,\n            \"human_name\": \"Unset or custom plan\"\n        }\n    },\n    \"periods\": [\n        {\n            \"set_by\": \"nobody\",\n            \"set_at\": \"2019-02-01T00:00:00Z\",\n            \"pro_rata\": 0.979402686591719,\n            \"human_name\": \"Unset or custom plan\",\n            \"effective_to\": \"2019-02-28T10:09:30.701107\",\n            \"effective_seconds\": 2369370,\n            \"effective_from\": \"2019-02-01T00:00:00Z\",\n            \"api_name\": \"unset_or_custom\"\n        },\n        {\n            \"set_by\": \"exampleadmin@example.com\",\n            \"set_at\": \"2019-02-28T10:09:30.701107\",\n            \"pro_rata\": 0.02059690004832178,\n            \"human_name\": \"Example Plan 2\",\n            \"effective_to\": \"2019-02-28T23:59:59Z\",\n            \"effective_seconds\": 49828,\n            \"effective_from\": \"2019-02-28T10:09:30.701107\",\n            \"api_name\": \"plan_2\"\n        }\n    ],\n    \"lname\": \"Company One\",\n    \"ending\": \"2019-02-28T23:59:59Z\",\n    \"company_id\": 27084\n}"}],"_postman_id":"3050c185-5950-44e7-b615-96f4e9a9165c"}],"id":"b079f2b9-711f-422b-b51f-8bea66b49178","description":"<p>Clients are sub-companies of a reseller account. This API lets you list, show, create, update and delete such sub-companies, with \"super user\" privileges regarding changing all settings.</p>\n","event":[{"listen":"prerequest","script":{"id":"49f3bd41-8efc-44a8-a5af-c78d9f40e8fe","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"9097f2ef-8c8a-43ab-b62f-480d1f289dd0","type":"text/javascript","exec":[""]}}],"_postman_id":"b079f2b9-711f-422b-b51f-8bea66b49178"},{"name":"Single sign-on","item":[{"name":"Grant token","id":"349ee428-dfaf-4085-a9d5-b7f1bcb59e58","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"body":{"mode":"raw","raw":""},"url":"{{server-url}}/ss/rsapi/grant_token/:email?clientid=36727","description":"<p>Given an email address, returns a URL that you can send the user to in order to log them in.</p>\n<p>The URL is valid for 2 minutes.</p>\n<p>The email address must be a user under one of the reseller's client companies, and that company's <strong>settings.provisioning_provider</strong> must be set to \"reseller\".</p>\n<p>If you specify the optional <strong>clientid</strong> parameter, then if the email address you provided does not exist as a user account at all, then it will be created as a normal user account under the company identified by <strong>clientid</strong>.</p>\n<p>If you specify the optional <strong>dest_url</strong> parameter, the user will end up on that page as SSO completes. This may either be a URI relative to the CrankWheel servers (e.g. ´/ss/account/status´ to take them to their account status rather than the dashboard homepage) or it can be a full URL, any standard web page.</p>\n<p>If you specify the optional <strong>multi_login</strong> parameter and set it to <strong>true</strong> (NB: this cannot be done in conjunction with using the <strong>clientid</strong> parameter), the system will look up all sub-accounts where the given email address has access, either as-is or prefixed (see details documented at \"List login-options for email address\" API below). If there is exactly one such address, log-in will proceed as usual. If there is more than one, the user will be shown a list of clients (sub-accounts) they have access to and prompted to choose which one they want to login to.</p>\n<p>There are three ways to use the SSO URL that you receive back from this API. Any way you use it, it will log the requested user in to CrankWheel, but the behavior beside that is one of these:</p>\n<ol>\n<li>Use it unmodified. This will navigate the user to the CrankWheel dashboard, as well as causing the CrankWheel pop-up to be shown (if installed).</li>\n<li>Use it with ?mode=dashboard_only appended. This will only navigate the user to the CrankWheel dashboard.</li>\n<li>Use it with ?mode=popup_only appended, and make it open in a new window or tab. If CrankWheel is installed, the pop-up will be shown, and the tab or window you opened will be almost instantly automatically closed by CrankWheel. If CrankWheel is not installed, the tab or window you opened will show the CrankWheel dashboard, which includes a \"Launch CrankWheel\" button, which upon use will guide the user through installation of the CrankWheel extension when needed.</li>\n</ol>\n","urlObject":{"path":["ss","rsapi","grant_token",":email"],"host":["{{server-url}}"],"query":[{"disabled":true,"key":"multi_login","value":"true"},{"disabled":true,"key":"dest_url","value":"/ss#crankwheelmagicshowui:mainandclose"},{"key":"clientid","value":"36727"}],"variable":[{"type":"any","value":"","key":"email"}]}},"response":[{"id":"abc6bd5e-1cce-461a-b383-e6501d9d44c8","name":"Grant token","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"body":{"mode":"formdata","formdata":[]},"url":{"raw":"{{server-url}}/ss/rsapi/grant_token/:email","host":["{{server-url}}"],"path":["ss","rsapi","grant_token",":email"],"variable":[{"key":"email","value":"exampleuser@exampleclient.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:47:51 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"156"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"ic55on8datofnvqrjnnd4l8aisjlt12r"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"login_url\": \"https://meeting.is/ss/auth/rlogin/exampleuser@exampleclient.com:82E2B7B7F52CCAB349BA588D95B263FA00BE80867A9D656D053167674D6F03C2\"\n}"}],"_postman_id":"349ee428-dfaf-4085-a9d5-b7f1bcb59e58"},{"name":"List log-in options for email address in clients","id":"e74e622d-3050-4482-8faa-1db5159514c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"body":{"mode":"raw","raw":""},"url":"{{server-url}}/ss/rsapi/grant_token/:email/list_clients","description":"<p>Given an email address, returns a list of potentially more-specific email addresses you can use for the \"Grant token\" API with details on the clients they will grant access to, and the type of access they will grant.</p>\n<p>This API is designed to facilitate log-in by a single email address to various different clients. Along with a feature we call account email flexibility, it lets a single email log in as different accounts under the same reseller parent.</p>\n<p>Account email flexibility is as follows: When you add users to a client, you may either add their email address verbatim as a user, or you may prefix it in a specific way, which is illustrated here by example for a user with email <code>example@emaildomain.com</code> logging into the client with account ID <code>12345</code>: <code>12345-cw-example@emaildomain.com</code>. In fact you may use any unique string in front of the <code>-cw-</code> token but we recommend using the account ID. CrankWheel will in most user interfaces ignore or not show everything up to and including the <code>-cw-</code> token, including when it needs to send the user emails (e.g. Instant Demo notifications).</p>\n<p>Calling this API will give you a list of all user accounts in any client of your reseller, that either match the email address you submit exactly, or are prefixed as shown above. It will list only user accounts that already exist within clients of your reseller. If none match, you will receive an empty list as a response. If one or more match, you will receive a list in response, where each item is a map with the following keys:</p>\n<ol>\n<li><code>email</code>: The fully-specific email address you can use to log this user in via SSO (Grant token API)</li>\n<li><code>client_id</code>: The ID of the client they would be logged into if you SSO using this email address</li>\n<li><code>sname</code>: The short name of the client they would log into</li>\n<li><code>lname</code>: The long (human-readable) name of the client they would log into</li>\n<li><code>role</code>: The role ('user', 'admin', 'owner') they would log in as</li>\n</ol>\n","urlObject":{"path":["ss","rsapi","grant_token",":email","list_clients"],"host":["{{server-url}}"],"query":[],"variable":[{"type":"string","value":"joi@crankwheel.com","key":"email"}]}},"response":[{"id":"b2508de0-d276-4aff-bdd8-20398dec6bcf","name":"List log-in options for email address in clients","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{server-url}}/ss/rsapi/grant_token/:email/list_clients","host":["{{server-url}}"],"path":["ss","rsapi","grant_token",":email","list_clients"],"variable":[{"key":"email","value":"joi@crankwheel.com"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Date","value":"Mon, 11 May 2020 13:20:35 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"313"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"ga4s3htk4qa502e286mqoojhet3tb9il"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"sname\": \"ssouno\",\n        \"role\": \"user\",\n        \"lname\": \"SSO uno\",\n        \"email\": \"81387-cw-joi@crankwheel.com\",\n        \"client_id\": 81387\n    },\n    {\n        \"sname\": \"ssoduo\",\n        \"role\": \"user\",\n        \"lname\": \"SSO duo\",\n        \"email\": \"joi@crankwheel.com\",\n        \"client_id\": 81388\n    },\n    {\n        \"sname\": \"ssoduo\",\n        \"role\": \"user\",\n        \"lname\": \"SSO duo\",\n        \"email\": \"81388-cw-joi@crankwheel.com\",\n        \"client_id\": 81388\n    }\n]"}],"_postman_id":"e74e622d-3050-4482-8faa-1db5159514c2"}],"id":"89702396-ddc3-4319-bfdf-74795a904012","_postman_id":"89702396-ddc3-4319-bfdf-74795a904012","description":""},{"name":"Reseller management","item":[{"name":"Get billing overview","id":"a7e1e46e-7906-4441-a2cf-6e17adbfc9bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}","type":"text"}],"url":"{{server-url}}/ss/rsapi/reseller/billing?start=2019-02-01T00:00:00.0Z&end=2019-02-28T23:59:59.999999Z","description":"<p>Retrieves a billing overview for all client companies of this reseller.</p>\n<p>You can use this for any period you like. If you use it for a whole month you will directly get the pro-rata units owed for each plan type.</p>\n<p>The returned object has <strong>starting</strong> and <strong>ending</strong> fields at the top level that simply reflect the parameters passed in.</p>\n<p>It also has a <strong>per_company</strong> field containing a list of details per client company. Each of the objects in this list are the same as what is returned by the Get Client Usage API, so refer to documentation there for the different field names.</p>\n<p>Lastly, there is a <strong>total_pro_rata</strong> object containing one key per plan that was in effect for at least one company (API names of plans). Within each such object are the fields <strong>human_name</strong> which is the human-readable name of the API, and <strong>units</strong> which counts the units of time (where each unit is the period between <strong>starting</strong> and <strong>ending</strong>) for which each plan was in effect. The sum of all units in the <strong>total_pro_rata</strong> collection will be equal to the count of companies managed by the reseller.</p>\n","urlObject":{"path":["ss","rsapi","reseller","billing"],"host":["{{server-url}}"],"query":[{"description":{"content":"<p>Default is 28x24h before current time</p>\n","type":"text/plain"},"key":"start","value":"2019-02-01T00:00:00.0Z"},{"description":{"content":"<p>Default is current time</p>\n","type":"text/plain"},"key":"end","value":"2019-02-28T23:59:59.999999Z"}],"variable":[]}},"response":[{"id":"33dcec81-1c0f-4792-bf82-43fd0fd0bd6e","name":"Get billing overview","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}","type":"text"}],"url":{"raw":"{{server-url}}/ss/rsapi/reseller/billing?start=2019-02-01T00:00:00.0Z&end=2019-02-28T23:59:59.999999Z","host":["{{server-url}}"],"path":["ss","rsapi","reseller","billing"],"query":[{"key":"start","value":"2019-02-01T00:00:00.0Z","description":"Default is 28x24h before current time"},{"key":"end","value":"2019-02-28T23:59:59.999999Z","description":"Default is current time"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 15:54:34 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"1661"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"m43hv9fmij48lsh7b2rlqcklf49sut6j"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"{\n    \"total_pro_rata\": {\n        \"plan_2\": {\n            \"units\": 0.020597313408281005,\n            \"human_name\": \"Example Plan 2\"\n        },\n        \"unset_or_custom\": {\n            \"units\": 1.979402686591719,\n            \"human_name\": \"Unset or custom plan\"\n        }\n    },\n    \"starting\": \"2019-02-01T00:00:00.0Z\",\n    \"per_company\": [\n        {\n            \"total_period_seconds\": 2419199,\n            \"starting\": \"2019-02-01T00:00:00.0Z\",\n            \"sname\": \"companytwo\",\n            \"plans_pro_rata\": {\n                \"unset_or_custom\": {\n                    \"units\": 1,\n                    \"human_name\": \"Unset or custom plan\"\n                }\n            },\n            \"periods\": [\n                {\n                    \"set_by\": \"nobody\",\n                    \"set_at\": \"2019-02-01T00:00:00.0Z\",\n                    \"pro_rata\": 1,\n                    \"human_name\": \"Unset or custom plan\",\n                    \"effective_to\": \"2019-02-28T23:59:59.999999Z\",\n                    \"effective_seconds\": 2419199,\n                    \"effective_from\": \"2019-02-01T00:00:00.0Z\",\n                    \"api_name\": \"unset_or_custom\"\n                }\n            ],\n            \"lname\": \"Company Two\",\n            \"ending\": \"2019-02-28T23:59:59.999999Z\",\n            \"company_id\": 28619\n        },\n        {\n            \"total_period_seconds\": 2419199,\n            \"starting\": \"2019-02-01T00:00:00.0Z\",\n            \"sname\": \"companyone\",\n            \"plans_pro_rata\": {\n                \"plan_2\": {\n                    \"units\": 0.020597313408281005,\n                    \"human_name\": \"Example Plan 2\"\n                },\n                \"unset_or_custom\": {\n                    \"units\": 0.979402686591719,\n                    \"human_name\": \"Unset or custom plan\"\n                }\n            },\n            \"periods\": [\n                {\n                    \"set_by\": \"nobody\",\n                    \"set_at\": \"2019-02-01T00:00:00.0Z\",\n                    \"pro_rata\": 0.979402686591719,\n                    \"human_name\": \"Unset or custom plan\",\n                    \"effective_to\": \"2019-02-28T10:09:30.701107\",\n                    \"effective_seconds\": 2369370,\n                    \"effective_from\": \"2019-02-01T00:00:00.0Z\",\n                    \"api_name\": \"unset_or_custom\"\n                },\n                {\n                    \"set_by\": null,\n                    \"set_at\": \"2019-02-28T10:09:30.701107\",\n                    \"pro_rata\": 0.020597313408281005,\n                    \"human_name\": \"Example Plan 2\",\n                    \"effective_to\": \"2019-02-28T23:59:59.999999Z\",\n                    \"effective_seconds\": 49829,\n                    \"effective_from\": \"2019-02-28T10:09:30.701107\",\n                    \"api_name\": \"plan_2\"\n                }\n            ],\n            \"lname\": \"Company One\",\n            \"ending\": \"2019-02-28T23:59:59.999999Z\",\n            \"company_id\": 27084\n        }\n    ],\n    \"ending\": \"2019-02-28T23:59:59.999999Z\"\n}"}],"_postman_id":"a7e1e46e-7906-4441-a2cf-6e17adbfc9bc"},{"name":"Get usage history for all clients","id":"e90debb2-b34b-4dad-b78f-c86737d5eaf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"body":{"mode":"raw","raw":""},"url":"{{server-url}}/ss/rsapi/clients_usage?from=2020-01-01T00:00:00Z&to=2020-07-19T23:59:59Z","description":"<p>Retrieves screen sharing usage history for all clients of this reseller. It includes both stand-alone screen shares as well as screen shares that may have resulted from an Instant Demos request.</p>\n<p>Note the to= and from= query parameters which are timestamps. If they are not given, the last 28 days of history will be retrieved.</p>\n<p>For authentication, set your own API key in your environment or paste it instead of {{crankwheel-reseller-api-key}} in the value for the Authorization header under the Headers tab.</p>\n","urlObject":{"path":["ss","rsapi","clients_usage"],"host":["{{server-url}}"],"query":[{"key":"from","value":"2020-01-01T00:00:00Z"},{"key":"to","value":"2020-07-19T23:59:59Z"}],"variable":[]}},"response":[{"id":"fd98d012-2331-4d17-b9cd-a37749601b70","name":"Get usage history for all clients","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}"}],"body":{"mode":"raw","raw":""},"url":{"raw":"{{server-url}}/ss/rsapi/clients_usage?from=2020-01-01T00:00:00Z&to=2020-07-19T23:59:59Z","host":["{{server-url}}"],"path":["ss","rsapi","clients_usage"],"query":[{"key":"from","value":"2020-01-01T00:00:00Z"},{"key":"to","value":"2020-07-19T23:59:59Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx/1.17.10"},{"key":"Date","value":"Sun, 19 Jul 2020 16:06:10 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"26111"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"njhjq4hvq30n73ha99r6r6novb8jt7rt"}],"cookie":[],"responseTime":null,"body":"{\n    \"stats\": {\n        \"user_stats\": [\n            {\n                \"user1@example.com\": {\n                    \"total_sec\": 17,\n                    \"total_count\": 1,\n                    \"sname\": \"137742285\",\n                    \"lname\": \"CrankWheel individual\"\n                }\n            },\n            {\n                \"user2@example.com\": {\n                    \"total_sec\": 2203,\n                    \"total_count\": 17,\n                    \"sname\": \"exampleco5\",\n                    \"lname\": \"CrankWheel free-for-individuals Plan\"\n                }\n            },\n            {\n                \"user3@example.com\": {\n                    \"total_sec\": 88,\n                    \"total_count\": 1,\n                    \"sname\": \"adwordsexampleco\",\n                    \"lname\": \"AdWords salesperson example\"\n                }\n            },\n            {\n                \"user4@example.com\": {\n                    \"total_sec\": 51,\n                    \"total_count\": 3,\n                    \"sname\": \"exampleco8\",\n                    \"lname\": \"Test Company\"\n                }\n            },\n            {\n                \"user5@example.com\": {\n                    \"total_sec\": 9721,\n                    \"total_count\": 80,\n                    \"sname\": \"exampleco8\",\n                    \"lname\": \"Test Company\"\n                }\n            },\n            {\n                \"user6@example.com\": {\n                    \"total_sec\": 382,\n                    \"total_count\": 9,\n                    \"sname\": \"exampleco\",\n                    \"lname\": \"Example Co\"\n                }\n            },\n            {\n                \"user7@example.com\": {\n                    \"total_sec\": 121,\n                    \"total_count\": 3,\n                    \"sname\": \"exampleco\",\n                    \"lname\": \"Example Co\"\n                }\n            }\n        ],\n        \"total_sec\": 12583,\n        \"total_count\": 114\n    },\n    \"sessions\": [\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T09:56:02.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-04-23T09:56:07.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 5\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T14:28:45.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-23T14:28:52.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 7\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T14:29:04.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-23T14:29:13.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 9\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T14:29:20.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-23T14:29:25.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 5\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T14:35:37.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-23T14:35:49.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 12\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T14:39:55.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-23T14:40:02.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 7\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T14:40:33.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-23T14:40:45.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 12\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T16:34:52.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-23T16:35:01.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 9\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-23T16:38:08.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-23T16:44:17.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 369\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-04-24T16:42:10.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-04-24T16:48:12.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 362\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-01T12:00:58.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-01T12:01:34.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 36\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-01T12:01:56.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-01T12:02:02.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 6\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-01T12:05:37.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-01T12:05:41.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 4\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-01T12:06:43.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-01T12:06:49.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 6\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-01T12:07:52.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-01T12:08:02.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 10\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-01T12:08:52.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-01T12:08:57.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 5\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-01T12:09:54.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-01T12:10:02.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 8\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-03T09:28:54.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-03T09:28:58.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 4\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-14T13:13:36.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-14T13:13:40.000000Z\",\n            \"email\": \"user4@example.com\",\n            \"duration\": 4\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-14T13:15:19.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-14T13:15:39.000000Z\",\n            \"email\": \"user4@example.com\",\n            \"duration\": 20\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-14T13:17:43.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-14T13:18:10.000000Z\",\n            \"email\": \"user4@example.com\",\n            \"duration\": 27\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-14T13:21:22.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-14T13:21:31.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 9\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-14T13:33:23.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-14T13:33:30.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 7\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-14T13:38:26.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-14T13:38:32.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 6\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T15:28:47.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T15:29:19.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 32\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T15:29:35.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T15:29:37.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 2\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T15:29:54.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T15:29:57.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 3\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T15:30:20.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T15:30:27.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 7\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T15:54:57.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T15:55:08.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 11\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-15T16:10:31.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T16:10:31.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T16:13:09.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T16:14:07.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 58\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T16:14:20.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T16:14:23.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 3\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T16:14:38.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T16:14:44.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 6\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T16:15:23.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T16:15:26.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 3\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-15T16:30:31.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T16:30:31.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-15T16:30:50.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-15T16:31:38.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 48\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-16T13:20:00.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-16T13:20:56.000000Z\",\n            \"email\": \"user7@example.com\",\n            \"duration\": 56\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-17T09:01:08.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-17T09:01:11.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 3\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-19T10:29:14.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-19T10:29:14.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-19T10:29:36.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-19T10:29:38.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 2\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-19T18:57:00.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-19T18:57:05.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 5\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-21T15:43:48.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-21T15:43:51.000000Z\",\n            \"email\": \"user7@example.com\",\n            \"duration\": 3\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-21T15:49:43.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-21T15:49:43.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-21T16:03:13.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-21T16:03:13.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-21T16:20:15.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-21T16:20:15.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 3\n            },\n            \"start_date\": \"2020-05-23T08:15:32.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-23T08:20:04.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 272\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 24\n            },\n            \"start_date\": \"2020-05-24T12:27:37.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T12:50:38.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 1381\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-24T12:52:26.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T12:52:26.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-24T13:07:31.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T13:07:31.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 5\n            },\n            \"start_date\": \"2020-05-24T13:23:32.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T13:40:27.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 1015\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-24T13:40:38.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T13:40:45.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 7\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 30\n            },\n            \"start_date\": \"2020-05-24T14:24:04.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:26:35.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 151\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 8\n            },\n            \"start_date\": \"2020-05-24T14:27:05.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:27:36.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 31\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 3\n            },\n            \"start_date\": \"2020-05-24T14:27:51.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:28:40.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 49\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-24T14:28:51.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:28:51.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-24T14:29:35.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:30:02.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 27\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 3\n            },\n            \"start_date\": \"2020-05-24T14:30:54.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:31:48.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 54\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-24T14:31:58.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:32:11.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 13\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-24T14:32:19.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:33:15.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 56\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-24T14:33:25.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T14:33:45.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 20\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-24T14:35:15.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-24T15:40:27.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 3912\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-25T14:05:21.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-25T14:05:36.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 15\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-25T14:08:53.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-25T14:09:05.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 12\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-25T14:12:30.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-25T14:12:57.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 27\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-25T14:13:20.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-25T14:18:10.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 290\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-26T14:52:27.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-26T14:53:09.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 42\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-26T14:53:18.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-26T14:53:18.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-26T14:53:44.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-26T14:53:47.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 3\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-26T14:53:55.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-26T14:54:26.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 31\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-26T14:53:58.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-26T14:53:58.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-26T14:57:19.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-26T14:57:56.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 37\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-26T15:35:38.000000Z\",\n            \"sname\": \"adwordsexampleco\",\n            \"lname\": \"AdWords salesperson example\",\n            \"end_date\": \"2020-05-26T15:37:06.000000Z\",\n            \"email\": \"user3@example.com\",\n            \"duration\": 88\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-26T16:22:46.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-26T16:23:02.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 16\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-26T16:24:31.000000Z\",\n            \"sname\": \"137742285\",\n            \"lname\": \"CrankWheel individual\",\n            \"end_date\": \"2020-05-26T16:24:48.000000Z\",\n            \"email\": \"user1@example.com\",\n            \"duration\": 17\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-26T16:59:00.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-26T17:00:02.000000Z\",\n            \"email\": \"user7@example.com\",\n            \"duration\": 62\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-28T08:33:42.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-28T08:33:54.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 12\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 14\n            },\n            \"start_date\": \"2020-05-28T17:23:53.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-28T17:31:30.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 457\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-28T17:31:55.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-28T17:31:55.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 4\n            },\n            \"start_date\": \"2020-05-29T08:04:33.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-29T08:05:09.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 36\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 4\n            },\n            \"start_date\": \"2020-05-29T08:05:29.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-29T08:06:24.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 55\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 4\n            },\n            \"start_date\": \"2020-05-29T08:09:23.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-29T08:09:42.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 19\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-29T15:04:09.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-29T15:04:09.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:31:45.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:32:08.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 23\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:32:16.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:32:21.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 5\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:32:28.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:32:43.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 15\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:35:02.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:35:09.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 7\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:38:23.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:38:26.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 3\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:46:09.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:46:14.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 5\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:48:31.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:48:37.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 6\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:51:16.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:51:23.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 7\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T13:51:59.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:52:05.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 6\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 5\n            },\n            \"start_date\": \"2020-05-30T13:57:47.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T13:58:35.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 48\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T14:06:20.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-30T14:06:51.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 31\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 2\n            },\n            \"start_date\": \"2020-05-30T14:34:17.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-30T14:53:05.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 1128\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T14:53:38.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-30T14:55:29.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 111\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T15:02:50.000000Z\",\n            \"sname\": \"exampleco5\",\n            \"lname\": \"CrankWheel free-for-individuals Plan\",\n            \"end_date\": \"2020-05-30T15:08:24.000000Z\",\n            \"email\": \"user2@example.com\",\n            \"duration\": 334\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T19:54:51.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-30T19:55:03.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 12\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-30T19:55:24.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-30T19:55:33.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 9\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-30T19:57:23.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-30T19:57:23.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 0\n            },\n            \"start_date\": \"2020-05-30T19:58:27.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-30T19:58:27.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 0\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 301\n            },\n            \"start_date\": \"2020-05-30T19:59:06.000000Z\",\n            \"sname\": \"exampleco\",\n            \"lname\": \"Example Co\",\n            \"end_date\": \"2020-05-30T20:04:50.000000Z\",\n            \"email\": \"user6@example.com\",\n            \"duration\": 344\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-31T19:08:58.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-31T19:09:12.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 14\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-31T19:09:22.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-31T19:10:36.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 74\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-31T19:10:44.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-31T19:10:49.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 5\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-05-31T19:11:16.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-05-31T19:11:25.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 9\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-06-02T15:31:09.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T15:33:10.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 121\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-06-02T15:33:31.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T15:34:19.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 48\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 4\n            },\n            \"start_date\": \"2020-06-02T15:35:04.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T15:35:25.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 21\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 3\n            },\n            \"start_date\": \"2020-06-02T15:35:43.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T15:38:03.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 140\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 3\n            },\n            \"start_date\": \"2020-06-02T18:34:36.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T18:34:58.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 22\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 7\n            },\n            \"start_date\": \"2020-06-02T18:35:20.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T18:36:59.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 99\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-06-02T18:38:15.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T18:46:48.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 513\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-06-02T18:45:17.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T18:45:39.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 22\n        },\n        {\n            \"viewer_info\": {\n                \"max_viewer_count\": 1\n            },\n            \"start_date\": \"2020-06-02T18:46:58.000000Z\",\n            \"sname\": \"exampleco8\",\n            \"lname\": \"Test Company\",\n            \"end_date\": \"2020-06-02T18:47:01.000000Z\",\n            \"email\": \"user5@example.com\",\n            \"duration\": 3\n        }\n    ]\n}"}],"_postman_id":"e90debb2-b34b-4dad-b78f-c86737d5eaf9"},{"name":"Get available plans","id":"88c1577e-bf52-49b7-a1d5-74688861308c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}","type":"text"}],"url":"{{server-url}}/ss/rsapi/reseller/plans","description":"<p>Provides details on the plans available for the current reseller. To have more plans added, contact <a href=\"mailto:support@crankwheel.com\">support@crankwheel.com</a>.</p>\n<p>Returns a list of objects where each object has the following properties:</p>\n<p><strong>api_name</strong>: The API handle to use for this plan.</p>\n<p><strong>human_name</strong>: The human-readable name for the plan.</p>\n<p><strong>session_limit</strong>: The maximum number of interactions that a client under this plan may use.</p>\n<p><strong>license_count</strong>: The maximum number of named seats (licenses) that a client under this plan may use.</p>\n","urlObject":{"path":["ss","rsapi","reseller","plans"],"host":["{{server-url}}"],"query":[],"variable":[]}},"response":[{"id":"fea6f291-6a13-4155-95fb-be31c8a7f895","name":"Get available plans","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Basic {{crankwheel-reseller-api-key}}","type":"text"}],"url":"{{server-url}}/ss/rsapi/reseller/plans"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Server","value":"nginx"},{"key":"Date","value":"Sun, 03 Mar 2019 16:00:11 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"193"},{"key":"Connection","value":"keep-alive"},{"key":"cache-control","value":"max-age=0, private, must-revalidate"},{"key":"x-request-id","value":"8voseobe4ebel1bks0j61c8fcdh60dob"},{"key":"Strict-Transport-Security","value":"max-age=15768000; includeSubDomains"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"session_limit\": 10,\n        \"license_count\": 10,\n        \"human_name\": \"Example Plan 1\",\n        \"api_name\": \"plan_1\"\n    },\n    {\n        \"session_limit\": 200,\n        \"license_count\": 200,\n        \"human_name\": \"Example Plan 2\",\n        \"api_name\": \"plan_2\"\n    }\n] "}],"_postman_id":"88c1577e-bf52-49b7-a1d5-74688861308c"}],"id":"5a23f42a-ce59-4302-8a53-d699cc0b5765","_postman_id":"5a23f42a-ce59-4302-8a53-d699cc0b5765","description":""}],"event":[{"listen":"prerequest","script":{"id":"5f877512-a941-404b-96c1-942aab8dac70","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"0e613674-0258-42e4-b916-e939bad04c7a","type":"text/javascript","exec":[""]}}]}