{"info":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","description":"<html><head></head><body><h2 id=\"authorisation\">Authorisation</h2>\n<p>All API requests require authorisation. This can be one of two methods;</p>\n<ul>\n<li><p><em>Bearer Token</em> - This is the 'old' method, and widely supported. Simply send an <code>Authorization: Bearer &lt;token&gt;</code> header with your request using your API token.</p>\n</li>\n<li><p><em>JWT Token</em> - This may be preferred for some integrations. It is possible to use any Portal username/password to obtain a token for the API which is then send in header <code>Authorization: Bearer &lt;JWT&gt;</code> as above.</p>\n</li>\n</ul>\n<h2 id=\"service-provider-selection\">Service Provider Selection</h2>\n<p>All API endpoints have the Base URI of <code>https://api.apalo.io/v1</code> - most users will only have access to administer one Service Provider account so this is sufficient. </p>\n<p>Where your token permits access to more than one Service Provider Account this should be added after the /v1 path, e.g. to manage SP310176000 you would use the Base URI of <code>https://api.apalo.io/v1/310176000</code> </p>\n<p>Developers building integrations that may be expanded in the future, or where you anticipate managing multiple accounts, are free to use this extended format in all requests.</p>\n<h2 id=\"conventions\">Conventions</h2>\n<h4 id=\"pagination\">Pagination</h4>\n<p>Some API endpoints support range selection intended to facilitate pagination, this is universally provided using the parameters <code>limit</code> and <code>start</code>. Endpoints that support this will return a <code>count</code> parameter in the response that indicates the total number of results that matched your query.</p>\n<p>e.g. if you have 42 numbers on your account, and make a request with <code>limit: 10</code> you will receive 10 numbers in the response, with <code>count: 42</code>. You could then make subsequent requests to iterate through the pages.</p>\n<h4 id=\"sorting\">Sorting</h4>\n<p>Some API endpoints support sorting of the results returned. Where this is provided this is enabled using the <code>sort</code> parameter. </p>\n<p>By default the sort is ascending, so <code>sort=iccid</code> would return a list of ICCIDs sorted numerically. This can be varied or specified either by prepending the parameter with a <code>+</code> (ascending sort) e.g. +name would sort by name A-Z or <code>-</code> (descending sort) e.g. -name would sort by name Z-A or alternatively by suffixing the parameter with <code>:asc</code> or <code>:desc</code> as appropriate (e.g. <code>name:desc</code> and <code>-name</code> are identical) </p>\n<p>Multiple parameters can be specified by separating them by commas (e.g. <code>-date,+name</code>)</p>\n<h4 id=\"date--time\">Date / Time</h4>\n<p>All dates and times are returned in the simplified version of ISO 8601 used by MySQL and other popular open source applications;</p>\n<ul>\n<li>Dates take the form YYYY-MM-DD</li>\n<li>Times take the form HH:mm:ss</li>\n</ul>\n<p>This differs from ISO 8601 in that the ISO date <code>2021-02-23T21:00:00Z</code> would be represented as <code>2021-02-23 21:00:00</code></p>\n<h4 id=\"numbering\">Numbering</h4>\n<p>All telephone numbers are represented in E.164 format without any leading characters (e.g. +), i.e. a standard UK Geographic number would be <code>441632900123</code></p>\n<p>All Mobile SIMs are referenced by their ICCID (the long SIM card number starting <code>8944</code>)</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"16075422","collectionId":"1a50de91-367a-4e01-bc8f-babdd69557af","publishedId":"TzY4eEDF","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0b4fa3"},"publishDate":"2021-06-03T15:23:15.000Z"},"item":[{"name":"Utilities","item":[{"name":"Server Time","id":"339c7259-9f9e-46a2-8bd2-3a20594bc6e4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/utils/time","description":"<p>Get the current server time (useful for testing availability)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["utils","time"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[]}},"response":[{"id":"0c5409da-2ce3-485e-95ef-e7ba02501820","name":"Server Time","originalRequest":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/utils/time"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 09:03:50 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"90"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"c493b4e37d322485346517420dce2c0303d298e6"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": {\n        \"time\": \"2021-06-03 09:03:50\",\n        \"timestamp\": 1622711030\n    }\n}"}],"_postman_id":"339c7259-9f9e-46a2-8bd2-3a20594bc6e4"}],"id":"c06b6a95-7c91-422f-90b4-ff7f7074a505","description":"<p>These utilities are not specific to any account or Service Provider but are provided for general use and to test connectivity to the API.</p>\n","_postman_id":"c06b6a95-7c91-422f-90b4-ff7f7074a505","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"Numbering","item":[{"name":"Search Available Numbers","id":"f5cafa57-4229-478f-9acc-c29def944cb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"country\": \"44\",\n    \"area\": \"141\",\n    \"search\": \"*23*\",\n    \"limit\": 2\n}","options":{"raw":{"language":"json"}}},"url":"https://api.apalo.io/v1/numbers/available/:country_code","description":"<p>Search for available numbers which can be allocated to your account.</p>\n<p>Country is a required parameter, but currently only UK numbering (<em>44</em>) is available.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["numbers","available",":country_code"],"host":["https://api.apalo.io/v1"],"query":[{"disabled":true,"key":"","value":null}],"variable":[{"description":{"content":"<p>(Required) E164 Country Code (Currently only 44 Supported)</p>\n","type":"text/plain"},"type":"any","value":"44","key":"country_code"}]}},"response":[{"id":"7162feee-b567-4148-9e2f-6e4ff5d53883","name":"Search Available Numbers","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"country\": \"44\",\n    \"area\": \"1632\",\n    \"search\": \"*23*\",\n    \"limit\": 2\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.apalo.io/v1/numbers/available/:country_code","host":["https://api.apalo.io/v1"],"path":["numbers","available",":country_code"],"query":[{"key":"","value":null,"type":"text","disabled":true}],"variable":[{"key":"country_code","value":"44","description":"(Required) E164 Country Code (Currently only 44 Supported)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 10:11:30 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"13485"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"111deffe18d7d93de18d100d8fc94a4b838def4e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"number\": \"441632960231\",\n            \"provider\": \"apalo\",\n            \"external\": false,\n            \"country\": \"44\",\n            \"price\": {\n                \"initial\": 0,\n                \"recurring\": 0\n            }\n        },\n        {\n            \"number\": \"441632960234\",\n            \"provider\": \"apalo\",\n            \"external\": false,\n            \"country\": \"44\",\n            \"price\": {\n                \"initial\": 0,\n                \"recurring\": 0\n            }\n        }\n    ]\n}"}],"_postman_id":"f5cafa57-4229-478f-9acc-c29def944cb8"},{"name":"Allocate New Number(s) - Apalo","id":"9efeecad-e39b-47eb-8f8e-ee3dda3ee76b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"numbers\": [\n        \"441632900701\",\n        \"441632900702\"\n    ]\n}"},"url":"https://api.apalo.io/v1/numbers/allocate","description":"<p>Allocate new numbers from Apalo (retrieved using the Search Available Numbers function above) to your account.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["numbers","allocate"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9efeecad-e39b-47eb-8f8e-ee3dda3ee76b"},{"name":"Add New Number(s) - Bring Your Own","id":"1f050e86-4234-436e-9691-a4dc6449ad67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"numbers\": [\n        \"441632900148\",\n        \"441632900149\"\n    ],\n    \"external\": true,\n    \"provider\": \"AcmeTel\"\n}"},"url":"https://api.apalo.io/v1/numbers/allocate","description":"<p>Add numbers to the Apalo platform that you have obtained from another Communications Provider and directed to our SBCs. </p>\n<p>This allows you to use existing numbers on the Apalo UC Platform without porting them to Apalo, they will appear within the platform like any other Apalo number.</p>\n<p>The <code>provider</code> parameter is provided for your own reference, to allow you to keep track of where the number is obtained from, it is not used internally by Apalo.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["numbers","allocate"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"1f050e86-4234-436e-9691-a4dc6449ad67"},{"name":"Get Allocated Numbers","id":"cd8475e0-5b4e-495b-81a2-d3911272ac68","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/numbers/allocated?search=*1632900*&start=0&limit=100&provider=apalo&enterprise=&label=","description":"<p>Get a list of allocated numbers, or those assigned to a specific <code>enterprise</code> or carrying a specific <code>label</code></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["numbers","allocated"],"host":["https://api.apalo.io/v1"],"query":[{"description":{"content":"<p>Search for numbers containing specific digits, * is wildcard</p>\n","type":"text/plain"},"key":"search","value":"*1632900*"},{"description":{"content":"<p>If using pagination, the sequence number to start from</p>\n","type":"text/plain"},"key":"start","value":"0"},{"description":{"content":"<p>Limit number of results (use with Start to enable pagination)</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>Show only numbers from this CP (Use \"apalo\" to find only apalo provided numbers)</p>\n","type":"text/plain"},"key":"provider","value":"apalo"},{"description":{"content":"<p>Search for numbers by enterprise, * is wildcard</p>\n","type":"text/plain"},"key":"enterprise","value":""},{"description":{"content":"<p>Search for numbers by label, * is wildcard</p>\n","type":"text/plain"},"key":"label","value":""}],"variable":[]}},"response":[{"id":"34e76d83-c939-4bee-8009-e21abd4e4bc1","name":"Get Allocated Numbers","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/numbers/allocated?search=*1632900*&start=0&limit=100&provider=apalo&enterprise=&label=","host":["https://api.apalo.io/v1"],"path":["numbers","allocated"],"query":[{"key":"search","value":"*1632900*","description":"Search for numbers containing specific digits, * is wildcard"},{"key":"start","value":"0","description":"If using pagination, the sequence number to start from"},{"key":"limit","value":"100","description":"Limit number of results (use with Start to enable pagination)"},{"key":"provider","value":"apalo","description":"Show only numbers from this CP (Use \"apalo\" to find only apalo provided numbers)"},{"key":"enterprise","value":"","description":"Search for numbers by enterprise, * is wildcard"},{"key":"label","value":"","description":"Search for numbers by label, * is wildcard"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 10:35:03 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"49"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"4ae417e9109ab82067f0adf02a801802a06bcb31"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"number\": \"441632900933\",\n      \"provider\": \"apalo\",\n      \"external\": false,\n      \"country\": \"44\",\n      \"label\": null,\n      \"enterprise\": \"AcmeWidgets\"\n    },\n    {\n      \"number\": \"441632900935\",\n      \"provider\": \"apalo\",\n      \"external\": false,\n      \"country\": \"44\",\n      \"label\": null,\n      \"enterprise\": null\n    }\n  ],\n  \"count\": 42\n}"}],"_postman_id":"cd8475e0-5b4e-495b-81a2-d3911272ac68"},{"name":"Get Number Detail","id":"180766f2-9739-44a4-afc2-9fcdf9afd5ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/numbers/allocated/:number","description":"<p>Get detailed information on an individual number</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["numbers","allocated",":number"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Number in E.164 format</p>\n","type":"text/plain"},"type":"any","value":"","key":"number"}]}},"response":[{"id":"fbb153c9-be7e-4157-bac0-25c93b01ec83","name":"Get Number Detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/numbers/allocated/:number","host":["https://api.apalo.io/v1"],"path":["numbers","allocated",":number"],"variable":[{"key":"number","value":"441632900458","description":"(Required) Number in E.164 format"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 10:36:27 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"60"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"9921fd26c98fc9abf38af22aa9c80b39cf77e57d"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"number\": \"441632900458\",\n      \"provider\": \"apalo\",\n      \"external\": false,\n      \"country\": \"44\",\n      \"label\": null,\n      \"enterprise\": null\n    }\n  ]\n}"}],"_postman_id":"180766f2-9739-44a4-afc2-9fcdf9afd5ef"},{"name":"Configure Number","id":"64478d5b-473c-4e72-b409-ce7d3b7fc355","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"enterprise\": \"AcmeWidgets\",\n    \"label\": \"AcmeMainNumbers\"\n}"},"url":"https://api.apalo.io/v1/numbers/allocated/:number","description":"<p>Configure an individual number.</p>\n<p>At this time, there are only two parameters that can be altered - <code>label</code> (which can be used as a simple free sting label for this number, and <code>enterprise</code> which will assign a number to the given enterprise on the Apalo UC platform.</p>\n<p>Number routing is configured within the UC Platform \"UserAdmin\" control panel only at present.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["numbers","allocated",":number"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Number in E.164 format</p>\n","type":"text/plain"},"type":"any","value":"441632900458","key":"number"}]}},"response":[],"_postman_id":"64478d5b-473c-4e72-b409-ce7d3b7fc355"},{"name":"Delete Number","id":"0818737c-e538-4ee2-914a-a580c313cac7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.apalo.io/v1/numbers/allocated/:number","description":"<p>Delete the number from the Apalo platform.</p>\n<p>If the number was provided by Apalo the number will be removed from service and placed in a quarantine period during which it cannot be reallocated to another subscriber. </p>\n<p>If the number was added to the platform as <code>external: true</code> then the number can be re-added at any time.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["numbers","allocated",":number"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Number in E.164 format</p>\n","type":"text/plain"},"type":"any","value":"441632900458","key":"number"}]}},"response":[],"_postman_id":"0818737c-e538-4ee2-914a-a580c313cac7"}],"id":"343e5940-0ddb-4f8a-b0d0-2199b30aa2d9","_postman_id":"343e5940-0ddb-4f8a-b0d0-2199b30aa2d9","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"Mobile SIMs","item":[{"name":"SIM Provisioning","item":[{"name":"Allocated SIMs","id":"1b2122f3-9e8f-43ed-932d-856c3e0498b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/allocated?search=&start=0&limit=20&type=sip","description":"<p>Retrieve a list of allocated SIMs.</p>\n<p>This will return all SIMs that have been activated, even if they have later been suspended or terminated. </p>\n<p>This endpoint will not return SIMs that have not yet been activated.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated"],"host":["https://api.apalo.io/v1"],"query":[{"key":"search","value":""},{"description":{"content":"<p>If using pagination, the sequence number to start from</p>\n","type":"text/plain"},"key":"start","value":"0"},{"description":{"content":"<p>Limit number of results (use with Start to enable pagination)</p>\n","type":"text/plain"},"key":"limit","value":"20"},{"description":{"content":"<p>Optionally one of mno, fmc, sip to limit to SIMs of this type</p>\n","type":"text/plain"},"key":"type","value":"sip"}],"variable":[]}},"response":[{"id":"f72442d4-1c28-4cc3-a7a2-1029bbe0e6e2","name":"Allocated SIMs","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/sims/allocated?search=&start=0&limit=20&type=sip","host":["https://api.apalo.io/v1"],"path":["sims","allocated"],"query":[{"key":"search","value":""},{"key":"start","value":"0","description":"If using pagination, the sequence number to start from"},{"key":"limit","value":"20","description":"Limit number of results (use with Start to enable pagination)"},{"key":"type","value":"sip","description":"Optionally one of mno, fmc, sip to limit to SIMs of this type"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 11:43:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"176"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"e9f42dc6d5a432f50d2efb6c7340ac17c2286e1a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"msisdn\": \"447700900123\",\n            \"type\": \"sip\",\n            \"enterprise\": \"AcmeWidgets\",\n            \"label\": \"AcmeOnCallSIM\",\n            \"status\": \"active\"\n        }\n    ],\n    \"count\": 1\n}"}],"_postman_id":"1b2122f3-9e8f-43ed-932d-856c3e0498b9"},{"name":"Available SIMs ","id":"974181ee-e31b-4518-97a5-f3c89448897d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/available?type","description":"<p>Returns a list of SIMs that have been allocated to your Service Provider account and have not yet been activated.</p>\n<p>This will typically represent stock of SIMs you have received but not yet allocated to your customer.</p>\n<p>SIMs must be activated before use. </p>\n<p>Prior to activation SIMs will indicate an <code>available_type</code> indicating which services they may be used for. Notably SIMs ordered for use with the ApaloSIM SIP Service (type <code>sip</code>) cannot be provisioned as <code>mno</code>, <code>data</code> or <code>fmc</code> and vice-versa</p>\n<p>When a SIM is activated its type becomes fixed, you cannot change a SIM from <code>fmc</code> to <code>mno</code> service, for example.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","available"],"host":["https://api.apalo.io/v1"],"query":[{"description":{"content":"<p>Optionally limit to SIMs available for use as <code>sip</code>, <code>fmc</code>, <code>data</code>, or <code>mno</code></p>\n","type":"text/plain"},"key":"type","value":null}],"variable":[]}},"response":[{"id":"23103444-e302-41c3-b5b8-d9856dfec933","name":"Available SIMs ","originalRequest":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/available"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 11:46:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"609"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"1d7cb595456a94f5c826cd523995434929a5d96e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944122609999999902\",\n            \"msisdn\": \"447700900661\",\n            \"available_type\": [ \"sip\" ]\n        },\n        {\n            \"iccid\": \"8944122609999999903\",\n            \"msisdn\": \"447700900662\"\n            \"available_type\": [ \"mno\", \"fmc\", \"data\" ]\n        }\n    ],\n    \"count\": 2\n}"}],"_postman_id":"974181ee-e31b-4518-97a5-f3c89448897d"},{"name":"Activate New SIM","id":"2b833f4b-08c7-4c48-8fc5-553cc690aebb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"fmc\",\n  \"enterprise\": \"AcmeWidgets\",\n  \"data_bundle\": 1,\n  \"label\": \"AcmeWidgetsMobile\"\n}"},"url":"https://api.apalo.io/v1/sims/available/:iccid/activate","description":"<p>Activate a new available SIM.</p>\n<p><strong>Activation will start billing this SIM, billing will continue until the SIM is terminated. It is not possible to activate SIMs solely for testing the API, so please be sure you want to activate the SIM before calling this endpoint</strong></p>\n<p>The <code>type</code> must be one of the following and must be one of the <code>available_type</code> associated with this SIM (See the Available SIMs List);</p>\n<ul>\n<li><code>mno</code> Mobile Network Only - This is a simple mobile service with no special functionality, the SIM will work like any other SIM and all calls will be routed directly by the MNO. You will receive CDRs for calls made.</li>\n<li><code>data</code> Mobile Data Only - This is a data only SIM, it cannot make outbound calls, or send or receive SMS. It must have an active data service at all times.</li>\n<li><code>fmc</code> Fixed Mobile Convergence - This is for use with the FMC functionality of the Apalo UC Platform only. The SIM must be associated with an <code>enterprise</code> before it can be used. Calls will be routed via the Apalo UC Platform.</li>\n<li><code>sip</code> SIP Registation - This is for use with the ApaloSIM product, MO and MT calls will be routed to your own SIP Platform(s)</li>\n</ul>\n<p>The <code>data_bundle</code> must be one of the following (in each case the 'gb' suffix is optional, the integer value can be used instead); 1gb, 3gb, 10gb, 30gb, or 100gb. If no bundle is specified, the SIM will not be able to use mobile data services.</p>\n<p>The <code>label</code> is a free string for your own reference, it will be displayed in the Apalo portal(s)</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","available",":iccid","activate"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required)</p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[{"id":"728757c2-3b38-4f83-91f2-e9943a54e71a","name":"Activate New SIM","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"type\": \"fmc\",\n  \"enterprise\": \"AcmeWidgets\",\n  \"data_bundle\": 1,\n  \"label\": \"AcmeWidgetsMobile\"\n}"},"url":{"raw":"https://api.apalo.io/v1/sims/available/:iccid/activate","host":["https://api.apalo.io/v1"],"path":["sims","available",":iccid","activate"],"variable":[{"key":"iccid","value":"","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"changes_pending\": true,\n            \"txn\": \"16227215053815\"\n        }\n    ]\n}"}],"_postman_id":"2b833f4b-08c7-4c48-8fc5-553cc690aebb"},{"name":"Get SIM Detail","id":"435d5e6f-7de7-4371-b7c8-fa68ced544a5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[{"id":"2432c832-0e07-4558-9d14-9a7764cd49db","name":"Get SIM Detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid"],"variable":[{"key":"iccid","value":"","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n        \"iccid\": \"8944120006612345678\",\n        \"msisdn\": \"447700900123\",\n        \"type\": \"mno\",\n        \"label\": \"AcmeMobile\",\n        \"status\": \"active\",\n        \"changes_pending\": false,\n        \"enterprise\": null,\n        \"date_allocated\": \"2020-09-01 00:00:00\",\n        \"date_activated\": \"2020-09-20 16:23:22\",\n        \"date_terminated\": null,\n        \"pin1\": \"1111\",\n        \"pin2\": \"1111\",\n        \"puk1\": \"93820383\",\n        \"puk2\": \"64990121\"\n    }\n  ]\n}"}],"_postman_id":"435d5e6f-7de7-4371-b7c8-fa68ced544a5"},{"name":"Suspend SIM","id":"fa5d418e-93fa-4ba8-bf87-c52c6ae26bbe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/suspend","description":"<p>Suspend the specified SIM. </p>\n<p>A suspended SIM will be unable to make or receive calls, SMS, and will not be able to use any mobile data service.</p>\n<p>Monthly billing continues for suspended SIMs.</p>\n<p><strong>NB</strong> <em>This is an Asynchronous Command as detailed in the documentation at the beginning of this section</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","suspend"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required)</p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[{"id":"8f927a03-05b6-4e95-886a-0ab8725d51d6","name":"Suspend SIM","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\"{}\""},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/suspend","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","suspend"],"variable":[{"key":"iccid","value":"","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"changes_pending\": true,\n            \"txn\": \"16227215053815\"\n        }\n    ]\n}"}],"_postman_id":"fa5d418e-93fa-4ba8-bf87-c52c6ae26bbe"},{"name":"Set SIM Details","id":"d6a830b0-c259-4cc3-b834-8d65ecabd3aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"label\": \"Your Label\"\n}"},"url":"https://api.apalo.io/v1/sims/allocated/:iccid","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[],"_postman_id":"d6a830b0-c259-4cc3-b834-8d65ecabd3aa"},{"name":"Unsuspend SIM","id":"b6ef899b-7f2d-4e2d-9491-6238035bc71d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\"{}\""},"url":"https://api.apalo.io/v1/sims/allocated/:iccid/unsuspend","description":"<p>Unsuspend the specified SIM. </p>\n<p>Reverses the suspend operation.</p>\n<p><strong>NB</strong> <em>This is an Asynchronous Command as detailed in the documentation at the beginning of this section</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","unsuspend"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required)</p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[{"id":"03c5dec5-ce4d-42c9-8af3-fb1e2a34650d","name":"Unsuspend SIM","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"\"{}\""},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/unsuspend","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","unsuspend"],"variable":[{"key":"iccid","value":"","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"changes_pending\": true,\n            \"txn\": \"16227215053815\"\n        }\n    ]\n}"}],"_postman_id":"b6ef899b-7f2d-4e2d-9491-6238035bc71d"},{"name":"Terminate SIM","id":"532dfb40-cd3c-4c8f-bc12-7a35d63b5192","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\"{}\""},"url":"https://api.apalo.io/v1/sims/allocated/:iccid/terminate","description":"<p>Irreversibly Terminate service on the specified SIM. </p>\n<p><strong>This operation is irreversible and renders the SIM card useless. This should only be used to permanently deactivate a SIM in the event of the customer cancelling service.</strong></p>\n<p>Monthly billing ceases for terminated SIMs.</p>\n<p><strong>NB</strong> <em>This is an Asynchronous Command as detailed in the documentation at the beginning of this section</em></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","terminate"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required)</p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[{"id":"3db5f506-41d9-40d7-9f47-01e16f629228","name":"Terminate SIM","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\"{}\""},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/terminate","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","terminate"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"changes_pending\": true,\n            \"txn\": \"16227215054930\"\n        }\n    ]\n}"}],"_postman_id":"532dfb40-cd3c-4c8f-bc12-7a35d63b5192"},{"name":"Pending Operations","id":"9b6fe8c3-7488-41ac-b5b5-2557069436a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.apalo.io/v1/sims/pending","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","pending"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[]}},"response":[{"id":"2f6442dc-e28a-4e69-a923-7e7942687a3a","name":"Pending Operations","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.apalo.io/v1/sims/pending"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 11:12:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"43"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"e499f95ee3f430489e463b1635d2649a113292b2"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    [\n      {\n        \"txn\": \"16227215053815\",\n        \"iccid\": \"8944120006612345678\",\n        \"msisdn\": \"447700900123\",\n        \"ds_requested\": \"2021-06-03 11:58:25\",\n        \"action\": \"suspend\"\n      }\n    ]\n  ]\n}"}],"_postman_id":"9b6fe8c3-7488-41ac-b5b5-2557069436a6"}],"id":"e5827682-2a3e-4eac-8ef0-fcd24afd2a6d","description":"<p>These functions manage the provisioning of the SIM on the Mobile Network such as activating and suspending SIM cards. </p>\n<h2 id=\"asynchronous-network-operations\">Asynchronous Network Operations</h2>\n<p>A number of these functions require communication with the HLR or other elements of the MNO.</p>\n<p>These functions are asynchronous in nature, and will typically complete within a couple of minutes but at times may take longer. </p>\n<p>98% of all requests will complete in under 15 minutes, but we will not consider a request has failed until <em>three hours</em> from the request has elapsed. </p>\n<p>Where a call is made to a function that operates asynchronously the response will include a <code>txn</code> parameter. The {Pending Operations} endpoint can be used to check the status of any pending operation.</p>\n","_postman_id":"e5827682-2a3e-4eac-8ef0-fcd24afd2a6d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"Mobile Data and Calls","item":[{"name":"Get Data Usage","id":"2438b278-4acf-4bdb-bb24-3908d84e7395","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[]},"isInherited":false},"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid?year=Y&month=M","urlObject":{"path":["sims","allocated",":iccid"],"host":["https://api.apalo.io/v1"],"query":[{"description":{"content":"<p>Full Year i.e. 2025</p>\n","type":"text/plain"},"key":"year","value":"Y"},{"description":{"content":"<p>Month Number i.e. 04 for April</p>\n","type":"text/plain"},"key":"month","value":"M"},{"disabled":true,"description":{"content":"","type":"text/plain"},"key":null,"value":null}],"variable":[{"description":{"content":"<p>ICCID (Required)</p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[],"_postman_id":"2438b278-4acf-4bdb-bb24-3908d84e7395"}],"id":"6e180ca9-e1ad-4646-bf22-e767472d1170","description":"<p>API for accessing current and historic data usage and call information</p>\n","_postman_id":"6e180ca9-e1ad-4646-bf22-e767472d1170","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"Mobile Services Configuration","item":[{"name":"Get SIM Services Config","id":"679e0441-be2c-4cf8-a8ce-422e1f483cd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/config","description":"<p>Get the current mobile network configuration for this SIM.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","config"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"","key":"iccid"}]}},"response":[{"id":"8b6acf01-f49b-4346-976e-98efc3cde7b7","name":"Get SIM Services Config","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/config","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","config"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"msisdn\": \"447700900123\",\n            \"type\": \"mno\",\n            \"changes_pending\": false,\n            \"enable_data\": true,\n            \"data_bundle\": \"1gb\",\n            \"roaming\": \"eu\",\n            \"roaming_daily_pack\": false,\n            \"enable_prs\": false,\n            \"enable_adult\": false\n        }\n    ]\n}"}],"_postman_id":"679e0441-be2c-4cf8-a8ce-422e1f483cd9"},{"name":"Change SIM Services Config","id":"f1a5168f-13cd-4e13-ab48-64bfe7d001e2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"enable_prs\": false,\n    \"enable_adult\": false\n}"},"url":"https://api.apalo.io/v1/sims/allocated/:iccid/config","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","config"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"iccid"}]}},"response":[{"id":"97dc59f4-ec13-48e6-a82a-32b3b8bdacfd","name":"Change SIM Services Config","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"enable_prs\": false,\n    \"enable_adult\": false\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/config","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","config"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required)"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"changes_pending\": true,\n            \"txn\": \"1622721506323\"\n        }\n    ]\n}"}],"_postman_id":"f1a5168f-13cd-4e13-ab48-64bfe7d001e2"}],"id":"360c4ca1-311b-4dc7-972c-4cf9cba37eff","description":"<p>These functions manage service on the Mobile Network. Much like SIM Provisioning, these are Asynchronous in nature.</p>\n<h2 id=\"mobile-services\">Mobile Services</h2>\n<p>The following service parameters can be configured on a per-SIM basis;</p>\n<ul>\n<li><code>data_bundle</code> - The SIM data bundle, one of 1gb, 3gb, 10gb, 30gb, or 100gb.</li>\n<li><code>roaming</code> - International Roaming, one of <code>eu</code>, <code>global</code>, or <code>none</code></li>\n<li><code>roaming_daily_pack</code> - Enable the daily data roaming pack (subject to availability, please see your service agreement for details)</li>\n<li><code>enable_prs</code> - Enable access to Premium Rate Services (including PRS numbers and Premium SMS services) - where the SIM type is <code>fmc</code> or <code>sip</code> this does not affect access to PRS numbers.</li>\n<li><code>enable_adult</code> - Enable access to material, numbers, or services that would be blocked by Adult Content Barring.</li>\n</ul>\n","_postman_id":"360c4ca1-311b-4dc7-972c-4cf9cba37eff","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"Mobile Spend Limits","item":[{"name":"Get SIM Spend Limits","id":"0cd46d97-9eed-41cc-ae8f-0417cad4ef2f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/limits","description":"<p>Get the current spend limits for this SIM.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","limits"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"","key":"iccid"}]}},"response":[{"id":"514215d4-590d-4666-a801-c817a4e97cef","name":"Get SIM Spend Limits","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/limits","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","limits"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"iccid\": \"8944120006612345678\",\n      \"msisdn\": \"447700900123\",\n      \"cost_limit\": 70,\n      \"cost_warn\": 30,\n      \"send_sms_warn\": false\n    }\n  ]\n}"}],"_postman_id":"0cd46d97-9eed-41cc-ae8f-0417cad4ef2f"},{"name":"Change SIM Spend Limits","id":"5399472c-c42d-4d34-91ca-2f64549de64f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"cost_limit\": 70,\n   \"cost_warn\": 30,\n   \"send_sms_warn\": false\n}"},"url":"https://api.apalo.io/v1/sims/allocated/:iccid/limits","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","limits"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required)</p>\n","type":"text/plain"},"type":"any","value":"","key":"iccid"}]}},"response":[{"id":"3aa30686-4f16-4220-bebe-8328b7473440","name":"Change SIM Spend Limits","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n   \"cost_limit\": 70,\n   \"cost_warn\": 30,\n   \"send_sms_warn\": false\n}"},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/limits","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","limits"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required)"}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"iccid\": \"8944120006612345678\",\n      \"msisdn\": \"447700900123\",\n      \"cost_limit\": 70,\n      \"cost_warn\": 30,\n      \"send_sms_warn\": false\n    }\n  ]\n}"}],"_postman_id":"5399472c-c42d-4d34-91ca-2f64549de64f"}],"id":"9f538491-40db-4305-b17a-07240a3873f5","description":"<p>It is possible to set spend limits on a per-SIM basis. These are based on the cost price to you, the Apalo Customer, therefore cannot be used to limit your customers' bills unless you are operating a percentage markup (in which case you should set the limits to the cost price), and are enforced on a reasonable efforts basis. </p>\n<p><strong>You remain responsible for all chargeable events on all SIMs on your account. The failure of a limit to function correctly, or delayed billing events, does not create a liability for Apalo</strong></p>\n<h2 id=\"mobile-spend-limits\">Mobile Spend Limits</h2>\n<p>The following parameters can be configured on a per-SIM basis;</p>\n<ul>\n<li><code>cost_limit</code> - The amount (in GBP) at which service will be restricted</li>\n<li><code>cost_warn</code> - The amount (in GBP) at which a warning will be generated. This will be eMailed to the address(es) we have on file. Please raise a ticket to confirm what address(es) you would like to receive this warning. </li>\n<li><code>send_sms_warn</code> - A boolean value. If <code>true</code> will cause an SMS to be sent to the handset when <code>cost_warn</code> is reached.</li>\n</ul>\n<h4 id=\"sms-warning\">SMS Warning</h4>\n<p>The SMS message will be sent to the SIM directly and will be as follows;</p>\n<blockquote>\n<p>Your mobile spend is approaching your pre-defined limit. Your service may be limited. If you did not expect this message, please contact your service provider.</p>\n</blockquote>\n<p>This is designed to be generic in nature. You may wish, instead, to send the customer a message directly using the SMS API.</p>\n","_postman_id":"9f538491-40db-4305-b17a-07240a3873f5","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"ApaloSIM SIP","item":[{"name":"Get SIP Config","id":"8f182b1b-06fc-450d-8766-40bac330cfb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/sip/config","description":"<p>Get the current configuration of a SIP Registration SIM. </p>\n<p><strong>NB</strong> The <code>sip_password</code> parameter will always be <code>true</code> as for security reasons the password can only be set, not retrieved, via the API</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","sip","config"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"","key":"iccid"}]}},"response":[{"id":"fcc34f86-9fd9-4280-9960-ba84248d5429","name":"Get SIP Registration Config","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/sip/config","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","sip","config"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 10:55:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"367"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"95b356b117f66cec7bce050d30ec010d1a2e1d23"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"msisdn\": \"447700900123\",\n            \"type\": \"sip\",\n            \"enable_registration\": true,\n            \"sip_type\": \"registration\",\n            \"sip_host\": \"sip.example.com\",\n            \"sip_user\": \"1001\",\n            \"sip_auth_user\": \"1001\",\n            \"sip_password\": true,\n            \"sip_expires\": 60,\n            \"sip_tls\": \"disabled\",\n            \"sip_srtp\": \"disabled\"\n        }\n    ]\n}"}],"_postman_id":"8f182b1b-06fc-450d-8766-40bac330cfb7"},{"name":"Get SIP Registration Status","id":"5a3f70ca-5fad-4b7b-b711-bda93e221e3c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/sip/status","description":"<p>Get the current status of a SIP Registration SIM. </p>\n<p>The current <code>registration</code> details will be shown including the SIP Expiry </p>\n<p>The <code>last_call</code> object will contain information on the last call made to (MT) and from (MO) the SIM.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","sip","status"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"","key":"iccid"}]}},"response":[{"id":"a6d0c334-14dc-4c60-84b2-daaecdc2cbed","name":"Get SIP Registration Status","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/sip/status","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","sip","status"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 11:04:18 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"334"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"b029dd01c51c4a4077fedff0577636286b77c29a"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"iccid\": \"8944120006612345678\",\n            \"msisdn\": \"447700900123\",\n            \"type\": \"sip\",\n            \"status\": \"registered\",\n            \"registration\": {\n                \"sip_host\": \"sip:sip.example.com:5060\",\n                \"sip_user\": \"1001\",\n                \"sip_auth_user\": \"1001\",\n                \"realm\": null,\n                \"expires\": 20,\n                \"reg_since\": \"2021-05-26 14:04:36\",\n                \"reg_expires\": \"2021-06-03 11:04:38\"\n            },\n            \"last_call\": []\n        }\n    ]\n}"}],"_postman_id":"5a3f70ca-5fad-4b7b-b711-bda93e221e3c"},{"name":"Set SIP Config","id":"3db008d8-dc32-4617-a293-147a7fdb4d20","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sip_type\": \"registration\",\n  \"enable_registration\": true,\n  \"sip_host\": \"sip.example.com\",\n  \"sip_user\": \"1001\",\n  \"sip_auth_user\": \"1001\",\n  \"sip_password\": \"CorrectHorseBatteryStaple306\",\n  \"sip_expires\": 60,\n  \"sip_tls\": \"disabled\",\n  \"sip_srtp\": \"disabled\",\n}"},"url":"https://api.apalo.io/v1/sims/allocated/:iccid/sip/config","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","sip","config"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"","key":"iccid"}]}},"response":[{"id":"fd681b0a-08da-4468-b952-eed68f3a16f3","name":"Set SIP Config (Registration)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"sip_type\": \"registration\",\n  \"enable_registration\": true,\n  \"sip_host\": \"sip.example.com\",\n  \"sip_user\": \"1001\",\n  \"sip_auth_user\": \"1001\",\n  \"sip_password\": \"CorrectHorseBatteryStaple306\",\n  \"sip_expires\": 60,\n  \"sip_tls\": \"disabled\",\n  \"sip_srtp\": \"disabled\",\n}"},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/sip/config","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","sip","config"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"iccid\": \"8944120006612345678\",\n      \"msisdn\": \"447700900123\",\n      \"type\": \"sip\",\n      \"enable_registration\": true,\n      \"sip_type\": \"registration\",\n      \"sip_host\": \"sip.example.com\",\n      \"sip_user\": \"1001\",\n      \"sip_auth_user\": \"1001\",\n      \"sip_password\": true,\n      \"sip_expires\": 60,\n      \"sip_tls\": \"disabled\",\n      \"sip_srtp\": \"disabled\",\n    }\n  ]\n}"},{"id":"3a4b7106-e4f5-4352-83a5-784b0549c5fd","name":"Set SIP Config (Endpoint)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"enable_registration\": false,\n    \"sip_type\": \"endpoint\",\n    \"sip_mo_endpoint\": \"sip:sip.example.com;transport=udp\"\n}\n"},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/sip/config","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","sip","config"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required) "}]}},"code":200,"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"iccid\": \"8944120006612345678\",\n      \"msisdn\": \"447700900123\",\n      \"type\": \"sip\",\n      \"enable_registration\": false,\n      \"sip_type\": \"endpoint\",\n      \"sip_mo_endpoint\": \"sip:sip.example.com;transport=udp\",\n    }\n  ]\n}"}],"_postman_id":"3db008d8-dc32-4617-a293-147a7fdb4d20"},{"name":"Remove SIP Config","id":"09bd3d08-ca7f-4ee9-941b-a38a52aa1401","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/sip/config","description":"<p>Disable SIP Registration for this SIM. </p>\n<p>The SIM will remain in service and will continue to be able to use Data and SMS services if configured to do so.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","sip","config"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"","key":"iccid"}]}},"response":[],"_postman_id":"09bd3d08-ca7f-4ee9-941b-a38a52aa1401"}],"id":"2954ccc4-fd26-4c71-840f-d85d552a4a5e","description":"<p>These endpoints are for the <strong>ApaloSIM</strong> service.</p>\n<p>These do not apply to SIMs used for Mobile Only or FMC Services on the Apalo UC Platform.</p>\n<h2 id=\"sip-registration\">SIP Registration</h2>\n<p>Where SIP registration is enabled, the following parameters can be provided;</p>\n<ul>\n<li><code>sip_type</code> this should be set to <code>registration</code> for all registrations</li>\n<li><code>enable_registration</code> a simple boolean to control whether or not this registration is active (default: true)</li>\n<li><code>sip_host</code> the FQDN hostname or IP address of the SIP server to register to. This can optionally include a port and transport (e.g. <code>sip.example.com:5060;transport=tcp</code>) where not provided, port 5060 is assumed. Where the hostname provided has SRV records these will be respected. </li>\n<li><code>sip_user</code> the SIP username for registration, will also be present in the SIP From header for calls made from this SIM.</li>\n<li><code>sip_auth_user</code> the SIP authentication username (if different)</li>\n<li><code>sip_password</code> the password for the SIP account for registration and authenticating MO calls. This is never returned in any future API call so may be sent as the boolean <code>true</code> to retain the current password.</li>\n<li><code>realm</code> this is currently ignored and should not be provided</li>\n<li><code>expires</code> (seconds) the expiry time for the SIP registration, defaults to 60s. Please note that setting this too high can cause registrations to time out on some platforms. Also, if you disable and re-enable this registration then the registration may not be re-attempted until <code>expires</code> seconds have passed.</li>\n</ul>\n<h2 id=\"mo-calls-to-sip-endpoint\">MO Calls to SIP Endpoint</h2>\n<p>Customers using their own SBC with ApaloSIM may prefer to route all MO traffic via an IP-authenticated trunk directly to their SBC. This can be achieved via the API as follows.</p>\n<p><em>NB</em> All calls are delivered with the RURI / To user as the <em>number dialled on the SIM</em> and the PAI will contain the SIM MSISDN to enable you to identify the originator of the call. No authentication is supported.</p>\n<ul>\n<li><code>sip_type</code> this should be set to <code>endpoint</code> for SIMs configured in this way.</li>\n<li><code>enable_registration</code> should be set to <code>false</code> for SIMs configured in this way.</li>\n<li><code>sip_mo_endpoint</code> the FQDN hostname or IP address of the SIP server to send MO calls to. This can optionally include a port and transport (e.g. <code>sip.example.com:5060;transport=tcp</code>) where not provided, port 5060 is assumed. Where the hostname provided has SRV records these will be respected.</li>\n</ul>\n<p>All MO calls will be routed as dialled to the provided endpoint, e.g. a call to <code>1004</code> will appear to <code>sip:1004@sip.example.com:5060;transport=tcp</code></p>\n<p>Some numbers (e.g. 11x, 999 etc) are not routed to your platform.</p>\n","_postman_id":"2954ccc4-fd26-4c71-840f-d85d552a4a5e","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"ApaloSIM Inbound MSISDNs","item":[{"name":"Get Inbound Routing Config","id":"1874e4dc-36fd-4af3-9814-e9afc7a3ddb8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/inbound/config","description":"<p>Get the current inbound routing configuration for calls to the MSISDN associated with this SIM.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","inbound","config"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[{"id":"988c087d-8f0b-42a6-a8e8-745b334d413a","name":"Get Inbound Routing Config","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/inbound/config","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","inbound","config"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 10:55:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"367"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"95b356b117f66cec7bce050d30ec010d1a2e1d23"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"iccid\": \"8944120006612345678\",\n      \"msisdn\": \"447700900123\",\n      \"type\": \"sip\",\n      \"inbound_method\": \"endpoint\",\n      \"inbound_endpoint\": \"sip.example.com;transport=tcp\",\n      \"inbound_distinct_origin\": true\n    }\n  ]\n}"}],"_postman_id":"1874e4dc-36fd-4af3-9814-e9afc7a3ddb8"},{"name":"Set Inbound Routing Config","id":"18eb4f08-53f3-48af-9232-160cdee06882","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/inbound/config","description":"<p>Inbound calls to the MSISDN associated with the SIM can either be routed directly to the SIM or to a SIP endpoint of your choice such as your SBC or IP PBX for full control of the inbound call flow.</p>\n<p><strong>NB These should be treated the same as inbound calls from Apalo Numbering. It is not possible at this time to register</strong> <em><strong>TO</strong></em> <strong>the ApaloSIM platform to receive calls to the MSISDN by registration, nor will the inbound calls reply to a 401 Authentication challenge. You should authenticate the inbound calls to the MSISDN by IP.</strong></p>\n<p>There are two main parameters;</p>\n<ul>\n<li><code>inbound_method</code> may be one of <code>endpoint</code>, or <code>direct</code> (Direct to SIM)</li>\n<li><code>inbound_endpoint</code> is only valid (and mandatory) where the endpoint method is selected, and should be a SIP FQDN or IP e.g. <code>sip.example.com:5060;transport=tcp</code> - the username part of the URI is omitted as this will always be the MSISDN.</li>\n</ul>\n<p>Additionally, there are some further parameters that control how the call is routed to your platform;</p>\n<ul>\n<li><code>inbound_distinct_origin</code> if set <code>true</code> will cause inbound calls to originate from a different IP / Host than your SIP registrations</li>\n</ul>\n<p><strong>inbound_distinct_origin</strong></p>\n<p>This parameter was introduced for improved compatibility and simplifying configuration for SIP platforms that expect your inbound 'carrier' trunks to have their own IPs (i.e. they cannot share the IP with a registered device).</p>\n<p>Please contact your account manager before enabling this option, and ensure that the appropriate IP addresses are permitted by any ACLs.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","inbound","config"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[{"id":"658e896b-1234-426e-a4f9-bd9bfaba2525","name":"Set Inbound Routing (SIP Endpoint)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"inbound_method\": \"endpoint\",\n    \"inbound_endpoint\": \"sip.example.com;transport=tcp\",\n    \"inbound_distinct_origin\": true\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/inbound/config","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","inbound","config"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 10:55:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"367"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"95b356b117f66cec7bce050d30ec010d1a2e1d23"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"iccid\": \"8944120006612345678\",\n      \"msisdn\": \"447700900123\",\n      \"type\": \"sip\",\n      \"inbound_method\": \"endpoint\",\n      \"inbound_endpoint\": \"sip.example.com;transport=tcp\",\n      \"inbound_distinct_origin\": true\n    }\n  ]\n}"},{"id":"b9fc0b7b-893a-4a83-af33-f12ed64522ce","name":"Set Inbound Routing (Direct to SIM)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"inbound_method\": \"direct\",\n}\n","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.apalo.io/v1/sims/allocated/:iccid/inbound/config","host":["https://api.apalo.io/v1"],"path":["sims","allocated",":iccid","inbound","config"],"variable":[{"key":"iccid","value":"8944120006612345678","description":"ICCID (Required)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 10:55:36 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"367"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"95b356b117f66cec7bce050d30ec010d1a2e1d23"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": 200,\n  \"success\": true,\n  \"data\": [\n    {\n      \"iccid\": \"8944120006612345678\",\n      \"msisdn\": \"447700900123\",\n      \"type\": \"sip\",\n      \"inbound_method\": \"direct\"\n    }\n  ]\n}"}],"_postman_id":"18eb4f08-53f3-48af-9232-160cdee06882"},{"name":"Remove Inbound Routing Config","id":"6415f8cb-a5f7-4e65-9431-05f12802607b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.apalo.io/v1/sims/allocated/:iccid/inbound/config","description":"<p>Immediately removes the inbound routing configuration for calls to this MSISDN.</p>\n<p>Calls to the MSISDN associated with the SIM will fail.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["sims","allocated",":iccid","inbound","config"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"id":"6ff9693b-3646-461e-b2ea-c4d9014f4f35","description":{"content":"<p>ICCID (Required) </p>\n","type":"text/plain"},"type":"any","value":"8944120006612345678","key":"iccid"}]}},"response":[],"_postman_id":"6415f8cb-a5f7-4e65-9431-05f12802607b"}],"id":"b93fe609-5b9d-42c6-9a1d-ef72581c1982","_postman_id":"b93fe609-5b9d-42c6-9a1d-ef72581c1982","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"ApaloSIM SIP ACLs","item":[{"name":"List IPs","id":"618b8cef-62f7-4d84-9dab-2d5eede248ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/acls/mt","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["acls","mt"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[]}},"response":[{"id":"2210615f-7a6b-4ab3-80e1-5704e33d5d42","name":"List IPs","originalRequest":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/acls/mt"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 Jul 2021 14:50:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"4e95e020cf66a37014089c55214d2599a35ae3df"},{"key":"Access-Control-Allow-Origin","value":""},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\"status\":200,\"success\":true,\"data\":[{\"ip4\":\"10.0.0.4\",\"date\":\"2021-07-26 14:23:18\"}],\"count\":1}"}],"_postman_id":"618b8cef-62f7-4d84-9dab-2d5eede248ab"},{"name":"Add IP Address","id":"406820d6-2400-49ff-8e8b-1ae6142e873f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"url":"https://api.apalo.io/v1/acls/mt/:ip","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["acls","mt",":ip"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>IP Address</p>\n","type":"text/plain"},"type":"any","value":"","key":"ip"}]}},"response":[{"id":"ce7c3763-589b-4e7d-b20f-e36aecbaf326","name":"Add IP Address","originalRequest":{"method":"PUT","header":[],"url":{"raw":"https://api.apalo.io/v1/acls/mt/:ip","host":["https://api.apalo.io/v1"],"path":["acls","mt",":ip"],"variable":[{"key":"ip","value":"10.0.0.4","description":"IP Address"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 Jul 2021 14:50:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"4e95e020cf66a37014089c55214d2599a35ae3df"},{"key":"Access-Control-Allow-Origin","value":""},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"ip4\": \"10.0.0.4\",\n            \"date\": \"2021-07-26 14:29:18\"\n        }\n    ]\n}"}],"_postman_id":"406820d6-2400-49ff-8e8b-1ae6142e873f"},{"name":"Remove IP Address","id":"458de1a9-c0bd-4ac7-86ab-cecd452cfdd7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.apalo.io/v1/acls/mt/:ip","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["acls","mt",":ip"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>IP Address</p>\n","type":"text/plain"},"type":"any","value":"","key":"ip"}]}},"response":[{"id":"1e09e81a-6a72-462b-8513-3f7991478c75","name":"List ACLs","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.apalo.io/v1/acls/mt/:ip","host":["https://api.apalo.io/v1"],"path":["acls","mt",":ip"],"variable":[{"key":"ip","value":"10.0.0.4","description":"IP Address"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 26 Jul 2021 14:50:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"4e95e020cf66a37014089c55214d2599a35ae3df"},{"key":"Access-Control-Allow-Origin","value":""},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"}],"cookie":[],"responseTime":null,"body":"{\"status\":200,\"success\":true}"}],"_postman_id":"458de1a9-c0bd-4ac7-86ab-cecd452cfdd7"}],"id":"dc8e9f1b-130b-4db9-b3f6-83b3e38f9441","description":"<p>These functions are only to be used by customers using the SIP Endpoint integration with ApaloSIM. </p>\n<p>They are not required if you're using SIP Registrations, and you should <em>not</em> add the IP addresses of any IP PBX or platform that is using the SIP Registration service. </p>\n<p>Please note that all IP addresses added to the MT ACL will be able to call your SIMs without restriction. It is your responsibility to ensure these systems are appropriately secured. By submitting an IP address via this API you warrant that you are responsible for all traffic originating from the IP address.</p>\n","_postman_id":"dc8e9f1b-130b-4db9-b3f6-83b3e38f9441","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}}],"id":"bbd94dcd-c58f-43ea-b2a4-020b7c69ca76","_postman_id":"bbd94dcd-c58f-43ea-b2a4-020b7c69ca76","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"Hosted UC","item":[{"name":"Enterprises","item":[{"name":"Get Enterprise List","id":"223e211b-7e9b-4b36-977a-518a666d43f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/enterprises?search=&limit=&start=","description":"<p>Get a list of Enterprises on the Apalo Hosted UC Platform.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises"],"host":["https://api.apalo.io/v1"],"query":[{"description":{"content":"<p>(Required) Search for enteprises containing specific digits, * is wildcard</p>\n","type":"text/plain"},"key":"search","value":""},{"description":{"content":"<p>(Required) Limit number of results (use with Start to enable pagination)</p>\n","type":"text/plain"},"key":"limit","value":""},{"description":{"content":"<p>(Required) If using pagination, the sequence number to start from</p>\n","type":"text/plain"},"key":"start","value":""}],"variable":[]}},"response":[{"id":"5dfdfae1-963a-4de7-9498-3f9961761fa0","name":"Get Enterprise List","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/enterprises?search=&limit=&start=","host":["https://api.apalo.io/v1"],"path":["enterprises"],"query":[{"key":"search","value":"","description":"(Required) Search for enteprises containing specific digits, * is wildcard"},{"key":"limit","value":"","description":"(Required) Limit number of results (use with Start to enable pagination)"},{"key":"start","value":"","description":"(Required) If using pagination, the sequence number to start from"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 13:25:08 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"491"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"c564740be7421aa9ebd0ec2b37f1715f184c142e"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"enterprise\": \"ENT300200110\",\n            \"name\": \"ACME WIDGETS\",\n            \"billing_account\": \"300200110\",\n            \"default_number\": \"441632900123\"\n        },\n        {\n            \"enterprise\": \"ENT300200148\",\n            \"name\": \"ACME SERVICES\",\n            \"billing_account\": \"300200148\",\n            \"default_number\": \"441632900500\"\n        }\n    ]\n}"}],"_postman_id":"223e211b-7e9b-4b36-977a-518a666d43f4"},{"name":"Create New Enterprise","id":"d50ee026-fe96-4e25-866f-cb278aa38212","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Global Enterprises\",\n  \"id\": \"GLOBALENT1\",\n  \"email\": \"admin@global.example.com\",\n  \"postcode\": \"AA1 2BC\"\n}"},"url":"https://api.apalo.io/v1/enterprises/create","description":"<p>Create a new Enterprise on the Apalo Hosted UC Platform.</p>\n<p>The following parameters are mandatory;</p>\n<ul>\n<li><code>name</code> - The long name of the Enterprise, typically the full company name.</li>\n<li><code>email</code> - The eMail address of the primary user of this enterprise, this will be created as the first admin account for this enterprise. </li>\n<li><code>postcode</code> - The postcode of the Enterprise.</li>\n</ul>\n<p>Optionally, you can also specify <code>id</code> which is a unique identifier for this enterprise. If not specified it will be automatically generated. </p>\n<p>The <code>id</code>, if specified, is limited to 14 characters with no spaces and only limited punctuation. </p>\n<h4 id=\"admin-account\">Admin Account</h4>\n<p>When the enterprise is created, an admin account will be created for the <code>email</code> provided.</p>\n<p>A password will be automatically generated for this account, which will be provided in response to this API call. </p>\n<p><strong>NB</strong> The password cannot be retrieved at a later date, and is not automatically sent to the eMail address, we recommend you send a notification to the customer when their account is created successfully to allow them to login and manage their hosted enterprise.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises","create"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[]}},"response":[{"id":"1baa98bd-2b4f-4db3-a8b5-59eb46ba33c9","name":"Create New Enterprise","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Global Enterprises\",\n  \"id\": \"GLOBALENT1\",\n  \"email\": \"admin@global.example.com\",\n  \"postcode\": \"AA1 2BC\"\n}"},"url":"https://api.apalo.io/v1/enterprises/create"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 13:31:01 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"218"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"4b9eac05191dbaef613135f9e34e5cad03c6b5aa"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 201,\n    \"success\": true,\n    \"data\": [\n        {\n            \"enterprise\": \"GLOBALENT1\",\n            \"name\": \"Global Enterprises\",\n            \"postcode\": \"AA1 2BC\",\n            \"email\": \"admin@global.example.com\",\n            \"password\": \"rejdojlomni28\"\n        }\n    ]\n}"}],"_postman_id":"d50ee026-fe96-4e25-866f-cb278aa38212"},{"name":"Get Enterprise","id":"8d7c4e35-8b85-4b56-bd25-89208c94e91c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":"https://api.apalo.io/v1/enterprises/:enterprise","description":"<p>Get details of an individual Enterprise, including the dialplan and numbering associated with the enterprise.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises",":enterprise"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enterprise ID / Short Name</p>\n","type":"text/plain"},"type":"any","value":"","key":"enterprise"}]}},"response":[{"id":"4aced3de-933e-45fc-8225-3009fa3a45b9","name":"Get Enterprise","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json"}],"url":{"raw":"https://api.apalo.io/v1/enterprises/:enterprise","host":["https://api.apalo.io/v1"],"path":["enterprises",":enterprise"],"variable":[{"key":"enterprise","value":"","description":"(Required) Enterprise ID / Short Name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"enterprise\": \"GLOBALENT1\",\n            \"name\": \"Global Enterprises\",\n            \"mbn\": \"441632900123\",\n            \"internal_dialplan\": [\n                {\n                    \"length\": 4,\n                    \"start\": [\n                        \"2\",\n                        \"3\"\n                    ]\n                },\n                {\n                    \"length\": 3,\n                    \"start\": [\n                        \"5\",\n                        \"7\"\n                    ]\n                }\n            ],\n            \"default_number\": \"441632900123\",\n            \"numbers\": [\n                {\n                    \"number\": \"441632900123\",\n                    \"country\": \"44\",\n                    \"label\": null,\n                    \"is_default\": true\n                },\n                {\n                    \"number\": \"441632900150\",\n                    \"country\": \"44\",\n                    \"label\": null,\n                    \"is_default\": false\n                }\n            ]\n        }\n    ]\n}"}],"_postman_id":"8d7c4e35-8b85-4b56-bd25-89208c94e91c"},{"name":"Delete Enterprise","id":"5bbdb40e-0d3b-4047-81d0-d7816f792541","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://api.apalo.io/v1/enterprises/:enterprise","description":"<p>Delete an Enterprise</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises",":enterprise"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enterprise ID / Short Name</p>\n","type":"text/plain"},"type":"any","value":"","key":"enterprise"}]}},"response":[{"id":"9678ac2b-ec7e-4784-89a5-469ee12bb61c","name":"Delete Enterprise","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://api.apalo.io/v1/enterprises/:enterprise","host":["https://api.apalo.io/v1"],"path":["enterprises",":enterprise"],"variable":[{"key":"enterprise","value":"","description":"(Required) Enterprise ID / Short Name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 13:53:41 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"29"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"f38d912710491142e5d50da2762d729d388df2a6"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true\n}"}],"_postman_id":"5bbdb40e-0d3b-4047-81d0-d7816f792541"}],"id":"272f8761-eeb4-4b29-a37f-e1761c4941f4","_postman_id":"272f8761-eeb4-4b29-a37f-e1761c4941f4","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"Extensions","item":[{"name":"Get Extensions","id":"98592aa8-31f8-467f-9e8c-6e19d7b5464c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/enterprises/:enterprise/extensions","description":"<p>Get extensions associated with an enterprise</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises",":enterprise","extensions"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"type":"any","value":"","key":"enterprise"}]}},"response":[{"id":"02901691-7df0-4f44-8337-668fc4068f46","name":"Get Extensions","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/enterprises/:enterprise/extensions","host":["https://api.apalo.io/v1"],"path":["enterprises",":enterprise","extensions"],"variable":[{"key":"enterprise","value":""}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"extension\": \"4001\",\n            \"firstname\": \"Jane\",\n            \"lastname\": \"Doe\",\n            \"email\": \"jdoe@example.com\",\n            \"login\": \"jdoe@example.com\",\n            \"location\": null,\n            \"department\": null,\n            \"mobile_number\": \"447700900123\",\n            \"custom_cli\": null\n        },\n        {\n            \"extension\": \"4002\",\n            \"firstname\": \"John\",\n            \"lastname\": \"Doe\",\n            \"email\": \"johndoe@example.com\",\n            \"login\": \"johndoe@example.com\",\n            \"location\": null,\n            \"department\": null,\n            \"mobile_number\": null,\n            \"custom_cli\": null\n        },\n    ]\n}\n"}],"_postman_id":"98592aa8-31f8-467f-9e8c-6e19d7b5464c"},{"name":"Create Extension","id":"aed00703-87c6-4f56-bfae-b074ce08e103","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"extension\": \"2301\",\n    \"email\": \"new.user@example.com\",\n    \"login\": \"new.user@example.com\",\n    \"firstname\": \"New\",\n    \"lastname\": \"User\",\n    \"custom_cli\": \"441632900234\"\n}"},"url":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/create","description":"<p>Create a new extension on an enterprise.</p>\n<p>An eight digit numeric password is automatically generated when the extension is created, this is used to log in to the desktop application.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises",":enterprise","extensions","create"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enterprise ID / Short Name</p>\n","type":"text/plain"},"type":"any","value":"","key":"enterprise"}]}},"response":[{"id":"81bb2f9e-e4c2-491f-a36f-07b5c04afa49","name":"Create Extension","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\"{\\\"extension\\\":\\\"562\\\",\\\"firstname\\\":\\\"Test\\\",\\\"lastname\\\":\\\"User 562\\\",\\\"email\\\":\\\"test1622709498@example.com\\\",\\\"login\\\":\\\"test1622709498@example.com\\\"}\""},"url":{"raw":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/create","host":["https://api.apalo.io/v1"],"path":["enterprises",":enterprise","extensions","create"],"variable":[{"key":"enterprise","value":"","description":"(Required) Enterprise ID / Short Name"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"extension\": \"2301\",\n            \"email\": \"new.user@example.com\",\n            \"login\": \"new.user@example.com\",\n            \"firstname\": \"New\",\n            \"lastname\": \"User\",\n            \"password\": \"95116383\",\n            \"location\": null,\n            \"department\": null,\n            \"mobile_number\": null,\n            \"custom_cli\": \"441632900234\"\n        }\n    ]\n}"}],"_postman_id":"aed00703-87c6-4f56-bfae-b074ce08e103"},{"name":"Get Extension Detail","id":"e4e5e404-b003-4348-835f-2fd162270c51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/:extension","description":"<p>Get detail of an individual extension</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises",":enterprise","extensions",":extension"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enterprise ID / Short Name</p>\n","type":"text/plain"},"type":"any","value":"","key":"enterprise"},{"description":{"content":"<p>(Required) Extension Number</p>\n","type":"text/plain"},"type":"any","value":"","key":"extension"}]}},"response":[{"id":"1c406dea-a4eb-4a38-92b7-5f849ac3df16","name":"Get Extension Detail","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/:extension","host":["https://api.apalo.io/v1"],"path":["enterprises",":enterprise","extensions",":extension"],"variable":[{"key":"enterprise","value":"","description":"(Required) Enterprise ID / Short Name"},{"key":"extension","value":"","description":"(Required) Extension Number"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"extension\": \"4001\",\n            \"firstname\": \"Jane\",\n            \"lastname\": \"Doe\",\n            \"email\": \"jdoe@example.com\",\n            \"login\": \"jdoe@example.com\",\n            \"location\": null,\n            \"department\": null,\n            \"mobile_number\": \"447700900123\",\n            \"custom_cli\": null\n        }\n    ]\n}"}],"_postman_id":"e4e5e404-b003-4348-835f-2fd162270c51"}],"id":"b3751d0e-a4c0-421c-afdc-99a14fc9bbe2","_postman_id":"b3751d0e-a4c0-421c-afdc-99a14fc9bbe2","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}},{"name":"Devices","item":[{"name":"Get Supported Devices","id":"64ec2f14-7914-437e-bb60-0e94b4bf8b11","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/enterprises/devices/supported?auto_provision=true","description":"<p>Get a list of supported devices and the identifiers used when adding them to the platform.</p>\n<p>If <code>auto_provision</code> is set to <code>true</code> will return only the devices for which we currently support automatic remote provisioning.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises","devices","supported"],"host":["https://api.apalo.io/v1"],"query":[{"key":"auto_provision","value":"true"}],"variable":[]}},"response":[{"id":"263af67a-ef02-4f57-bbf4-2098e2c756fe","name":"Get Supported Devices (Auto Provision)","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/enterprises/devices/supported?auto_provision=true","host":["https://api.apalo.io/v1"],"path":["enterprises","devices","supported"],"query":[{"key":"auto_provision","value":"true"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 03 Jun 2021 13:56:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"7292"},{"key":"Connection","value":"keep-alive"},{"key":"Apalo-API-Req","value":"c61be06051c040187ca5b305135d426b16037570"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Headers","value":"Authorization, X-Requested-With, content-type"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"X-Frame-Options","value":"SAMEORIGIN"},{"key":"X-XSS-Protection","value":"1; mode=block"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubdomains; preload"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"model\": \"cisco-7902\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7902, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7905\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7905, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7906\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7906, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7910\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7910, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7911\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7911, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7912\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7912, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7920\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7920, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7940\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7940, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7941\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7941, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7961\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7961, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7970\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7970, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-7971\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco IP phone 7971, sccp protocol\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-ata-mgcp\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco ATA\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-ata-spa112\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 112 ATA\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-ata-spa122\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 122 ATA\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-6841\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-6841-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-6851\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-6851-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-7811\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-7811-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-7821\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-7821-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-7832\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-7832-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-7841\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-7841-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-7861\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-7861-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-8811\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-8811-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-8841\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-8841-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-8851\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-8851-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-cp-8861\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco CP-8861-3PCC\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa301\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 301\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa303\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 303\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa501G\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 501G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa502G\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 502G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa504G\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 504G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa508G\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 508G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa509G\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 509G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa512G\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 512G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa514G\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 514G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa525G\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 525G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"cisco-spa525G2\",\n            \"mfr\": \"cisco\",\n            \"description\": \"Cisco SPA 525G2\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t53wip\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T53W/T53 / 84.0.30 / v3\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t57wip\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T57W / 84.0.30 / v3\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t54wip\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T54W / 84.0.30 / v3\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-cp860\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink CP860 Conference Phone\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-cp920\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink CP920 Conference Phone\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-cp960\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink CP960 Conference Phone\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t19p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T19P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t19pe2\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T19P E2\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t20p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T20P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t21p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T21PE2\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t21p_34\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T21P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t22p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T22P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t23g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T23G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t23p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T23P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t26p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T26P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t27g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T27G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t27p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T27P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t28p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T28P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t29g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T29G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t32g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T32G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t38g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T38G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t40p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T40P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t41p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T41P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t41s\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T41S\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t42g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T42G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t42s\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T42S\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t46g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T46G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t46s\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T46S\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t48g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T48G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t48s\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T48S\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t49g\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T49G\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-t58v\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink SIP-T58V\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-vp530\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink VP530\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-w52p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink W52P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-w56p\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink W56P\",\n            \"auto_provision\": true\n        },\n        {\n            \"model\": \"yealink-w60b\",\n            \"mfr\": \"yealink\",\n            \"description\": \"Yealink W60B\",\n            \"auto_provision\": true\n        }\n    ]\n}"}],"_postman_id":"64ec2f14-7914-437e-bb60-0e94b4bf8b11"},{"name":"Get Extension Devices","id":"58267fd3-1168-4685-a1a4-973da96c2049","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/:extension/devices","description":"<p>Get devices associated with an extension</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises",":enterprise","extensions",":extension","devices"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enterprise ID / Short Name</p>\n","type":"text/plain"},"type":"any","value":"","key":"enterprise"},{"description":{"content":"<p>(Required) Extension Number</p>\n","type":"text/plain"},"type":"any","value":"","key":"extension"}]}},"response":[{"id":"fd133036-6d1b-4656-b84c-464854226538","name":"Get Extension Devices","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/:extension/devices","host":["https://api.apalo.io/v1"],"path":["enterprises",":enterprise","extensions",":extension","devices"],"variable":[{"key":"enterprise","value":"","description":"(Required) Enterprise ID / Short Name"},{"key":"extension","value":"","description":"(Required) Extension Number"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": [\n        {\n            \"mac\": \"00156582F1AA\",\n            \"label\": \"Jo\",\n            \"mfr\": \"yealink\",\n            \"model\": \"yealink-t46g\",\n            \"rps\": true\n        }\n    ]\n}"}],"_postman_id":"58267fd3-1168-4685-a1a4-973da96c2049"},{"name":"Create Extension Device","id":"1832ffa1-3c97-4e0d-8ec1-4488e4572930","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"model\": \"yealink-t46g\",\n    \"mac\": \"00156582AABB\"\n}"},"url":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/:extension/devices/add","description":"<p>Add a new device to an extension.</p>\n<p>The extension is specified in the URL itself, and the body of the request should contain the following;</p>\n<ul>\n<li><code>model</code> - the model of the device (as obtained from the Get Supported Devices call above) </li>\n<li><code>mac</code> - the MAC address of the device, this is not case sensitive but will always be returned in lower case</li>\n</ul>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises",":enterprise","extensions",":extension","devices","add"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enterprise ID / Short Name</p>\n","type":"text/plain"},"type":"any","value":"","key":"enterprise"},{"description":{"content":"<p>(Required) Extension Number</p>\n","type":"text/plain"},"type":"any","value":"","key":"extension"}]}},"response":[{"id":"0f2ecca7-88b1-4ca9-b4a9-843e88339cb5","name":"Create Extension Device","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"model\": \"yealink-t46g\",\n    \"mac\": \"00156582AABB\"\n}"},"url":{"raw":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/:extension/devices/add","host":["https://api.apalo.io/v1"],"path":["enterprises",":enterprise","extensions",":extension","devices","add"],"variable":[{"key":"enterprise","value":"","description":"(Required) Enterprise ID / Short Name"},{"key":"extension","value":"","description":"(Required) Extension Number"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true,\n    \"data\": {\n        \"mac\": \"00156582aabb\",\n        \"model\": \"yealink-t46g\",\n        \"rps\": false\n    }\n}"}],"_postman_id":"1832ffa1-3c97-4e0d-8ec1-4488e4572930"},{"name":"Delete Extension Device","id":"9c88c15f-543c-415b-895d-760acb7c7e7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\"{}\""},"url":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/:extension/devices/:mac","description":"<p>Remove a device from an extension.</p>\n<p>Where the device was provisioned remotely (<code>rps: true</code>) this also removes the provisioning configuration and releases the device from the Apalo platform.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}},"urlObject":{"path":["enterprises",":enterprise","extensions",":extension","devices",":mac"],"host":["https://api.apalo.io/v1"],"query":[],"variable":[{"description":{"content":"<p>(Required) Enterprise ID / Short Name</p>\n","type":"text/plain"},"type":"any","value":"","key":"enterprise"},{"description":{"content":"<p>(Required) Extension Number</p>\n","type":"text/plain"},"type":"any","value":"","key":"extension"},{"description":{"content":"<p>(Required) Device MAC Address</p>\n","type":"text/plain"},"type":"any","value":"","key":"mac"}]}},"response":[{"id":"72ffb98a-0e0d-46fc-bebc-9074a961d8ae","name":"Delete Extension Device","originalRequest":{"method":"DELETE","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"\"{}\""},"url":{"raw":"https://api.apalo.io/v1/enterprises/:enterprise/extensions/:extension/devices/:mac","host":["https://api.apalo.io/v1"],"path":["enterprises",":enterprise","extensions",":extension","devices",":mac"],"variable":[{"key":"enterprise","value":"","description":"(Required) Enterprise ID / Short Name"},{"key":"extension","value":"","description":"(Required) Extension Number"},{"key":"mac","value":"","description":"(Required) "}]}},"_postman_previewlanguage":"json","header":null,"cookie":[],"responseTime":null,"body":"{\n    \"status\": 200,\n    \"success\": true\n}"}],"_postman_id":"9c88c15f-543c-415b-895d-760acb7c7e7f"}],"id":"af6c6e83-dfbf-4de6-aca4-a559655b44f0","_postman_id":"af6c6e83-dfbf-4de6-aca4-a559655b44f0","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}}],"id":"9698152e-b259-4f04-b63c-24d088671479","_postman_id":"9698152e-b259-4f04-b63c-24d088671479","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"1a50de91-367a-4e01-bc8f-babdd69557af","id":"1a50de91-367a-4e01-bc8f-babdd69557af","name":"apalo.io","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"c031379c-059c-425d-9dba-87e58acc3ab7","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ebdc8116-a571-4ad0-899c-abde53ae8eb6","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.apalo.io/v1"},{"key":"spid","value":""},{"key":"apiToken","value":""},{"key":"iccid","value":"8944120006612345678"}]}