{
  "info": {
    "_postman_id": "3fff615c-5eb6-437e-a929-9bc849b86670",
    "name": "Dstny Core User API",
    "description": "Dstny Core User API. Fill in the collection variables first: baseUrl (the address that comes with your ticket), domain, user and ticket. Create the ticket at bc.dstny.se under User view, Tickets, or use the optional first request. Each request lists the scope the ticket needs. Full documentation: https://dstny.se/hubfs/user-api.html",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{ticket}}",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Create API ticket (optional)",
      "event": [
        {
          "listen": "test",
          "script": {
            "type": "text/javascript",
            "exec": [
              "// Saves the ticket so every other request in this collection uses it.",
              "if (pm.response.code === 200) {",
              "  const r = pm.response.json();",
              "  pm.collectionVariables.set('ticket', r.token);",
              "  if (r.baseUrl) { pm.collectionVariables.set('baseUrl', r.baseUrl); }",
              "}"
            ]
          }
        }
      ],
      "request": {
        "auth": {
          "type": "basic",
          "basic": [
            {
              "key": "username",
              "value": "{{user}}",
              "type": "string"
            },
            {
              "key": "password",
              "value": "{{user_password}}",
              "type": "string"
            }
          ]
        },
        "method": "POST",
        "header": [
          {
            "key": "Accept",
            "value": "application/json"
          },
          {
            "key": "Content-Type",
            "value": "application/json"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/tickets/user/v1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "tickets",
            "user",
            "v1"
          ],
          "query": [
            {
              "key": "verificationCode",
              "value": "",
              "disabled": true,
              "description": "One-time code, only if the user has two-factor authentication. Without it a code is sent first and the call returns 401."
            }
          ]
        },
        "body": {
          "mode": "raw",
          "raw": "{\n  \"expires\": 3600,\n  \"ticketName\": \"postman\",\n  \"allowedApis\": [\n    \"CONTACT\"\n  ]\n}",
          "options": {
            "raw": {
              "language": "json"
            }
          }
        },
        "description": "Optional. You can also create a ticket in the portal at bc.dstny.se under User view, Tickets, and paste it in the `ticket` variable. This request signs in with the user's name and password, so use it for testing only. Put the scopes you need in allowedApis, written in capital letters with underscores, for example CONTACT or CALL_CONTROL. `expires` is in seconds. The response contains the ticket and the address to use, and the script saves both."
      }
    },
    {
      "name": "ACD/Attendant Group",
      "item": [
        {
          "name": "Get group",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/acd-attendant-group/v1/:domain/:user/:group/:group_domain",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "acd-attendant-group",
                "v1",
                ":domain",
                ":user",
                ":group",
                ":group_domain"
              ],
              "query": [
                {
                  "key": "ignoreStatistics",
                  "value": "",
                  "disabled": true,
                  "description": "Don't include statistics and immediately return an empty response"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user's organization"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "group",
                  "value": "",
                  "description": "The id of the ACD/ACD Light/Attendant group"
                },
                {
                  "key": "group_domain",
                  "value": "",
                  "description": "The domain of the organization the ACD/Attendant group belongs to"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nRetrieve information about a specific ACD/ACD Light/Attendant group for a user. It is possible to filter out the statistics."
          }
        },
        {
          "name": "List groups",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/acd-attendant-group/v1/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "acd-attendant-group",
                "v1",
                ":domain",
                ":user"
              ],
              "query": [
                {
                  "key": "ignoreStatistics",
                  "value": "",
                  "disabled": true,
                  "description": "Whether statistics shall be included, or not. If omitted, statistics will be included."
                },
                {
                  "key": "ignoreAgents",
                  "value": "",
                  "disabled": true,
                  "description": "Whether agents shall be included, or not. If omitted, agents will be included."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user's organization"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user's id"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nList all ACD/ACD Light/Attendant groups for a user. <br>Login state, availability and activity for all agents/attendants belonging to respective group are also included."
          }
        },
        {
          "name": "Log in/Log out",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/acd-attendant-group/:domain/:group/agents/:agent",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "acd-attendant-group",
                ":domain",
                ":group",
                "agents",
                ":agent"
              ],
              "query": [
                {
                  "key": "action",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The action to perform"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the ACD/Attendant group belongs to"
                },
                {
                  "key": "group",
                  "value": "",
                  "description": "The ID of the ACD/Attendant group"
                },
                {
                  "key": "agent",
                  "value": "",
                  "description": "The username of the agent to log in or out, including domain part"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nTo log in/log out an agent or attendant of an ACD/Attendant group"
          }
        }
      ]
    },
    {
      "name": "Distribution Group",
      "item": [
        {
          "name": "Get group call history",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/:domain/:user/calllog/:grpid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                ":domain",
                ":user",
                "calllog",
                ":grpid"
              ],
              "query": [
                {
                  "key": "groupDomain",
                  "value": "",
                  "disabled": true,
                  "description": "If stated, the domain of the organization to which the distribution group belongs. If omitted, this is assumed to be the same as <b>domain</b>"
                },
                {
                  "key": "callerNumber",
                  "value": "",
                  "disabled": true,
                  "description": "If provided, only return group call log items that originate from this number"
                },
                {
                  "key": "itemType",
                  "value": "",
                  "disabled": true,
                  "description": "If provided, only return these types of group call log items"
                },
                {
                  "key": "since",
                  "value": "",
                  "disabled": true,
                  "description": "If provided, only return items with ID greater than this.<br/>The purpose of <b>since</b> is to enable retrieving items that have come in since last fetch by providing since=the last known item ID.<br/>Note that <b>since</b> cannot be combined with <b>olderThan</b>."
                },
                {
                  "key": "olderThan",
                  "value": "",
                  "disabled": true,
                  "description": "If provided, only return group call log items with ID smaller than this.<br/>The purpose of <b>olderThan</b> is to enable 'scrolling' in a list so that when the final item is reached, later items can be fetched by providing olderThan=the last call log ID retrieved.<br/>Note that <b>olderThan</b> cannot be combined with <b>since</b>."
                },
                {
                  "key": "limit",
                  "value": "",
                  "disabled": true,
                  "description": "If stated, return no more than this amount of group call log items"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "grpid",
                  "value": "",
                  "description": "The ID of the distribution group"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nGet call log items for a specific distribution group accessible to the user.<br>Calls are normally grouped in call log items by distribution group, caller and item type. For example, missed calls from +155568123456 to ACD 'Customer service' are gathered in one call log item. However, if both callerNumber and itemType are specified as parameters, each individual call is returned as a separate call log item."
          }
        },
        {
          "name": "Get call history",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/:domain/:user/calllog",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                ":domain",
                ":user",
                "calllog"
              ],
              "query": [
                {
                  "key": "callerNumber",
                  "value": "",
                  "disabled": true,
                  "description": "If provided, only return group call log items that originate from this number"
                },
                {
                  "key": "itemType",
                  "value": "",
                  "disabled": true,
                  "description": "If provided, only return these types of group call log items"
                },
                {
                  "key": "since",
                  "value": "",
                  "disabled": true,
                  "description": "If provided, only return items with ID greater than this.<br/>The purpose of <b>since</b> is to enable retrieving items that have come in since last fetch by providing since=the last known item ID.<br/>Note that <b>since</b> cannot be combined with <b>olderThan</b>."
                },
                {
                  "key": "olderThan",
                  "value": "",
                  "disabled": true,
                  "description": "If provided, only return group call log items with ID smaller than this.<br/>The purpose of <b>olderThan</b> is to enable 'scrolling' in a list so that when the final item is reached, later items can be fetched by providing olderThan=the last call log ID retrieved.<br/>Note that <b>olderThan</b> cannot be combined with <b>since</b>."
                },
                {
                  "key": "limit",
                  "value": "",
                  "disabled": true,
                  "description": "If stated, return no more than this amount of group call log items"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nGet call log items for all ACD/Attendant groups available for the user."
          }
        },
        {
          "name": "List groups",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nList ACD/Attendant groups available to the user, and the user's current login state."
          }
        },
        {
          "name": "List assigned calls",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/:domain/:user/calllog/assigned",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                ":domain",
                ":user",
                "calllog",
                "assigned"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nList group call log items assigned to a user."
          }
        },
        {
          "name": "List group assigned calls",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/:domain/:user/calllog/assigned/:grpid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                ":domain",
                ":user",
                "calllog",
                "assigned",
                ":grpid"
              ],
              "query": [
                {
                  "key": "groupDomain",
                  "value": "",
                  "disabled": true,
                  "description": "If stated, the domain of the organization to which the distribution group belongs. If omitted, this is assumed to be the same as <b>domain</b>"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "grpid",
                  "value": "",
                  "description": "The ID of the distribution group"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nList call log items assigned to a user from a certain distribution group."
          }
        },
        {
          "name": "Log in to federated group",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/:domain/:user/:grpid/:grpid_domain/login",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                ":domain",
                ":user",
                ":grpid",
                ":grpid_domain",
                "login"
              ],
              "query": [
                {
                  "key": "ignoreStatistics",
                  "value": "",
                  "disabled": true,
                  "description": "Don't include statistics and immediately return an empty response."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "grpid",
                  "value": "",
                  "description": "The ID of the distribution group"
                },
                {
                  "key": "grpid_domain",
                  "value": "",
                  "description": "If stated, the domain of the organization to which the distribution group belongs. If omitted, this is assumed to be the same as <b>domain</b>"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nLog in a user to a distribution group."
          }
        },
        {
          "name": "Log out of federated group",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/:domain/:user/:grpid/:grpid_domain/logout",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                ":domain",
                ":user",
                ":grpid",
                ":grpid_domain",
                "logout"
              ],
              "query": [
                {
                  "key": "ignoreStatistics",
                  "value": "",
                  "disabled": true,
                  "description": "Don't include statistics and immediately return an empty response."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "grpid",
                  "value": "",
                  "description": "The ID of the distribution group"
                },
                {
                  "key": "grpid_domain",
                  "value": "",
                  "description": "If stated, the domain of the organization to which the distribution group belongs. If omitted, this is assumed to be the same as <b>domain</b>"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nLog out a user from a distribution group."
          }
        },
        {
          "name": "Subscribe to queue statistics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/event-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/v1/:domain/:user/statistics",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                "v1",
                ":domain",
                ":user",
                "statistics"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nProduces a SSE stream of queue statistic updates in application/telepo-queue-statistics+xml format. The stream will only contain updates to the queues that the user is a member of."
          }
        },
        {
          "name": "Assign call",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/distgroup/:domain/:user/calllog/:itemid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "distgroup",
                ":domain",
                ":user",
                "calllog",
                ":itemid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "itemid",
                  "value": "",
                  "description": "The ID of the group call log item to assign to the user"
                }
              ]
            },
            "description": "Scope: ACD/attendant queues\n\nAssign a call in a group call log to a user.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"state\": \"INPROGRESS\",\n  \"agent\": {\n    \"name\": \"Jane Doe\",\n    \"number\": \"+1555123445\",\n    \"userId\": \"jdoe\"\n  },\n  \"timeStamp\": \"2018-05-26T15:30:30Z\",\n  \"note\": \"Wants to be called back on friday\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Queue Statistics",
      "item": [
        {
          "name": "Get organization queue statistics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/queue/statistics/v1/list/:domain",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "queue",
                "statistics",
                "v1",
                "list",
                ":domain"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain queue statistics shall be fetched for"
                }
              ]
            },
            "description": "Scope: Queue statistics\n\nRetrieve the queue statistics for an organization."
          }
        },
        {
          "name": "Get queue statistics for queue",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/queue/statistics/v1/:domain/:queueId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "queue",
                "statistics",
                "v1",
                ":domain",
                ":queueId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the group queue statistics shall be fetched for"
                },
                {
                  "key": "queueId",
                  "value": "",
                  "description": "The id of the group queue statistics shall be fetched for"
                }
              ]
            },
            "description": "Scope: Queue statistics\n\nRetrieve queue statistics for a distribution group."
          }
        },
        {
          "name": "Get user queue statistics",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/queue/statistics/v1/list/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "queue",
                "statistics",
                "v1",
                "list",
                ":domain",
                ":user"
              ],
              "query": [
                {
                  "key": "includeFederation",
                  "value": "",
                  "disabled": true,
                  "description": "If queue statistics from federated organizations shall be included (default false)"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user queue statistics shall be fetched for"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user queue statistics shall be fetched for"
                }
              ]
            },
            "description": "Scope: Queue statistics\n\nRetrieve queue statistics for a user who is authorized to supervise specific groups."
          }
        }
      ]
    },
    {
      "name": "User Line",
      "item": [
        {
          "name": "Get user lines",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/line/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "line",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nGet the list of all available lines that user can use"
          }
        },
        {
          "name": "Get active user line",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/line/:domain/:user/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "line",
                ":domain",
                ":user",
                "status"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nGet the current active caller ID for a user."
          }
        },
        {
          "name": "Update user line",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/line/:domain/:user/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "line",
                ":domain",
                ":user",
                "status"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nUpdate the current active caller ID for user.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"type\": \"OFFICE_FIXED\",\n  \"groupId\": 0\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Call Control",
      "item": [
        {
          "name": "Add call to ad-hoc conference",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/addtoconference/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "addtoconference",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user performing the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call that should be the ad-hoc conference call"
                }
              ]
            },
            "description": "Scope: Call control\n\nThe call specified by {callId} will be transformed into an ad-hoc conference call, if it is not already, and the call specified in the request body will be added to the conference.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453,\n  \"targetCallId\": \"dd33dxw9\",\n  \"targetStateToken\": 63772\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Alternate call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/alternate/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "alternate",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the two calls"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call that should be put on hold"
                }
              ]
            },
            "description": "Scope: Call control\n\nPlace an existing call on hold and then retrieves a previously held call. This can also be used to place an existing call on hold and then answer to an alerting call at the same device.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453,\n  \"targetCallId\": \"dd33dxw9\",\n  \"targetStateToken\": 63772\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Answer call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/answer/:domain/:userId/:callId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "answer",
                ":domain",
                ":userId",
                ":callId",
                ":deviceId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user answering the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to answer"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device used to answer the call"
                }
              ]
            },
            "description": "Scope: Call control\n\nAnswer a call that is in the ringing state using a specific device. Note that it's not possible to perform this action for all devices. The call state will show which devices that can be used.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"targetUrl\": \"https://example.com/callback?id=34ff\",\n  \"targetId\": \"my_callback_id\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Terminate call",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/delete/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "delete",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user deleting the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to delete"
                }
              ]
            },
            "description": "Scope: Call control\n\nHanging up (clear) an established call, reject (decline) a call that is in the ringing state or cancel an outbound ringing call."
          }
        },
        {
          "name": "Hold call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/hold/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "hold",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the call to hold"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to hold"
                }
              ]
            },
            "description": "Scope: Call control\n\nPut the call on hold. Depending on the configuration of the server, music on hold may be played to the other party.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Leave ad-hoc conference",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/leaveconference/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "leaveconference",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the ad-hoc conference call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the ad-hoc conference call"
                }
              ]
            },
            "description": "Scope: Call control\n\nLeaving an ad-hoc conference allowing any remaining participants to continue the call. To terminate the conference, use the method to terminate a call."
          }
        },
        {
          "name": "Make call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/make/:domain/:userId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "make",
                ":domain",
                ":userId",
                ":deviceId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user performing the call"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device used to perform the call"
                }
              ]
            },
            "description": "Scope: Call control\n\nSetup up call from a particular device. The device ID can be fetched from the UserDeviceInfo API. Successful completion of this request does not mean that the call is established, just that the device has successfully initiated the call.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"destination\": \"tel:+1444344\",\n  \"userLine\": {\n    \"type\": \"OFFICE_FIXED\",\n    \"groupId\": 0\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Make consultation call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/makeconsultation/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "makeconsultation",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user performing the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The Id of the call that should be re-used"
                }
              ]
            },
            "description": "Scope: Call control\n\nSetup up call re-using an existing call leg putting that call on-hold/in the background. This variant of the make call is useful for devices that do not support parallel calls. It's only possible to have one background call per device. If the device supports parallel calls, this API behaves the same way as makeCall. Successful completion of this request does not mean that the call is established, just that the device has successfully initiated the call. The make consultation call API is not supported if the existing call is transcoded.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"destination\": \"tel:+1444344\",\n  \"userLine\": {\n    \"type\": \"OFFICE_FIXED\",\n    \"groupId\": 0\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Move call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/move/:domain/:userId/:callId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "move",
                ":domain",
                ":userId",
                ":callId",
                ":deviceId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the call to move"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to move"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device to move the call to"
                }
              ]
            },
            "description": "Scope: Call control\n\nMove the established call to another available device for the user. Should the call be on hold, then it will remain on hold in the new device.",
            "body": {
              "mode": "raw",
              "raw": "{}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Mute call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/mute/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "mute",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the call to mute"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to mute"
                }
              ]
            },
            "description": "Scope: Call control\n\nMute an ongoing call. Depending on the type of call this action may or may not be available.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Park call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/park/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "park",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the call to park"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to park"
                }
              ]
            },
            "description": "Scope: Call control\n\nPark the call and make it available for other users, or the same user, to pick it up. The call is no longer belonging to the user, meaning that the Call ID is removed from the user's state. ",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Pick up SIP call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/pickup/:domain/:userId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "pickup",
                ":domain",
                ":userId",
                ":deviceId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user picking up the call"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device to use to pickup the call"
                }
              ]
            },
            "description": "Scope: Call control\n\nPickup a SIP call from a queue or a ringing call for another user using the specified device. The SIP dialog Id of the call must be known and the user must be configured to pick up another user calls.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"targetUrl\": \"https://example.com/callback?id=34ff\",\n  \"targetId\": \"my_callback_id\",\n  \"publicTarget\": true,\n  \"callId\": \"425928@bobster.example.org\",\n  \"toTag\": \"7743\",\n  \"fromTag\": \"6472\",\n  \"earlyOnly\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Remove participant from ad-hoc conference",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/removefromconference/:domain/:userId/:callId/:participantId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "removefromconference",
                ":domain",
                ":userId",
                ":callId",
                ":participantId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user performing the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the ad-hoc conference call"
                },
                {
                  "key": "participantId",
                  "value": "",
                  "description": "The ID of the participant to remove"
                }
              ]
            },
            "description": "Scope: Call control\n\nRemoving the participant {participantId} from the ad-hoc conference specified by {callId}.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Resume call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/resume/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "resume",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the call to resume"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to resume"
                }
              ]
            },
            "description": "Scope: Call control\n\nResume a call that previously was put on hold.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Send DTMF digits",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/senddtmf/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "senddtmf",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user sending the DTMF digits"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to send the DTMF digits in"
                }
              ]
            },
            "description": "Scope: Call control\n\nA string of DTMF digits is sent within the call.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453,\n  \"digits\": \"5\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Transfer call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/singlesteptransfer/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "singlesteptransfer",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the call to transfer"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to transfer"
                }
              ]
            },
            "description": "Scope: Call control\n\nTransfer a call to a new destination. The call will be automatically unheld if it is currently on hold.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453,\n  \"blind\": true,\n  \"type\": \"CAMP_ON\",\n  \"destination\": \"tel:+15555\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Transfer call to another call that belongs to the user",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/transfer/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "transfer",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the call to transfer"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to transfer"
                }
              ]
            },
            "description": "Scope: Call control\n\nA user having two separate calls can use the transfer method to connect the two parties the user is talking to. The two calls does not need to be active on the same device. Should either of the calls be on hold, it will automatically be unheld as the calls are connected. An attempt to update the caller Id to the transferred party will be made for the target call but depending on the device of the remote party, this may not succeed. ",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453,\n  \"targetCallId\": \"dd33dxw9\",\n  \"waitForAnswer\": false,\n  \"targetStateToken\": 832211\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Unmute call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/control/v1/unmute/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "control",
                "v1",
                "unmute",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user having the call to unmute"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to unmute"
                }
              ]
            },
            "description": "Scope: Call control\n\nUnmute a call that previously was muted.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Call Recording",
      "item": [
        {
          "name": "Discard ongoing on-demand recording",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/recording/v1/discard/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "recording",
                "v1",
                "discard",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user recording the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call not to save"
                }
              ]
            },
            "description": "Scope: Call control\n\nIf an ongoing on-demand call recording has been explicitly saved, the discard method should be invoked to revoke the save operation. Note that the call is still recorded but will be discarded at the end of the call unless the save operation is once again performed.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Pause",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/recording/v1/pause/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "recording",
                "v1",
                "pause",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user recording the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to pause recording for"
                }
              ]
            },
            "description": "Scope: Call control\n\nPause an ongoing on-demand call recording. It depends on the configuration of the call recording service if this option is available for this user.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Resume",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/recording/v1/resume/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "recording",
                "v1",
                "resume",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user that records the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to resume recording for"
                }
              ]
            },
            "description": "Scope: Call control\n\nResume a paused recording.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Save ongoing on-demand recording",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/recording/v1/save/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "recording",
                "v1",
                "save",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user recording the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to save"
                }
              ]
            },
            "description": "Scope: Call control\n\nIf on-demand call recording is enabled for this call, which depends on the configuration of the user, then the whole call will be recorded but the recording must be explicitly saved through the invocation of this method or the recording will be discarded at the end of the call.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Start",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/recording/v1/start/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "recording",
                "v1",
                "start",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user that should record the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to record"
                }
              ]
            },
            "description": "Scope: Call control\n\nIf it's possible to record this call, which depends on the configuration of the user, then the start method will initate the recording. Any part of the call before the start method is performed will not be part of the recording.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Stop",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/recording/v1/stop/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "recording",
                "v1",
                "stop",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user that should record the call"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call to stop recording"
                }
              ]
            },
            "description": "Scope: Call control\n\nIf the start method has previously been performed to initiate call recording, then the stop method is available to end the call recording.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"stateToken\": 487345453\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Call State",
      "item": [
        {
          "name": "Unregister changes for call",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/monitor/call/:domain/:userId/:callId/:targetId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "monitor",
                "call",
                ":domain",
                ":userId",
                ":callId",
                ":targetId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call"
                },
                {
                  "key": "targetId",
                  "value": "",
                  "description": "The unique id of the webhook that should be unregistered"
                }
              ]
            },
            "description": "Scope: Call control\n\nUnregister an existing webhook registered for specific user call."
          }
        },
        {
          "name": "Unregister changes for user",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/monitor/:domain/:userId/:targetId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "monitor",
                ":domain",
                ":userId",
                ":targetId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "targetId",
                  "value": "",
                  "description": "The unique ID of the webhook that should be unregistered"
                }
              ]
            },
            "description": "Scope: Call control\n\nUnregister an existing webhook registered for the user."
          }
        },
        {
          "name": "Read call state",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/snapshot/call/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "snapshot",
                "call",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call"
                }
              ]
            },
            "description": "Scope: Call control\n\nFetch a snapshot of the current state of a call."
          }
        },
        {
          "name": "Read user state",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/snapshot/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "snapshot",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call control\n\nFetch a snapshot of the current state of a user."
          }
        },
        {
          "name": "Register for state changes for call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/monitor/call/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "monitor",
                "call",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call"
                }
              ]
            },
            "description": "Scope: Call control\n\nRegister a webhook to be notified if the state of the call has been updated in the server. The new stateToken of the state will be posted to the registered URL allowing the CTI client to compare it to the token of any state it currently knows about and decide if it needs to fetch the latest state.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"targetUrl\": \"https://example.com/callback?id=34ff\",\n  \"targetId\": \"434356\",\n  \"publicTarget\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Register for state changes for user",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/monitor/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "monitor",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                }
              ]
            },
            "description": "Scope: Call control\n\nRegister a webhook where notifications about new and deleted calls for the user will be pushed. The user must be CTI enabled, and the registration is valid for all the users devices.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"targetUrl\": \"https://example.com/callback?id=34ff\",\n  \"targetId\": \"434356\",\n  \"publicTarget\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Subscribe for state changes for user call",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/event-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/sse/call/:domain/:userId/:callId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "sse",
                "call",
                ":domain",
                ":userId",
                ":callId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "callId",
                  "value": "",
                  "description": "The ID of the call"
                }
              ]
            },
            "description": "Scope: Call control\n\nThe method will produce a SSE stream of call state objects."
          }
        },
        {
          "name": "Subscribe for remote SIP dialog events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/event-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/sse/remote/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "sse",
                "remote",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                }
              ]
            },
            "description": "Scope: Call control\n\nThe method will produce a SSE stream of remote SIP dialog events in the format described in RFC4235."
          }
        },
        {
          "name": "Subscribe for state changes for user",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/event-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/call/state/v1/sse/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "call",
                "state",
                "v1",
                "sse",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                }
              ]
            },
            "description": "Scope: Call control\n\nThe method will produce a SSE stream of user state objects."
          }
        }
      ]
    },
    {
      "name": "Communication Log",
      "item": [
        {
          "name": "Update deletion time",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/:domain/:userId/:itemId/deletedTime",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                ":domain",
                ":userId",
                ":itemId",
                "deletedTime"
              ],
              "query": [
                {
                  "key": "delete",
                  "value": "",
                  "disabled": true,
                  "description": "Indicates if an item should be marked or unmarked for deletion"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "itemId",
                  "value": "",
                  "description": "The id of the item"
                }
              ]
            },
            "description": "Scope: Communication log\n\nSet or unset the deletion time for a communication log item. Setting deletion time moves an item to the trash, and clearing it moves it back to the inbox."
          }
        },
        {
          "name": "Get log item",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/:domain/:userId/:itemId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                ":domain",
                ":userId",
                ":itemId"
              ],
              "query": [
                {
                  "key": "deleted",
                  "value": "",
                  "disabled": true,
                  "description": "If true, fetch deleted items only"
                },
                {
                  "key": "markAsDelete",
                  "value": "",
                  "disabled": true,
                  "description": "If true, fetch items that are marked as deleted only"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "itemId",
                  "value": "",
                  "description": "The id of the item"
                }
              ]
            },
            "description": "Scope: Communication log\n\nRead a specific communication log item."
          }
        },
        {
          "name": "Mark item as seen/played",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/:domain/:userId/:itemId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                ":domain",
                ":userId",
                ":itemId"
              ],
              "query": [
                {
                  "key": "isSeen",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates if the seen state should be set"
                },
                {
                  "key": "isPlayed",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates if the played state should be set"
                },
                {
                  "key": "updateCallItem",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates if the call item should be updated too"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "itemId",
                  "value": "",
                  "description": "The id of the item"
                }
              ]
            },
            "description": "Scope: Communication log\n\nMark a specific communication log item as seen and/or played."
          }
        },
        {
          "name": "Delete log item",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/:domain/:userId/:itemId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                ":domain",
                ":userId",
                ":itemId"
              ],
              "query": [
                {
                  "key": "updateCallItem",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates if the related call item should be deleted too"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "itemId",
                  "value": "",
                  "description": "The id of the item"
                }
              ]
            },
            "description": "Scope: Communication log\n\nDelete a specific communication log item."
          }
        },
        {
          "name": "List log items",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                ":domain",
                ":userId"
              ],
              "query": [
                {
                  "key": "since",
                  "value": "",
                  "disabled": true,
                  "description": "Fetch items whose ID is larger than this value. For example, if since=10 is provided in the query string, items with ID 11 and upwards are returned."
                },
                {
                  "key": "olderThan",
                  "value": "",
                  "disabled": true,
                  "description": "Fetch items whose ID is less than this value. For example, if olderThan=20 is provided, call log items with IDs from 19 and downwards are returned."
                },
                {
                  "key": "sinceTime",
                  "value": "",
                  "disabled": true,
                  "description": "Fetch items whose startTime occurred after this value."
                },
                {
                  "key": "untilTime",
                  "value": "",
                  "disabled": true,
                  "description": "Fetch items whose startTime occurred before this value."
                },
                {
                  "key": "limit",
                  "value": "",
                  "disabled": true,
                  "description": "The maximum number of items that should be fetched"
                },
                {
                  "key": "itemType",
                  "value": "",
                  "disabled": true,
                  "description": "The type of items that should be fetched. This parameter can be repeated for each type to be fetched."
                },
                {
                  "key": "contactId",
                  "value": "",
                  "disabled": true,
                  "description": "If specified, fetch items for this specific contact only"
                },
                {
                  "key": "number",
                  "value": "",
                  "disabled": true,
                  "description": "If specified, fetch items for the specified phone number only"
                },
                {
                  "key": "deleted",
                  "value": "",
                  "disabled": true,
                  "description": "If true, fetch deleted items only"
                },
                {
                  "key": "markAsDelete",
                  "value": "",
                  "disabled": true,
                  "description": "If true, fetch items that are marked as deleted only"
                },
                {
                  "key": "count",
                  "value": "",
                  "disabled": true,
                  "description": "If true, return the number of items instead of the items in the response body"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Communication log\n\nList communication log items for a user. Use either since/olderThan or sinceTime/untilTime parameters to specify an interval of items."
          }
        },
        {
          "name": "Mark items as seen/played",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                ":domain",
                ":userId"
              ],
              "query": [
                {
                  "key": "itemId",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The ids of the items formatted like itemId=1&itemId=2&itemId=3 etc"
                },
                {
                  "key": "untilItemId",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates if all items until this id should be updated"
                },
                {
                  "key": "itemType",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates that only item types of these types should be updated. The parameter can be repeated."
                },
                {
                  "key": "isSeen",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates if the seen state should be set"
                },
                {
                  "key": "isPlayed",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates if the played state should be set"
                },
                {
                  "key": "updateCallItem",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicates if the call items should be updated too"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Communication log\n\nMark specific communication log items as seen and/or played. In case if some of the items are existing, they are deleted and the items that are not found are added in the response body as a string. If all items are found, nothing is returned."
          }
        },
        {
          "name": "Delete log items",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                ":domain",
                ":userId"
              ],
              "query": [
                {
                  "key": "itemId",
                  "value": "",
                  "disabled": true,
                  "description": "The ids of the items formatted like itemId=1&itemId=2&itemId=3 etc"
                },
                {
                  "key": "untilItemId",
                  "value": "",
                  "disabled": true,
                  "description": "Delete all items until this id"
                },
                {
                  "key": "itemType",
                  "value": "",
                  "disabled": true,
                  "description": "Delete items of these types. The parameter can be repeated."
                },
                {
                  "key": "updateCallItem",
                  "value": "",
                  "disabled": true,
                  "description": "Indicates if the related call item should be deleted too"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Communication log\n\nDelete a number of specific communication log items."
          }
        },
        {
          "name": "List group inbox items",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/groupinbox/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                "groupinbox",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Communication log\n\nRead group inbox messages."
          }
        },
        {
          "name": "Mark item as deleted",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/communicationlog/:domain/:userId/:itemId/deleteFlag",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "communicationlog",
                ":domain",
                ":userId",
                ":itemId",
                "deleteFlag"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "itemId",
                  "value": "",
                  "description": "The id of the item"
                }
              ]
            },
            "description": "Scope: Communication log\n\nSet the deleted flag on a specific communication log item. The delete flag is used for further expunging of voicemail items."
          }
        }
      ]
    },
    {
      "name": "Activity Diversion Mapping",
      "item": [
        {
          "name": "List diversions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/activitydiversionmapping/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "activitydiversionmapping",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nGet all activity diversions for a user."
          }
        },
        {
          "name": "Set diversions",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/activitydiversionmapping/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "activitydiversionmapping",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nSet activity diversions for a user.<br>Both POST and PUT can be used in the request.<br>This will replace all existing settings.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"diversion-mapping\": [\n    {\n      \"activityId\": \"busy\",\n      \"phoneNumber\": \"+12345678\"\n    },\n    {\n      \"activityId\": \"lunch\",\n      \"phoneNumber\": \"+12345679\"\n    },\n    {\n      \"activityId\": \"out_of_office\",\n      \"phoneNumber\": \"+12345679\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete diversions",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/activitydiversionmapping/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "activitydiversionmapping",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nDelete all activity diversions for a user."
          }
        },
        {
          "name": "Get activity diversion",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/activitydiversionmapping/:domain/:userId/:activityId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "activitydiversionmapping",
                ":domain",
                ":userId",
                ":activityId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID of the user accessing the API"
                },
                {
                  "key": "activityId",
                  "value": "",
                  "description": "The ID of the activity"
                }
              ]
            },
            "description": "Scope: Call setup\n\nGet the diversion number for a specified activity for a user.<br>Available activity ids can be fetched with the Configuration API."
          }
        },
        {
          "name": "Set activity diversion",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/activitydiversionmapping/:domain/:userId/:activityId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "activitydiversionmapping",
                ":domain",
                ":userId",
                ":activityId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID of the user accessing the API"
                },
                {
                  "key": "activityId",
                  "value": "",
                  "description": "The ID of the activity"
                }
              ]
            },
            "description": "Scope: Call setup\n\nSet an activity diversion for a user.<br>Both POST and PUT can be used in the request.<br>Available activity ids can be fetched with the Configuration API.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phoneNumber\": \"+12345679\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete activity diversion",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/activitydiversionmapping/:domain/:userId/:activityId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "activitydiversionmapping",
                ":domain",
                ":userId",
                ":activityId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID of the user accessing the API"
                },
                {
                  "key": "activityId",
                  "value": "",
                  "description": "The ID of the activity"
                }
              ]
            },
            "description": "Scope: Call setup\n\nDelete diversion for specified activity for a user.<br>Available activity ids can be fetched with the Configuration API."
          }
        }
      ]
    },
    {
      "name": "Calls",
      "item": [
        {
          "name": "Cancel call transfer",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/calls/:domain/:user/transfer/:transferId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "calls",
                ":domain",
                ":user",
                "transfer",
                ":transferId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user performing the transfer."
                },
                {
                  "key": "transferId",
                  "value": "",
                  "description": "The call transfer ID of the transfer that will be cancelled."
                }
              ]
            },
            "description": "Scope: Call control, Call setup\n\nCancel an ongoing attended call transfer."
          }
        },
        {
          "name": "Get call transfer status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/calls/:domain/:user/transfer",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "calls",
                ":domain",
                ":user",
                "transfer"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user performing the transfer."
                }
              ]
            },
            "description": "Scope: Call control, Call setup\n\nGet the status of an ongoing call transfer."
          }
        },
        {
          "name": "Transfer call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/calls/:domain/:user/transfer",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "calls",
                ":domain",
                ":user",
                "transfer"
              ],
              "query": [
                {
                  "key": "transferType",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The type of transfer to be performed: BLIND_TRANSFER - transfer the call directly to the specified number,<br>ATTENDED_TRANSFER - Attended transfer allowing the user to communicate with the destination before the transfer."
                },
                {
                  "key": "destination",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The destination number for the transfer."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user performing the transfer."
                }
              ]
            },
            "description": "Scope: Call control, Call setup\n\nTransfer a mobile call to the specified number."
          }
        },
        {
          "name": "Set up call",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/calls/current/:domain/:user/:aptype/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "calls",
                "current",
                ":domain",
                ":user",
                ":aptype",
                ":cid"
              ],
              "query": [
                {
                  "key": "role",
                  "value": "",
                  "disabled": true,
                  "description": "what role to call with. The roles PRIVATE and BUSINESS are always possible to set, but additional roles may be specified. If no role is specified as a parameter, then it will be set to a default according to the call rules."
                },
                {
                  "key": "bypass",
                  "value": "",
                  "disabled": true,
                  "description": "Bypass call routing ('true' or 'false')"
                },
                {
                  "key": "intrude",
                  "value": "",
                  "disabled": true,
                  "description": "Intrude the current call ('true' or 'false')"
                },
                {
                  "key": "callback-via-gsm",
                  "value": "",
                  "disabled": true,
                  "description": "True if the callback should prefer GSM call."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user performing the call setup."
                },
                {
                  "key": "aptype",
                  "value": "",
                  "description": "The 'aptype' defines where the callback will be connected. It should be a valid answerplace for the specified user. Valid values are:<br><pre>mobile - to set up the call to the mobile <br>soft - to set up the call to the softphone <br>desktop - to set up the call to the desktop phone <br>fxs - to set up the call to an analog phone <br>external_pbx - to set up the call to a phone on an external pbx</pre>"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "can be one of the following:<br><pre>receiving_user - the receiving users URL encoded answerplace. For instance: targetname@yourdomain.com.<br>phone_number - If the answerplace is an external party, the parameter needs to be URL encoded and the phone number in international format, i.e a leading \"+\" (\"%2B\" when URL encoded)</pre>"
                }
              ]
            },
            "description": "Scope: Call setup\n\nSet up a call-back call to the contact with the specified ID. Examples: If user Alice want to make a call to Bob, and use her mobile as the call device and call with the role Private the following syntax could be used.<br><pre>POST http://bcs.mydomain.com/api/calls/current/foo.com/alice/mobile/bob@foo.com?role=PRIVATE</pre><br>Org-admin James wants to setup a call for Alice to call Bob, use Alice's mobile as the call device and call with the role Private. The same syntax as before can be used, but instead of using Alice's token. James should use his own token with access granted for Call setup and Call control.<br><pre>POST http://bcs.mydomain.com/api/calls/current/foo.com/alice/mobile/bob@foo.com?role=PRIVATE</pre><br>If Bob happens to be an external party, the parameter needs to be URL encoded and the phone number in international format, i.e a leading \"+\" (\"%2B\" when URL encoded):<br><pre>POST http://bcs.mydomain.com/api/calls/current/foo.com/alice/mobile/%2B468123456789?role=PRIVATE</pre>"
          }
        }
      ]
    },
    {
      "name": "Diversion",
      "item": [
        {
          "name": "Get diversion rules",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nRetrieves a user's diversion rules."
          }
        },
        {
          "name": "Set diversion rules",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nUpdates the user's defined diversion rules for available lines.<br>Both POST and PUT can be used in the request.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"user\": {\n    \"domain\": \"example.com\",\n    \"userid\": \"albo\"\n  },\n  \"userDiversionLineRules\": [\n    {\n      \"lineNumber\": \"+123460000\",\n      \"lineOrderType\": \"PRIMARY\",\n      \"lineType\": \"OFFICE_FIXED\",\n      \"userDiversionRules\": [\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ALL\"\n        },\n        {\n          \"phoneNumber\": \"+12345679\",\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY_IN_CALL\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY_IN_CALL_OR_UNREACHABLE\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY_OR_UNREACHABLE\"\n        },\n        {\n          \"phoneNumber\": \"+12345678\",\n          \"diversionRoutingRulesType\": \"CFWD_NO_ANSWER\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_NO_ANSWER_OR_UNREACHABLE\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_UNREACHABLE\"\n        }\n      ]\n    },\n    {\n      \"lineNumber\": \"+123467890\",\n      \"lineOrderType\": \"SECONDARY\",\n      \"lineType\": \"OFFICE_MOBILE\",\n      \"userDiversionRules\": [\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ALL\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY_IN_CALL\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY_IN_CALL_OR_UNREACHABLE\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY_OR_UNREACHABLE\"\n        },\n        {\n          \"phoneNumber\": \"+12345678\",\n          \"diversionRoutingRulesType\": \"CFWD_NO_ANSWER\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_NO_ANSWER_OR_UNREACHABLE\"\n        },\n        {\n          \"diversionRoutingRulesType\": \"CFWD_UNREACHABLE\"\n        }\n      ]\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete diversion rule",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nDeletes a user's defined diversion rules."
          }
        },
        {
          "name": "Get diversion by line order type",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules/:lineOrderType",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules",
                ":lineOrderType"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "lineOrderType",
                  "value": "",
                  "description": "User line order for which diversion details shall to be fetched. Possible values are:<br>PRIMARY - Primary line<br>SECONDARY - Secondary line "
                }
              ]
            },
            "description": "Scope: Call setup\n\nRetrieves a user's diversion rules for specified line order type."
          }
        },
        {
          "name": "Set diversion for line order",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules/:lineOrderType",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules",
                ":lineOrderType"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "lineOrderType",
                  "value": "",
                  "description": "User line order for which diversion shall be set. Possible values are:<br>PRIMARY - Primary line<br>SECONDARY - Secondary line "
                }
              ]
            },
            "description": "Scope: Call setup\n\nCreates or updates a user's defined diversion rule for a pre-defined diversion rule type.<br>Both PUT and POST can be used in the request.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"userDiversionLineRules\": [\n    {\n      \"userDiversionRules\": [\n        {\n          \"phoneNumber\": \"+12345679\",\n          \"diversionRoutingRulesType\": \"CFWD_ON_BUSY\"\n        }\n      ]\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete diversion rule for line order",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules/:lineOrderType",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules",
                ":lineOrderType"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "lineOrderType",
                  "value": "",
                  "description": "User line order for which diversion rules shall be deleted. Possible values are:<br>PRIMARY - Primary line<br>SECONDARY - Secondary line"
                }
              ]
            },
            "description": "Scope: Call setup\n\nDeletes a user's defined diversion rule for a line order type."
          }
        },
        {
          "name": "Get diversion for rule type",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules/:lineOrderType/:diversionRuleType",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules",
                ":lineOrderType",
                ":diversionRuleType"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "lineOrderType",
                  "value": "",
                  "description": "User line order for which diversion details shall be fetched. Possible values are:<br>PRIMARY - Primary line<br>SECONDARY - Secondary line "
                },
                {
                  "key": "diversionRuleType",
                  "value": "",
                  "description": "The diversion rule type for which details shall be fetched."
                }
              ]
            },
            "description": "Scope: Call setup\n\nRetrieves a user's diversion rules for a specific line order and rule type."
          }
        },
        {
          "name": "Set diversion for rule type",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules/:lineOrderType/:diversionRuleType",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules",
                ":lineOrderType",
                ":diversionRuleType"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "lineOrderType",
                  "value": "",
                  "description": "User line order for which diversion rules shall be set. Possible values are:<br>PRIMARY - Primary line<br>SECONDARY - Secondary line "
                },
                {
                  "key": "diversionRuleType",
                  "value": "",
                  "description": "The diversion rule type details shall be set for."
                }
              ]
            },
            "description": "Scope: Call setup\n\nCreates or updates a user's defined diversion rule for a pre-defined diversion rule type.<br>Both POST and PUT can be used in the request.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"phoneNumber\": \"+12345679\",\n  \"diversionRoutingRulesType\": \"CFWD_ON_BUSY\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete diversion for rule",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId/rules/:lineOrderType/:diversionRuleType",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId",
                "rules",
                ":lineOrderType",
                ":diversionRuleType"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "lineOrderType",
                  "value": "",
                  "description": "User line order for which diversion rules shall be deleted. Possible values are:<br>PRIMARY - Primary line<br>SECONDARY - Secondary line "
                },
                {
                  "key": "diversionRuleType",
                  "value": "",
                  "description": "The diversion rule type for which diversion shall be deleted"
                }
              ]
            },
            "description": "Scope: Call setup\n\nDeletes a user's defined diversion rule for a pre-defined diversion rule type."
          }
        },
        {
          "name": "Get active diversion number",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nRetrieves a user's active diversion number."
          }
        },
        {
          "name": "Set diversion number",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId"
              ],
              "query": [
                {
                  "key": "phoneNumber",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The diversion number"
                },
                {
                  "key": "activityScoped",
                  "value": "",
                  "disabled": true,
                  "description": "Set to true if the diversion number should be cleared after a change of presence activity."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nSets a user's active diversion number.<br>Both POST and PUT can be used in the request."
          }
        },
        {
          "name": "Delete diversion number",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/diversion/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "diversion",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Call setup\n\nClears a user's active diversion number."
          }
        }
      ]
    },
    {
      "name": "User Configuration Settings",
      "item": [
        {
          "name": "Get answer places",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/user/:domain/:user/answerplaces",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "user",
                ":domain",
                ":user",
                "answerplaces"
              ],
              "query": [
                {
                  "key": "language",
                  "value": "",
                  "disabled": true,
                  "description": "The language to use for localization. Stated as a ISO 639-1 language code (e.g. 'sv' for Swedish) optionally combined with an ISO-3166-2 Country code (e.g. 'en_US' for US English). If not provided, the language of the user will be used."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead mapping for the possible devices the user can set up calls from."
          }
        },
        {
          "name": "Get legal statement URL",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/organisation/:domain/legal",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "organisation",
                ":domain",
                "legal"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRetrieve a legal statement URL"
          }
        },
        {
          "name": "Get privacy policy URL",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/organisation/:domain/privacy",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "organisation",
                ":domain",
                "privacy"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRetrieve a privacy policy URL."
          }
        },
        {
          "name": "Get presence roles",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/user/:domain/:user/presence/role",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "user",
                ":domain",
                ":user",
                "presence",
                "role"
              ],
              "query": [
                {
                  "key": "language",
                  "value": "",
                  "disabled": true,
                  "description": "The language to use for localization. Stated as a ISO 639-1 language code (e.g. 'sv' for Swedish) optionally combined with an ISO-3166-2 Country code (e.g. 'en_US' for US English). If not provided, the language of the user will be used."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the presence roles available for the user. Roles can be used to define different work situations."
          }
        },
        {
          "name": "Get self profile URL",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/v1/user/userprofile/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "v1",
                "user",
                "userprofile",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRetrieve a one-time self profile URL."
          }
        },
        {
          "name": "Get self provisioning URL",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/v1/user/selfprovisioning/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "v1",
                "user",
                "selfprovisioning",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRetrieve a one-time self provisioning URL."
          }
        },
        {
          "name": "Get presence activites",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/user/:domain/:user/presence/activity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "user",
                ":domain",
                ":user",
                "presence",
                "activity"
              ],
              "query": [
                {
                  "key": "language",
                  "value": "",
                  "disabled": true,
                  "description": "The language to use for localization. Stated as a ISO 639-1 language code (e.g. 'sv' for Swedish) optionally combined with an ISO-3166-2 Country code (e.g. 'en_US' for US English). If not provided, the language of the user will be used."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the presence activities available for the user."
          }
        },
        {
          "name": "Get configuration settings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/user/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "user",
                ":domain",
                ":user"
              ],
              "query": [
                {
                  "key": "language",
                  "value": "",
                  "disabled": true,
                  "description": "The language to use for localization. Stated as a ISO 639-1 language code (e.g. 'sv' for Swedish) optionally combined with an ISO-3166-2 Country code (e.g. 'en_US' for US English). If not provided, the language of the user will be used."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead an aggregated document with all configuration settings."
          }
        },
        {
          "name": "Get web client URL",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/v1/user/webclient/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "v1",
                "user",
                "webclient",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRetrieve URL to the web client to access enduser portal and web softphone."
          }
        },
        {
          "name": "Subscribe for configuration data",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/event-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/config/v1/user/:domain/:user/app-config",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "config",
                "v1",
                "user",
                ":domain",
                ":user",
                "app-config"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: Contact search\n\nProduces an SSE stream of application configuration data in application/app-config-data format."
          }
        }
      ]
    },
    {
      "name": "Buddy List",
      "item": [
        {
          "name": "Verify contact",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/buddy_list/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "buddy_list",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user whose contact list we are managing"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The contact ID of the user we want to verify is in the favourites list"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nVerify a contact is in the favourite contact list."
          }
        },
        {
          "name": "Add contact",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/buddy_list/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "buddy_list",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user whose contact list we are managing"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The contact ID of the user we want to add to the favourites list"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nAdd a contact to a user's favourites."
          }
        },
        {
          "name": "Delete contact",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/buddy_list/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "buddy_list",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user whose contact list we are managing"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The contact ID of the user we want to remove from the favourites list"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nDelete a contact from a user's favourites."
          }
        },
        {
          "name": "Update contact",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/buddy_list/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "buddy_list",
                ":domain",
                ":user"
              ],
              "query": [
                {
                  "key": "applyContactTemplates",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Set to 'true' to generate favourites based on exisiting templates on organization and group level"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user whose contact list we are managing"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nUpdate the favourites of a user based on the configured favourites templates of the organization and groups the user belongs to."
          }
        }
      ]
    },
    {
      "name": "Contacts",
      "item": [
        {
          "name": "Add contact",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/list/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "list",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API."
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact to be added to the contact list."
                }
              ]
            },
            "description": "Scope: Contact search\n\nAdd a contact to a user's contact list."
          }
        },
        {
          "name": "Delete contact",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/list/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "list",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact to be deleted"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRemove a contact from a user's contact list"
          }
        },
        {
          "name": "List contacts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/list/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "list",
                ":domain",
                ":user"
              ],
              "query": [
                {
                  "key": "query",
                  "value": "",
                  "disabled": true,
                  "description": "An optional query consisting of one or many search terms, separated with space. If provided, contacts where any word in a searchable field starts with a search term will be returned. If not stated, only user's favourites will be returned."
                },
                {
                  "key": "maxResults",
                  "value": "",
                  "disabled": true,
                  "description": "Limit the amount of results when searching with a provided filter. If omitted, a maximum of 25 matching contacts will be returned."
                },
                {
                  "key": "dontIncludeFnrs",
                  "value": "",
                  "disabled": true,
                  "description": "Exclude function numbers from the search result by providing this parameter with value 'true'. Otherwise, function numbers are included."
                },
                {
                  "key": "includeBlocked",
                  "value": "",
                  "disabled": true,
                  "description": "Include blocked external contacts in the search result by providing this parameter with value 'true'. Otherwise, blocked external contacts are not included."
                },
                {
                  "key": "includeFields",
                  "value": "",
                  "disabled": true,
                  "description": "Include directory fields of directory contacts by providing this parameter with value 'true'. Note that including fields will increase the response time. Default is false."
                },
                {
                  "key": "includeMatchInfo",
                  "value": "",
                  "disabled": true,
                  "description": "Include information on how contacts have matched the stated query by providing this parameter with value 'true'. Ignored if no query is provided. Default is false."
                },
                {
                  "key": "excludeType",
                  "value": "",
                  "disabled": true,
                  "description": "Exclude contacts of these types from the search result. If any excluded contact type is provided, dontIncludeFnrs is ignored."
                },
                {
                  "key": "searchtype",
                  "value": "",
                  "disabled": true,
                  "description": "The type of search to conduct. Default is NORMALIZED. <br/>With EXACT search: <ul><li>a string search term will match as prefix as stated</li><li>a numeric search term will either match as prefix as stated, or match a phone number in clean number form (08-334 -> 08334)</li></ul>With NORMALIZED search stated terms match as above, and also: <ul><li>a string search term can match as prefix in normalized form (Ã¥->a, Ã©->e)</li><li>a numeric search term can match a phone number in a converted form (according to number conversion rules)</li></ul>"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API."
                }
              ]
            },
            "description": "Scope: Contact search\n\nGet a list of matching contacts for a user. By default contacts are ordered alphabetically by name. The user of the API is expected to reorder them as needed."
          }
        },
        {
          "name": "Add contacts",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/list/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "list",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API."
                }
              ]
            },
            "description": "Scope: Contact search\n\nAdd multiple contacts to a user's contact list.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"query\",\n  \"contact\": [\n    {\n      \"id\": \"jack@example.com\",\n      \"firstname\": \"Jack\",\n      \"lastname\": \"Jackson\",\n      \"company\": \"Organization\",\n      \"presence\": {\n        \"futurePresenceAccess\": \"NONE\",\n        \"activityAccess\": \"NONE\",\n        \"roleAccess\": \"NONE\",\n        \"noteAccess\": \"NONE\",\n        \"role\": \"Business\",\n        \"note\": \"Vacation\",\n        \"activity\": {\n          \"id\": \"1231141551161\",\n          \"expiration\": \"NEVER\",\n          \"available\": true\n        },\n        \"capabilities\": [\n          \"MESSAGE\",\n          \"PARTIAL_COLLABORATION\",\n          \"SMS\"\n        ]\n      },\n      \"incall\": false,\n      \"inlist\": true,\n      \"type\": \"DIRECTORY\",\n      \"image\": 12,\n      \"vcard\": 113,\n      \"contactStatus\": \"FAVORITE\",\n      \"email\": \"jack.jackson@example.com\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Get contacts distribution",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/headers/v1/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "headers",
                "v1",
                ":domain",
                ":user"
              ],
              "query": [
                {
                  "key": "orderby",
                  "value": "",
                  "disabled": true,
                  "description": "The primary field for sorting the result (ascending order). Default is lastname. The other sortable field will be used as secondary sort expression."
                },
                {
                  "key": "excludeFnrs",
                  "value": "",
                  "disabled": true,
                  "description": "Exclude function numbers from the result by providing this parameter with value 'true'. Otherwise, function numbers are included."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API."
                }
              ]
            },
            "description": "Scope: Contact search\n\nGet information on alphabetic classification of all possible contacts for a user. "
          }
        },
        {
          "name": "Get a page of contacts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/page/v1/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "page",
                "v1",
                ":domain",
                ":user"
              ],
              "query": [
                {
                  "key": "index",
                  "value": "",
                  "disabled": true,
                  "description": "The index number of the first item to get. Must be a positive integer. Default is 1 (first item)."
                },
                {
                  "key": "items",
                  "value": "",
                  "disabled": true,
                  "description": "The number of items to get. Must be an integer in the range 1-200. Default is 20."
                },
                {
                  "key": "orderby",
                  "value": "",
                  "disabled": true,
                  "description": "The primary field for sorting the result (ascending order). Default is lastname. The other sortable field will be used as secondary sort expression."
                },
                {
                  "key": "excludeFnrs",
                  "value": "",
                  "disabled": true,
                  "description": "Exclude function numbers from the result by providing this parameter with value 'true'. Otherwise, function numbers are included."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API."
                }
              ]
            },
            "description": "Scope: Contact search\n\nGet a subset of all possible contacts, internal and external, for a user."
          }
        },
        {
          "name": "Lookup contact by number",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/lookup/v1/:domain/:user/:number",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "lookup",
                "v1",
                ":domain",
                ":user",
                ":number"
              ],
              "query": [
                {
                  "key": "includeType",
                  "value": "",
                  "disabled": true,
                  "description": "The type of contacts to include in the lookup. Multiple types can be stated. If not provided, <b>directory</b>, <b>external</b> and <b>number</b> are included."
                },
                {
                  "key": "maxHits",
                  "value": "",
                  "disabled": true,
                  "description": "The number of contacts to return. If not provided, default is 25 contacts."
                },
                {
                  "key": "searchType",
                  "value": "",
                  "disabled": true,
                  "description": "The type of lookup to conduct. Valid values are:<br/><b>EXACT</b> - contacts with a number that equals the provided number are included. <br/><b>NORMALIZED</b> - contacts with a number that equals the provided number, or a variant thereof (according to number conversion rules), are included.<br/>If not provided, normalized lookup is the default."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization."
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user to lookup contacts for."
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The number to lookup."
                }
              ]
            },
            "description": "Scope: Contact search\n\nLookup matching contacts for a user by number. Contacts will be looked up in federated organizations if there are no matches in the user's own organization. Exchange contacts are only searched if there are no other matches. </br>Note that the returned order of contacts is not defined. The user of the API is expected to reorder them as needed."
          }
        },
        {
          "name": "Add contact status",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/update/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "update",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Contact search\n\nAdd contact status for a user in contact list",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"contactStatus\": \"FAVORITE\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "Contacts Information V1",
      "item": [
        {
          "name": "Get presence events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/presence",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "presence"
              ],
              "query": [
                {
                  "key": "startDate",
                  "value": "",
                  "disabled": true,
                  "description": "Start date in UTC format. Eg. 2020-04-01T00:00:00Z. If startDate is not used, it will be set to now."
                },
                {
                  "key": "endDate",
                  "value": "",
                  "disabled": true,
                  "description": "End date in UTC format. Eg. 2020-05-01T00:00:00Z.<br>Max interval length between start and end date is 43 days.<br>If endDate is not used, it will be set to 24 hours from startDate."
                },
                {
                  "key": "expandRecurrence",
                  "value": "",
                  "disabled": true,
                  "description": "If set to true, the recurrence data should be expanded in the response. Default is false."
                },
                {
                  "key": "eventType",
                  "value": "",
                  "disabled": true,
                  "description": "The type of events to include in the result. Valid values are:<br> PRESENCE - Scheduled presences including synchronized presences from external calendar.<br> CALENDAR - External calendar events, both events mapped to schedule presences and other synchronized events.<br> ALL - Both schedule presences and all synchronized external calendar events.<br>If eventType is not set, it will default to PRESENCE."
                },
                {
                  "key": "cachedCalendar",
                  "value": "",
                  "disabled": true,
                  "description": "Fetch only synchronized calendar events when value is true, i.e. the response will only contain events that are within 24 hours. If cachedCalendar is not set, it will default to false."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead presence events for a directory contact in an organization, either as structure or in 'application/pidf+xml' format, see RFC3863/RFC4480/4481/RFC4482.<br>When fetching information in PIDF format, only domain and cid shall be used as input parameters."
          }
        },
        {
          "name": "Update presence (PIDF format)",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/pidf+xml"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/presence",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "presence"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nUpdate the presence state for a directory contact in an organization. The presence is provided in 'application/pidf+xml' format, see RFC3863/RFC4480/4481/RFC4482.",
            "body": {
              "mode": "raw",
              "raw": "",
              "options": {
                "raw": {
                  "language": "xml"
                }
              }
            }
          }
        },
        {
          "name": "Add scheduled presence",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/presence",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "presence"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nCreate a scheduled presence event for a directory contact in an organization.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"role\": \"business\",\n  \"note\": \"Coffee time\",\n  \"activity\": \"out_of_office\",\n  \"priority\": 0,\n  \"name\": \"Coffe break\",\n  \"source\": \"INTERNAL\",\n  \"modifiable\": true,\n  \"deleted\": false,\n  \"futurePresenceAccess\": \"WRITE\",\n  \"activityAccess\": \"WRITE\",\n  \"roleAccess\": \"WRITE\",\n  \"noteAccess\": \"WRITE\",\n  \"dt-start\": \"2021-01-10T14:30:00Z\",\n  \"dt-end\": \"2021-01-10T14:45:00Z\",\n  \"tzid\": \"Europe/Stockholm\",\n  \"recur\": {\n    \"freq\": \"WEEKLY\",\n    \"byday\": \"MO,TU,WE,TH\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Get scheduled presence",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/presence/:presenceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "presence",
                ":presenceId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                },
                {
                  "key": "presenceId",
                  "value": "",
                  "description": "The ID of the scheduled presence change"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead a specific scheduled presence for a directory contact in an organization."
          }
        },
        {
          "name": "Update scheduled presence",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/presence/:presenceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "presence",
                ":presenceId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                },
                {
                  "key": "presenceId",
                  "value": "",
                  "description": "The ID of the scheduled presence"
                }
              ]
            },
            "description": "Scope: Contact search\n\nUpdate a specific scheduled presence change for a directory contact in an organization.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"role\": \"business\",\n  \"note\": \"Daily standup\",\n  \"presenceId\": \"3\",\n  \"activity\": \"meeting\",\n  \"priority\": 0,\n  \"name\": \"Standup meeting\",\n  \"source\": \"INTERNAL\",\n  \"modifiable\": true,\n  \"deleted\": false,\n  \"futurePresenceAccess\": \"WRITE\",\n  \"activityAccess\": \"WRITE\",\n  \"roleAccess\": \"WRITE\",\n  \"noteAccess\": \"WRITE\",\n  \"dt-start\": \"2021-02-01T08:30:00Z\",\n  \"dt-end\": \"2021-02-01T09:00:00Z\",\n  \"tzid\": \"Europe/Stockholm\",\n  \"recur\": {\n    \"freq\": \"WEEKLY\",\n    \"byday\": \"MO,TU,WE,TH\"\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete scheduled presence",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/presence/:presenceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "presence",
                ":presenceId"
              ],
              "query": [
                {
                  "key": "startDate",
                  "value": "",
                  "disabled": true,
                  "description": "Delete from date in UTC format. Eg. 2020-04-01T00:00:00Z"
                },
                {
                  "key": "untilDate",
                  "value": "",
                  "disabled": true,
                  "description": "Delete to date in UTC format. Eg. 2020-05-01T00:00:00Z"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                },
                {
                  "key": "presenceId",
                  "value": "",
                  "description": "The ID of the scheduled presence"
                }
              ]
            },
            "description": "Scope: Contact search\n\nDelete a scheduled presence for a directory contact in an organization."
          }
        },
        {
          "name": "Get contact",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid"
              ],
              "query": [
                {
                  "key": "includeFields",
                  "value": "",
                  "disabled": true,
                  "description": "Whether directory fields of directory contacts should be included. Note that including fields will increase the response time. Default is false."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead information about a contact in an organization"
          }
        },
        {
          "name": "Get availability",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/available",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "available"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the availability of a directory contact in an organization."
          }
        },
        {
          "name": "Get directory fields",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/fields",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "fields"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain."
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead directory field information for a directory contact in an organization. Available fields are visible fields with a configured value, or fields that can be edited by the calling user."
          }
        },
        {
          "name": "Set directory fields",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/fields",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "fields"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain."
                }
              ]
            },
            "description": "Scope: Contact search\n\nUpdate directory fields for a directory contact. All provided fields will be updated with the requested value, so take care not to include fields that should not change.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"fields\": [\n    {\n      \"id\": \"field4\",\n      \"requestedValue\": \"+4681234499\"\n    },\n    {\n      \"id\": \"field5\",\n      \"requestedValue\": \"Sailing, skiing, hiking\"\n    },\n    {\n      \"id\": \"field8\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Get image",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/image",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "image"
              ],
              "query": [
                {
                  "key": "ver",
                  "value": "",
                  "disabled": true,
                  "description": "The image version. Not used as only the current version is maintained"
                },
                {
                  "key": "prefWidth",
                  "value": "",
                  "disabled": true,
                  "description": "Preferred width (pixels)"
                },
                {
                  "key": "prefHeight",
                  "value": "",
                  "disabled": true,
                  "description": "Preferred height (pixels)"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the image of a directory contact in an organization."
          }
        },
        {
          "name": "Get line state",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/incall",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "incall"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact, including domain. Use userid@domain to read linestate of a user, or number@domain to read linestate of a mobile subscriber."
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the line state of an accessible contact (directory contact or mobile subscriber) in an organization. Response will be 'true' if the contact is in a call."
          }
        },
        {
          "name": "Get activity",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/activity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "activity"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the current presence activity of a directory contact in an organization."
          }
        },
        {
          "name": "Get activity expiration",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/activityexpiration",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "activityexpiration"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the expiration time of the current presence activity for a directory contact in an organization."
          }
        },
        {
          "name": "Get note",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/note",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "note"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the current presence note of a directory contact in an organization."
          }
        },
        {
          "name": "Set note",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/note",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "note"
              ],
              "query": [
                {
                  "key": "note",
                  "value": "",
                  "disabled": true,
                  "description": "The note to set"
                },
                {
                  "key": "ver",
                  "value": "",
                  "disabled": true,
                  "description": "Version number (not used)"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nUpdate the current presence note of a directory contact in an organization."
          }
        },
        {
          "name": "Get role",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/role",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "role"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead the current presence role of a directory contact in an organization."
          }
        },
        {
          "name": "Get vCard",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/vcard",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "vcard"
              ],
              "query": [
                {
                  "key": "ver",
                  "value": "",
                  "disabled": true,
                  "description": "The vCard version"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact, including domain, or the phone number of the contact"
                }
              ]
            },
            "description": "Scope: Contact search\n\nRead vCard information for a contact in an organization."
          }
        },
        {
          "name": "Update vCard",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/vcard",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "vcard"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the personal contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nUpdate vCard information for a personal contact in the organization.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"Description\": {\n    \"TEL\": [\n      {\n        \"value\": \"+46812345001\",\n        \"type\": [\n          {\n            \"resource\": \"http://www.w3.org/2001/vcard-rdf/3.0#work\"\n          },\n          {\n            \"resource\": \"http://www.w3.org/2001/vcard-rdf/3.0#voice\"\n          }\n        ]\n      },\n      {\n        \"value\": \"5001\",\n        \"type\": [\n          {\n            \"resource\": \"http://www.w3.org/2001/vcard-rdf/3.0#work\"\n          },\n          {\n            \"resource\": \"http://www.w3.org/2001/vcard-rdf/3.0#voice\"\n          },\n          {\n            \"resource\": \"http://www.telepo.com/telepo-rdf/#shortnumber\"\n          }\n        ]\n      }\n    ],\n    \"group\": [\n      {\n        \"value\": \"Support\"\n      },\n      {\n        \"value\": \"Technical Support\"\n      }\n    ],\n    \"N\": {\n      \"Family\": \"Doe\",\n      \"Given\": \"John\"\n    },\n    \"ADR\": {\n      \"Country\": \"Sweden\",\n      \"Pcode\": \"Stockholm\",\n      \"Locality\": \"111 11\",\n      \"Street\": \"Example Street 1\"\n    },\n    \"EMAIL\": {\n      \"value\": \"john.doe@example.org\"\n    },\n    \"ORG\": {\n      \"Orgunit\": \"Support\",\n      \"Orgname\": \"Example Organisation\"\n    }\n  }\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List time zones",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/timezones",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                "timezones"
              ],
              "query": [
                {
                  "key": "when",
                  "value": "",
                  "disabled": true,
                  "description": "Calculate offsets for this given date Standard XML schema formatted date string in UTC format. Eg. 2021-01-01T09:00:00Z"
                },
                {
                  "key": "tzid",
                  "value": "",
                  "disabled": true,
                  "description": "Set to a time zone ID to view only that timezone. Useful when the offset for a time zone is wanted."
                }
              ]
            },
            "description": "Scope: Contact search\n\nList the supported time zone ID values and their offset values"
          }
        },
        {
          "name": "Set activity",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/activity/:activity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "activity",
                ":activity"
              ],
              "query": [
                {
                  "key": "available",
                  "value": "",
                  "disabled": true,
                  "description": "The availability to set for the activity. If not provided, the default availability of the activity will be set."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                },
                {
                  "key": "activity",
                  "value": "",
                  "description": "The presence activity to set<br>Available values can be listed by using the Configuration API."
                }
              ]
            },
            "description": "Scope: Contact search\n\nUpdate the current presence activity of a directory contact in an organization."
          }
        },
        {
          "name": "Set activity expiration",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/activityexpiration/:expires",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "activityexpiration",
                ":expires"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                },
                {
                  "key": "expires",
                  "value": "",
                  "description": "The activity expires string, or 'never' if the activity should not have an expiry time.<br>The date and time should be a string according to XMLCalendar: YYYY-MM-DDThh:mm:ss , for example: 2010-01-27T19:01:32. You can also add a time zone. The time zone is based on UTC (Z) with an offset from -14:00 to +14:00. For example, \"14:30:00-05:00\" specifies 2:30 PM in the afternoon at UTC-05:00, which is the same as EST. If a time zone is not specified, the default time zone is used."
                }
              ]
            },
            "description": "Scope: Contact search\n\nUpdate the expiration time of the current presence activity for a directory contact in an organization."
          }
        },
        {
          "name": "Set role",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/:domain/:cid/role/:role",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                ":domain",
                ":cid",
                "role",
                ":role"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                },
                {
                  "key": "role",
                  "value": "",
                  "description": "The presence role to set<br>Available values can be listed by using the Configuration API."
                }
              ]
            },
            "description": "Scope: Contact search\n\nUpdate the current presence role of a directory contact in an organization."
          }
        },
        {
          "name": "Subscribe for linestate",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/event-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/v1/:domain/:cid/incall",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                "v1",
                ":domain",
                ":cid",
                "incall"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nProduces an SSE stream of linestate events for a contact in an organization, in application/dialog-info+xml format, see RFC4235."
          }
        },
        {
          "name": "Subscribe for presence",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/event-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/contacts/v1/info/v1/:domain/:cid/presence",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "contacts",
                "v1",
                "info",
                "v1",
                ":domain",
                ":cid",
                "presence"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the directory contact, including domain"
                }
              ]
            },
            "description": "Scope: Contact search\n\nProduces an SSE stream of presence states for a directory contact in an organization, in 'application/pidf+xml' format, see RFC3863/RFC4480/4481/RFC4482."
          }
        }
      ]
    },
    {
      "name": "Personal Contacts",
      "item": [
        {
          "name": "List contacts for user",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/user/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "user",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user that owns the contacts"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user that owns the contacts"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nList all contacts for a user in the organization."
          }
        },
        {
          "name": "Create contact for user",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/user/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "user",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user that owns the contact"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user that owns the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nCreate a contact for a user in the organization.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"company\": \"MinFirma AB\",\n  \"department\": \"Rnd\",\n  \"firstname\": \"John\",\n  \"lastname\": \"Doe\",\n  \"shortname\": \"jodo\",\n  \"email\": \"info@example.com\",\n  \"street\": \"Firmagatan 1\",\n  \"city\": \"Stockholm\",\n  \"postalcode\": \"12177\",\n  \"country\": \"Sweden\",\n  \"speeddial\": 5,\n  \"showInDefaultContactList\": true,\n  \"contactStatus\": \"VIP\",\n  \"phoneNumbers\": [\n    {\n      \"type\": \"WORK\",\n      \"phoneNumber\": \"+46850654760\",\n      \"preferredNumber\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List contacts for user group",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/group/:domain/:groupId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "group",
                ":domain",
                ":groupId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user group that owns the contacts"
                },
                {
                  "key": "groupId",
                  "value": "",
                  "description": "The name of the user group that owns the contacts"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nList all contacts for a user group in the organization."
          }
        },
        {
          "name": "Create contact for user group",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/group/:domain/:groupId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "group",
                ":domain",
                ":groupId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user group that owns the contact"
                },
                {
                  "key": "groupId",
                  "value": "",
                  "description": "The name of the user group that owns the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nCreate a contact for a user group in the organization.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"company\": \"MinFirma AB\",\n  \"department\": \"Rnd\",\n  \"firstname\": \"John\",\n  \"lastname\": \"Doe\",\n  \"shortname\": \"jodo\",\n  \"email\": \"info@example.com\",\n  \"street\": \"Firmagatan 1\",\n  \"city\": \"Stockholm\",\n  \"postalcode\": \"12177\",\n  \"country\": \"Sweden\",\n  \"speeddial\": 5,\n  \"showInDefaultContactList\": true,\n  \"contactStatus\": \"VIP\",\n  \"phoneNumbers\": [\n    {\n      \"type\": \"WORK\",\n      \"phoneNumber\": \"+46850654760\",\n      \"preferredNumber\": true,\n      \"abbreviatednumber\": \"4760\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "List contacts for organization",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/org/:domain",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "org",
                ":domain"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization that owns the contacts"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nList all contacts on organization level when requested by an administrator."
          }
        },
        {
          "name": "Create contact for organization",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/org/:domain",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "org",
                ":domain"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization that owns the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nCreates contact on organization level when requested by an administrator.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"company\": \"MinFirma AB\",\n  \"department\": \"Rnd\",\n  \"firstname\": \"John\",\n  \"lastname\": \"Doe\",\n  \"shortname\": \"jodo\",\n  \"email\": \"info@example.com\",\n  \"street\": \"Firmagatan 1\",\n  \"city\": \"Stockholm\",\n  \"postalcode\": \"12177\",\n  \"country\": \"Sweden\",\n  \"speeddial\": 5,\n  \"showInDefaultContactList\": true,\n  \"contactStatus\": \"VIP\",\n  \"phoneNumbers\": [\n    {\n      \"type\": \"WORK\",\n      \"phoneNumber\": \"+46850654760\",\n      \"preferredNumber\": true,\n      \"abbreviatednumber\": \"4760\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Get contact for user",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/user/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "user",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user that owns the contact"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nRetrieve the specific contact for a user in the organization."
          }
        },
        {
          "name": "Update contact for user",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/user/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "user",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user that owns the contact"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nUpdate the specific contact for a user in the organization.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cid\": \"167271@internal\",\n  \"company\": \"MinFirma AB\",\n  \"department\": \"Support\",\n  \"firstname\": \"Bob\",\n  \"lastname\": \"Dilen\",\n  \"shortname\": \"bodi\",\n  \"email\": \"info@example.com\",\n  \"street\": \"Firmagatan 1\",\n  \"city\": \"Stockholm\",\n  \"postalcode\": \"12177\",\n  \"country\": \"Sweden\",\n  \"speeddial\": 7,\n  \"showInDefaultContactList\": true,\n  \"contactStatus\": \"FAVORITE\",\n  \"phoneNumbers\": [\n    {\n      \"type\": \"MAIN\",\n      \"phoneNumber\": \"+46890657890\",\n      \"preferredNumber\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete contact for user",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/user/:domain/:user/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "user",
                ":domain",
                ":user",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user that owns the contact"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nDelete the specific contact for a user."
          }
        },
        {
          "name": "Get contact for user group",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/group/:domain/:groupId/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "group",
                ":domain",
                ":groupId",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user group that owns the contact"
                },
                {
                  "key": "groupId",
                  "value": "",
                  "description": "The name of the user group that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nRetrieve a contact for a user group in the organization."
          }
        },
        {
          "name": "Update contact for user group",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/group/:domain/:groupId/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "group",
                ":domain",
                ":groupId",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user group that owns the contact"
                },
                {
                  "key": "groupId",
                  "value": "",
                  "description": "The name of the user group that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nUpdate the specific contact for a user group in the organization.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cid\": \"167271@internal\",\n  \"company\": \"MinFirma AB\",\n  \"department\": \"Support\",\n  \"firstname\": \"Bob\",\n  \"lastname\": \"Dilen\",\n  \"shortname\": \"bodi\",\n  \"email\": \"info@example.com\",\n  \"street\": \"Firmagatan 1\",\n  \"city\": \"Stockholm\",\n  \"postalcode\": \"12177\",\n  \"country\": \"Sweden\",\n  \"speeddial\": 7,\n  \"showInDefaultContactList\": true,\n  \"contactStatus\": \"FAVORITE\",\n  \"phoneNumbers\": [\n    {\n      \"type\": \"MAIN\",\n      \"phoneNumber\": \"+46890657890\",\n      \"preferredNumber\": true,\n      \"abbreviatednumber\": \"7890\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete contact for user group",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/group/:domain/:groupId/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "group",
                ":domain",
                ":groupId",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user group that owns the contact"
                },
                {
                  "key": "groupId",
                  "value": "",
                  "description": "The name of the user group that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nDelete the specific contact for a user group in the organization."
          }
        },
        {
          "name": "Get contact for organization",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/org/:domain/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "org",
                ":domain",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nRetrieve the specific contact on the organization level when requested by an administrator."
          }
        },
        {
          "name": "Update contact for organization",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/org/:domain/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "org",
                ":domain",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nUpdate the specific contact on organization level when requested by an administrator.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"cid\": \"167271@internal\",\n  \"company\": \"MinFirma AB\",\n  \"department\": \"Support\",\n  \"firstname\": \"Bob\",\n  \"lastname\": \"Dilen\",\n  \"shortname\": \"bodi\",\n  \"email\": \"info@example.com\",\n  \"street\": \"Firmagatan 1\",\n  \"city\": \"Stockholm\",\n  \"postalcode\": \"12177\",\n  \"country\": \"Sweden\",\n  \"speeddial\": 7,\n  \"showInDefaultContactList\": true,\n  \"contactStatus\": \"FAVORITE\",\n  \"phoneNumbers\": [\n    {\n      \"type\": \"MAIN\",\n      \"phoneNumber\": \"+46890657890\",\n      \"preferredNumber\": true,\n      \"abbreviatednumber\": \"7890\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete contact for organization",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/org/:domain/:cid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "org",
                ":domain",
                ":cid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization that owns the contact"
                },
                {
                  "key": "cid",
                  "value": "",
                  "description": "The ID of the contact"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nDelete the specific contact on organization level when requested by an administrator."
          }
        },
        {
          "name": "Get localized phone labels",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/personal_contacts/phone_labels/:domain",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "personal_contacts",
                "phone_labels",
                ":domain"
              ],
              "query": [
                {
                  "key": "locale",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The locale to be translated to"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                }
              ]
            },
            "description": "Scope: Personal contacts\n\nRetrieve localized phone labels."
          }
        }
      ]
    },
    {
      "name": "User Device Information",
      "item": [
        {
          "name": "Unregister device updates webhook",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/monitor/:domain/:userId/:targetId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "monitor",
                ":domain",
                ":userId",
                ":targetId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                },
                {
                  "key": "targetId",
                  "value": "",
                  "description": "The unique id of the webhook that should be unregistered"
                }
              ]
            },
            "description": "Scope: User info\n\nUnregister an existing webhook registered for the user."
          }
        },
        {
          "name": "Get user device",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/details/:domain/:userId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "details",
                ":domain",
                ":userId",
                ":deviceId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device ID"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve detailed information about a certain user device. The returned document contains a list of attributes providing detailed information about the user's device."
          }
        },
        {
          "name": "Get user device icon name",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/icon/:domain/:userId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "icon",
                ":domain",
                ":userId",
                ":deviceId"
              ],
              "query": [
                {
                  "key": "fallback",
                  "value": "",
                  "disabled": true,
                  "description": "If true, the default icon name will be returned if no name is configured"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device ID"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve display icon name for a certain user device. If no icon has been configured for the device, the default icon of the type of the device is returned."
          }
        },
        {
          "name": "Update user device icon name",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/icon/:domain/:userId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "icon",
                ":domain",
                ":userId",
                ":deviceId"
              ],
              "query": [
                {
                  "key": "name",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The display icon name of the device to be updated"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device ID"
                }
              ]
            },
            "description": "Scope: User info\n\nSet or Update the display icon name for a certain user device. The icon name must correspond to the type of the device."
          }
        },
        {
          "name": "List all user devices",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/list/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "list",
                ":domain",
                ":userId"
              ],
              "query": [
                {
                  "key": "type",
                  "value": "",
                  "disabled": true,
                  "description": "The type of devices to fetch. If not stated, all device types are retrieved."
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve a list with all the user's devices. The returned document contains a list with information on all the user's devices. If there are no devices, an empty document is returned."
          }
        },
        {
          "name": "Get user device name",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/name/:domain/:userId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "name",
                ":domain",
                ":userId",
                ":deviceId"
              ],
              "query": [
                {
                  "key": "fallback",
                  "value": "",
                  "disabled": true,
                  "description": "If true, the default name will be returned if no name is configured"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device ID"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve display name of certain user device."
          }
        },
        {
          "name": "Update user device name",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/name/:domain/:userId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "name",
                ":domain",
                ":userId",
                ":deviceId"
              ],
              "query": [
                {
                  "key": "name",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The display name of the device to be updated (max 32 characters)"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device ID"
                }
              ]
            },
            "description": "Scope: User info\n\nSet or Update the display name of a certain user device."
          }
        },
        {
          "name": "List active user devices",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/shortlist/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "shortlist",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve a compact list with all the user's active devices. The returned document contains all the user's devices that are not known to be currently unreachable. If there are no active devices, an empty document is returned."
          }
        },
        {
          "name": "Register device updates webhook",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/monitor/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "monitor",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nRegister a webhook where notifications when there are any changes in the user's device set.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"targetUrl\": \"https://example.com/callback?id=34ff\",\n  \"targetId\": \"434356\",\n  \"publicTarget\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Revoke user device",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/revoke/:domain/:userId/:deviceId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                "revoke",
                ":domain",
                ":userId",
                ":deviceId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "deviceId",
                  "value": "",
                  "description": "The device ID"
                }
              ]
            },
            "description": "Scope: User info\n\nRevoke the installation of a device."
          }
        },
        {
          "name": "Subscribe for user devices updates",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "text/event-stream"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/device/info/v1/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "device",
                "info",
                "v1",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id"
                }
              ]
            },
            "description": "Scope: User info\n\nSubscribe for update events when there are any changes in the users device set. Subscription data is in application/app-config-data format."
          }
        }
      ]
    },
    {
      "name": "Event",
      "item": [
        {
          "name": "Get event",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId/:eventId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId",
                ":eventId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "eventId",
                  "value": "",
                  "description": "Event id to fetch an event"
                }
              ]
            },
            "description": "Scope: Call setup\n\nFetch a specified event."
          }
        },
        {
          "name": "Update event",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId/:eventId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId",
                ":eventId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "eventId",
                  "value": "",
                  "description": "Event id to update an event"
                }
              ]
            },
            "description": "Scope: Call setup\n\nUpdate an event.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 1,\n  \"dateTimeStart\": \"2026-03-08T15:38:39Z\",\n  \"dateTimeEnd\": \"2026-03-08T16:38:39Z\",\n  \"name\": \"Test meeting\",\n  \"organizer\": {\n    \"id\": \"alice@abc.com\",\n    \"firstName\": \"Alice\",\n    \"lastName\": \"Test\",\n    \"email\": \"alice@abc.com\",\n    \"businessPhone\": \"+123402\",\n    \"mobilePhone\": \"+46767676195\"\n  },\n  \"participants\": [\n    {\n      \"id\": \"bob@abc.com\",\n      \"firstName\": \"Bob\",\n      \"lastName\": \"Test\",\n      \"email\": \"bob@abc.com\",\n      \"businessPhone\": \"+123403\",\n      \"mobilePhone\": \"+46767676194\"\n    }\n  ],\n  \"minutesBeforeMeetingReminder\": 15,\n  \"minutesBeforeMeetingSMS\": 15,\n  \"timeZone\": \"Europe/Stockholm\",\n  \"recurringType\": \"DAILY\",\n  \"note\": \"Test meeting ongoing\",\n  \"interval\": 1,\n  \"recurrenceRangeType\": \"NONE\",\n  \"weekPosition\": \"NONE\",\n  \"synchronizedMeeting\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete event",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId/:eventId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId",
                ":eventId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "eventId",
                  "value": "",
                  "description": "Event id to delete an event"
                }
              ]
            },
            "description": "Scope: Call setup\n\nRemove a specified event."
          }
        },
        {
          "name": "Get instance",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/exception/:domain/:userId/:confId/:eventDate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                "exception",
                ":domain",
                ":userId",
                ":confId",
                ":eventDate"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "confId",
                  "value": "",
                  "description": "Event id to fetch an occurrence or exception"
                },
                {
                  "key": "eventDate",
                  "value": "",
                  "description": "The date of the event instance in 'yyyy-MM-dd' format"
                }
              ]
            },
            "description": "Scope: Call setup\n\nGet the details of a single occurrence or exception from a recurring event."
          }
        },
        {
          "name": "Update instance",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/exception/:domain/:userId/:confId/:eventDate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                "exception",
                ":domain",
                ":userId",
                ":confId",
                ":eventDate"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "confId",
                  "value": "",
                  "description": "Event id to update an event occurrence or exception"
                },
                {
                  "key": "eventDate",
                  "value": "",
                  "description": "The date of the event instance in 'yyyy-MM-dd' format"
                }
              ]
            },
            "description": "Scope: Call setup\n\nModify a single event occurrence or an exception from a recurring event.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": 1,\n  \"dateTimeStart\": \"2023-11-25T12:38:39Z\",\n  \"dateTimeEnd\": \"2023-11-25T13:38:39Z\",\n  \"name\": \"Test meeting update\",\n  \"note\": \"Test meeting instance\",\n  \"isUpdated\": true,\n  \"isCancelled\": false,\n  \"eventId\": 1,\n  \"organizer\": {\n    \"id\": \"alice@abc.com\",\n    \"firstName\": \"Alice\",\n    \"lastName\": \"Test\",\n    \"email\": \"alice@abc.com\",\n    \"businessPhone\": \"+123402\",\n    \"mobilePhone\": \"+46767676195\"\n  },\n  \"participants\": [\n    {\n      \"id\": \"bob@abc.com\",\n      \"firstName\": \"Bob\",\n      \"lastName\": \"Test\",\n      \"email\": \"bob@abc.com\",\n      \"businessPhone\": \"+123403\",\n      \"mobilePhone\": \"+46767676194\"\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete instance",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/exception/:domain/:userId/:confId/:eventDate",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                "exception",
                ":domain",
                ":userId",
                ":confId",
                ":eventDate"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "confId",
                  "value": "",
                  "description": "Event id to delete an event occurrence or exception"
                },
                {
                  "key": "eventDate",
                  "value": "",
                  "description": "The date of the event instance in 'yyyy-MM-dd' format"
                }
              ]
            },
            "description": "Scope: Call setup\n\nRemove a single event occurrence or an exception from a recurring event."
          }
        },
        {
          "name": "Fetches a ticket for interacting with the conference call via the CTI API.",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/ctiticket/:domain/:userId/:confId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                "ctiticket",
                ":domain",
                ":userId",
                ":confId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "Organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "User Identification"
                },
                {
                  "key": "confId",
                  "value": "",
                  "description": "Event Identification"
                }
              ]
            },
            "description": "Fetches a ticket for interacting with the conference call via the CTI API."
          }
        },
        {
          "name": "Get conference numbers",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId/dialInNumbers",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId",
                "dialInNumbers"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                }
              ]
            },
            "description": "Scope: Call setup\n\nGet available conference numbers for dialling in."
          }
        },
        {
          "name": "Get events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                }
              ]
            },
            "description": "Scope: Call setup\n\nFetch events for a specified user, where the user is either the organizer or a participant."
          }
        },
        {
          "name": "Create event",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                }
              ]
            },
            "description": "Scope: Call setup\n\nSchedule a new event.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"dateTimeStart\": \"2026-03-08T15:38:39Z\",\n  \"dateTimeEnd\": \"2026-03-08T16:38:39Z\",\n  \"name\": \"Test meeting\",\n  \"organizer\": {\n    \"id\": \"alice@abc.com\",\n    \"firstName\": \"Alice\",\n    \"lastName\": \"Test\",\n    \"email\": \"alice@abc.com\",\n    \"businessPhone\": \"+123402\",\n    \"mobilePhone\": \"+46767676195\"\n  },\n  \"participants\": [\n    {\n      \"id\": \"bob@abc.com\",\n      \"firstName\": \"Bob\",\n      \"lastName\": \"Test\",\n      \"email\": \"bob@abc.com\",\n      \"businessPhone\": \"+123403\",\n      \"mobilePhone\": \"+46767676194\"\n    }\n  ],\n  \"minutesBeforeMeetingReminder\": 15,\n  \"minutesBeforeMeetingSMS\": 15,\n  \"timeZone\": \"Europe/Stockholm\",\n  \"recurringType\": \"DAILY\",\n  \"note\": \"Test meeting ongoing\",\n  \"interval\": 1,\n  \"recurrenceRangeType\": \"NONE\",\n  \"weekPosition\": \"NONE\",\n  \"synchronizedMeeting\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Get first workday",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId/firstDayOfWeek",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId",
                "firstDayOfWeek"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                }
              ]
            },
            "description": "Scope: Call setup\n\nFetches the first work day of week for given user/domain."
          }
        },
        {
          "name": "Join conference",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId/:eventId/join",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId",
                ":eventId",
                "join"
              ],
              "query": [
                {
                  "key": "answerPlace",
                  "value": "",
                  "disabled": true,
                  "description": "The register user device name"
                },
                {
                  "key": "sipInstance",
                  "value": "",
                  "disabled": true,
                  "description": "Instance Id (sipInstance) of the user agent"
                },
                {
                  "key": "autoAnswer",
                  "value": "",
                  "disabled": true,
                  "description": "Auto answer on user device"
                },
                {
                  "key": "selectedDeviceID",
                  "value": "",
                  "disabled": true,
                  "description": "The Device ID of the user agent"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "eventId",
                  "value": "",
                  "description": "Event id to join a conference"
                }
              ]
            },
            "description": "Scope: Call setup\n\nJoin conference call on user's answer place."
          }
        },
        {
          "name": "Enhanced conference enabled status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/supported/:domain",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                "supported",
                ":domain"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                }
              ]
            },
            "description": "Scope: Call setup\n\nReturns true if the organization is using enhanced conferencing, false otherwise."
          }
        },
        {
          "name": "Leave conference",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/event/v1/:domain/:userId/:eventId/leave",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "event",
                "v1",
                ":domain",
                ":userId",
                ":eventId",
                "leave"
              ],
              "query": [
                {
                  "key": "answerPlace",
                  "value": "",
                  "disabled": true,
                  "description": "The register user device name"
                },
                {
                  "key": "sipInstance",
                  "value": "",
                  "disabled": true,
                  "description": "Instance Id (sipInstance) of the user agent"
                },
                {
                  "key": "selectedDeviceID",
                  "value": "",
                  "disabled": true,
                  "description": "The Device ID of the user agent"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                },
                {
                  "key": "eventId",
                  "value": "",
                  "description": "Event id to leave a conference"
                }
              ]
            },
            "description": "Scope: Call setup\n\nHangs up conference call on user's answer place."
          }
        }
      ]
    },
    {
      "name": "Line State",
      "item": [
        {
          "name": "Get line state",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/linestate/v1/:domain/:userId/:externalId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "linestate",
                "v1",
                ":domain",
                ":userId",
                ":externalId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "externalId",
                  "value": "",
                  "description": "The external ID"
                }
              ]
            },
            "description": "Scope: Line state\n\nFetches a specific line state for a user."
          }
        },
        {
          "name": "Update line state",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/linestate/v1/:domain/:userId/:externalId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "linestate",
                "v1",
                ":domain",
                ":userId",
                ":externalId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "externalId",
                  "value": "",
                  "description": "The external ID"
                }
              ]
            },
            "description": "Scope: Line state\n\nUpdates a line state for a user and external ID. If there is no current line state, it will be created."
          }
        },
        {
          "name": "Create line state",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/linestate/v1/:domain/:userId/:externalId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "linestate",
                "v1",
                ":domain",
                ":userId",
                ":externalId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "externalId",
                  "value": "",
                  "description": "The external ID"
                }
              ]
            },
            "description": "Scope: Line state\n\nCreates a line state for a user and external id. If the line state already exists, it will be updated."
          }
        },
        {
          "name": "Delete line state",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/linestate/v1/:domain/:userId/:externalId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "linestate",
                "v1",
                ":domain",
                ":userId",
                ":externalId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization the user belongs to"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user ID"
                },
                {
                  "key": "externalId",
                  "value": "",
                  "description": "The external ID"
                }
              ]
            },
            "description": "Scope: Line state\n\nRemoves a specific line state for a user.<br>Type of call is not considered, i.e. eventual resting time for an agent will not be taken into account when removing the line state."
          }
        }
      ]
    },
    {
      "name": "Mobile Subscribers",
      "item": [
        {
          "name": "Get caller ID settings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/mobileSubscriber/:domain/:number/fullcallerid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "mobileSubscriber",
                ":domain",
                ":number",
                "fullcallerid"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The mobile number of the subscriber"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve the full caller ID setting for incoming calls to a subscriber's mobile."
          }
        },
        {
          "name": "Update caller ID setting",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/mobileSubscriber/:domain/:number/fullcallerid",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "mobileSubscriber",
                ":domain",
                ":number",
                "fullcallerid"
              ],
              "query": [
                {
                  "key": "enable",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicate if integration should be enabled or disabled"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The mobile number of the subscriber"
                }
              ]
            },
            "description": "Scope: User info\n\nUpdate the full caller ID setting for incoming calls to a subscriber's mobile."
          }
        },
        {
          "name": "Get number presentation setting",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/mobileSubscriber/:domain/:number/numberpresentation",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "mobileSubscriber",
                ":domain",
                ":number",
                "numberpresentation"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The mobile number of the subscriber"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve the number presentation setting of a mobile subscriber."
          }
        },
        {
          "name": "Update number presentation setting",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/mobileSubscriber/:domain/:number/numberpresentation",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "mobileSubscriber",
                ":domain",
                ":number",
                "numberpresentation"
              ],
              "query": [
                {
                  "key": "value",
                  "value": "",
                  "disabled": false,
                  "description": "Required. The number presentation setting. The parameter can have 4 different values;<br>0: Use fixed number and short number internally<br>1: Use mobile number and short number internally<br>2: Always use fixed number<br>3: Always use mobile number"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The mobile number of the subscriber"
                }
              ]
            },
            "description": "Scope: User info\n\nUpdate the number presentation of a mobile subscriber."
          }
        },
        {
          "name": "Get PBX integration setting",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/mobileSubscriber/:domain/:number/pbxintegration",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "mobileSubscriber",
                ":domain",
                ":number",
                "pbxintegration"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The mobile number of the subscriber"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve the PBX integration setting of a mobile subscriber."
          }
        },
        {
          "name": "Update PBX integration setting",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/mobileSubscriber/:domain/:number/pbxintegration",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "mobileSubscriber",
                ":domain",
                ":number",
                "pbxintegration"
              ],
              "query": [
                {
                  "key": "enable",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicate if integration should be enabled or disabled"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The mobile number of the subscriber"
                }
              ]
            },
            "description": "Scope: User info\n\nUpdate the PBX integration of a mobile subscriber."
          }
        },
        {
          "name": "Get route to PBX setting",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/mobileSubscriber/:domain/:number/routetopbx",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "mobileSubscriber",
                ":domain",
                ":number",
                "routetopbx"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The mobile number of the subscriber"
                }
              ]
            },
            "description": "Scope: User info\n\nRetrieve the route to PBX setting of a mobile subscriber."
          }
        },
        {
          "name": "Update route to PBX setting",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/mobileSubscriber/:domain/:number/routetopbx",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "mobileSubscriber",
                ":domain",
                ":number",
                "routetopbx"
              ],
              "query": [
                {
                  "key": "enable",
                  "value": "",
                  "disabled": false,
                  "description": "Required. Indicate if route to PBX should be enabled or disabled"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "number",
                  "value": "",
                  "description": "The mobile number of the subscriber"
                }
              ]
            },
            "description": "Scope: User info\n\nUpdate the Route to PBX setting of a mobile subscriber."
          }
        }
      ]
    },
    {
      "name": "Presence Shortcuts",
      "item": [
        {
          "name": "Read a presence shortcut",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/presence/shortcut/:domain/:user/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "presence",
                "shortcut",
                ":domain",
                ":user",
                ":id"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "id",
                  "value": "",
                  "description": "The ID of the presence shortcut that should be read"
                }
              ]
            },
            "description": "Scope: User info\n\nRead a specific presence shortcut for the user."
          }
        },
        {
          "name": "Update a presence shortcut",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/presence/shortcut/:domain/:user/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "presence",
                "shortcut",
                ":domain",
                ":user",
                ":id"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "id",
                  "value": "",
                  "description": "The ID of the presence shortcut that should be updated"
                }
              ]
            },
            "description": "Scope: User info\n\nUpdate a specific presence shortcut for a user. A new shortcut will be created if it does not already exist.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"id\": \"yyrn333ffFFs2\",\n  \"name\": \"Short lunch break\",\n  \"activityId\": \"lunch\",\n  \"available\": false,\n  \"durationType\": \"MINUTES\",\n  \"durationMinutes\": 45,\n  \"order\": 4,\n  \"imageId\": \"ic_shortcut_pizza\",\n  \"diversionPhoneNumber\": \"+45552641\",\n  \"applyDiversionNumber\": true\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete a presence shortcut",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/presence/shortcut/:domain/:user/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "presence",
                "shortcut",
                ":domain",
                ":user",
                ":id"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                },
                {
                  "key": "id",
                  "value": "",
                  "description": "The ID of the presence shortcut that should be deleted"
                }
              ]
            },
            "description": "Scope: User info\n\nDelete a specific presence shortcut for a user."
          }
        },
        {
          "name": "List presence shortcuts",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/presence/shortcut/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "presence",
                "shortcut",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: User info\n\nRead all presence shortcuts for a user."
          }
        },
        {
          "name": "Update presence shortcuts",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/presence/shortcut/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "presence",
                "shortcut",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: User info\n\nUpdate all presence shortcuts for a user. Any existing presence shortcut for the user will be overwritten by this list.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"presenceShortcut\": [\n    {\n      \"id\": \"yyrn333ffFFs2\",\n      \"name\": \"Short lunch break\",\n      \"activityId\": \"lunch\",\n      \"available\": false,\n      \"durationType\": \"MINUTES\",\n      \"durationMinutes\": 45,\n      \"order\": 4,\n      \"imageId\": \"ic_shortcut_pizza\",\n      \"diversionPhoneNumber\": \"+45552641\",\n      \"applyDiversionNumber\": true\n    }\n  ]\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Delete presence shortcuts",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/presence/shortcut/:domain/:user",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "presence",
                "shortcut",
                ":domain",
                ":user"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user accessing the API"
                }
              ]
            },
            "description": "Scope: User info\n\nDelete all presence shortcuts for a user."
          }
        }
      ]
    },
    {
      "name": "User SMS",
      "item": [
        {
          "name": "Send SMS",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/sms/:to",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "sms",
                ":to"
              ],
              "variable": [
                {
                  "key": "to",
                  "value": "",
                  "description": "The the number to send to. This number will be expanded according to the sending user's number plan. For example, if the user's organization has a number plan conversion of 08 -> +468, the user can send to 0890510 and the SMS will be routed to +46890510."
                }
              ]
            },
            "description": "Scope: User info\n\nAn end-user with authorized ticket could send SMS to recipient.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"smsText\": \"Everythingâs going to be amazing\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        }
      ]
    },
    {
      "name": "User Information",
      "item": [
        {
          "name": "Get photo",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "image/jpeg"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/photo",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "photo"
              ],
              "query": [
                {
                  "key": "prefWidth",
                  "value": "",
                  "disabled": true,
                  "description": "The preferred width of the photo"
                },
                {
                  "key": "prefHeight",
                  "value": "",
                  "disabled": true,
                  "description": "The preferred height of the photo"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nGet the photo associated with a user."
          }
        },
        {
          "name": "Upload photo",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/photo",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "photo"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nUpload a photo to be associated with a user. Both PUT and POST methods are accepted for this operation. <br>The photo shall be added in the HTTP body."
          }
        },
        {
          "name": "Delete photo",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/photo",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "photo"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nDelete photo associated with the user."
          }
        },
        {
          "name": "Get presence state",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/presence",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "presence"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user accessing the API"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user accessing the API"
                }
              ]
            },
            "description": "Scope: User info\n\nGet the presence state for the accessing user."
          }
        },
        {
          "name": "Update presence state",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/presence",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "presence"
              ],
              "query": [
                {
                  "key": "updateMode",
                  "value": "",
                  "disabled": true,
                  "description": "How the presence items note, role and activity should be updated. Valid values are: <BR/>CHANGE - will update only items that are stated and changed<BR/>CLEAR - will update items that are changed, items not stated will be cleared or reset to default<BR/>OVERRIDE - will update all items, items not stated will be cleared or reset to default<BR/>If not provided, CHANGE is the default mode. "
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user to be updated"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user to be updated"
                }
              ]
            },
            "description": "Scope: User info\n\nUpdate the presence state of a user.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"note\": \"Presenting at the conference\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Get activity",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/activity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "activity"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nGet the ID of the user's current activity."
          }
        },
        {
          "name": "Get activity end-time",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/activityexpiration",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "activityexpiration"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nGet end-time of the user's current activity. Returns 'never' if no end-time is set."
          }
        },
        {
          "name": "Get availability state",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/available",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "available"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nGet the availability state for the user. The operation returns \"true\" if the user is available, and \"false\" otherwise."
          }
        },
        {
          "name": "Get presence note",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/note",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "note"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nGet presence note of a user."
          }
        },
        {
          "name": "Get role",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/role",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "role"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                }
              ]
            },
            "description": "Scope: User info\n\nGet the role of a user."
          }
        },
        {
          "name": "Set activity",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/activity/:activity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "activity",
                ":activity"
              ],
              "query": [
                {
                  "key": "available",
                  "value": "",
                  "disabled": true,
                  "description": "The new availability of the user"
                }
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                },
                {
                  "key": "activity",
                  "value": "",
                  "description": "The new activity ID"
                }
              ]
            },
            "description": "Scope: User info\n\nSet the activity of the user."
          }
        },
        {
          "name": "Set activity end-time",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/activityexpiration/:expires",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "activityexpiration",
                ":expires"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                },
                {
                  "key": "expires",
                  "value": "",
                  "description": "The activity end-time in ISO-8601 format, or 'never' if the activity should not have an expiry time"
                }
              ]
            },
            "description": "Scope: User info\n\nSet a user's current activity's end-time."
          }
        },
        {
          "name": "Set presence note",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/note/:note",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "note",
                ":note"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                },
                {
                  "key": "note",
                  "value": "",
                  "description": "The new note"
                }
              ]
            },
            "description": "Scope: User info\n\nSet the presence note for a user."
          }
        },
        {
          "name": "Set role",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "*/*"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/user/info/:domain/:user/role/:role",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "user",
                "info",
                ":domain",
                ":user",
                "role",
                ":role"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The user ID of the user"
                },
                {
                  "key": "role",
                  "value": "",
                  "description": "The new role"
                }
              ]
            },
            "description": "Set the role of a user."
          }
        }
      ]
    },
    {
      "name": "Tickets",
      "item": [
        {
          "name": "Delete user ticket",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/tickets/v1/:domain/:user/:ticketName",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "tickets",
                "v1",
                ":domain",
                ":user",
                ":ticketName"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the user of the API ticket to delete"
                },
                {
                  "key": "user",
                  "value": "{{user}}",
                  "description": "The username of the user of the API ticket to delete"
                },
                {
                  "key": "ticketName",
                  "value": "",
                  "description": "The user defined name of the ticket to delete"
                }
              ]
            },
            "description": "Removes a user API ticket with the provided name. Users can delete only the ticket used to make the request."
          }
        }
      ]
    },
    {
      "name": "Voicemail Settings",
      "item": [
        {
          "name": "Get user settings",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/voicemailsettings/v1/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "voicemailsettings",
                "v1",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The domain of the organization"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                }
              ]
            },
            "description": "Scope: Voicemail settings\n\nRetrieve voicemail settings for a user."
          }
        },
        {
          "name": "Update user settings",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/voicemailsettings/v1/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "voicemailsettings",
                "v1",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                }
              ]
            },
            "description": "Scope: Voicemail settings\n\nUpdate voicemail settings for a user.",
            "body": {
              "mode": "raw",
              "raw": "{\n  \"playActivity\": true,\n  \"playMergedUnavailableEndTime\": false,\n  \"playHumanAssistance\": true,\n  \"humanAssistanceNumber\": \"+4676767676\",\n  \"smsNotification\": false,\n  \"emailNotification\": true,\n  \"fileAttached\": false,\n  \"voicemailInboxFullSmsNotification\": false,\n  \"voicemailInboxFullEmailNotification\": true,\n  \"allowDownload\": true,\n  \"allowVoicemail\": true,\n  \"bypassVoicemail\": false,\n  \"voicemailCallbackEnabled\": false\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            }
          }
        },
        {
          "name": "Reset user settings",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "Accept",
                "value": "application/json"
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/voicemailsettings/v1/userreset/:domain/:userId",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "voicemailsettings",
                "v1",
                "userreset",
                ":domain",
                ":userId"
              ],
              "variable": [
                {
                  "key": "domain",
                  "value": "{{domain}}",
                  "description": "The organization domain"
                },
                {
                  "key": "userId",
                  "value": "{{user}}",
                  "description": "The user id of the user"
                }
              ]
            },
            "description": "Scope: Voicemail settings\n\nReset voicemail settings for a user."
          }
        }
      ]
    }
  ],
  "variable": [
    {
      "key": "baseUrl",
      "value": "",
      "type": "string"
    },
    {
      "key": "domain",
      "value": "",
      "type": "string"
    },
    {
      "key": "user",
      "value": "",
      "type": "string"
    },
    {
      "key": "user_password",
      "value": "",
      "type": "string"
    },
    {
      "key": "ticket",
      "value": "",
      "type": "string"
    }
  ]
}